emilkowalski/skills

learn-taste

Turn a session's design corrections into rules, with their why, in DESIGN.md, a project skill, or a lint check.

  • SKILL.md 已保存
  • 英文来源资料
  • 安装与运行未实测
先判断是否解决你的问题

learn-taste 是什么?

Turn a session's design corrections into rules, with their why, in DESIGN.md, a project skill, or a lint check.

以上为来源原文,中文用途说明尚待整理。

按客户端选择安装入口

怎么接入你的 Agent?

  1. 定位完整 Skill 目录

    打开本项目来源,核对 SKILL.md 及其引用的脚本和资料。

  2. 交给你正在用的 Agent

    在下面选择客户端,展开并复制安装指令,让 Agent 读取来源后选择安装方式。

  3. 确认识别,再做具体任务

    让 Agent 回报安装目录和识别到的名称 learn-taste,然后告诉 Agent 你的任务和实际输入,让它先核对触发条件。

展开并复制给 Codex 的安装指令
发送给 Codex

安装并检查 learn-taste

请在 Codex 的当前工作环境中安装并检查 learn-taste 这个 Skill。

项目身份:emilkowalski/skills / learn-taste
来源:https://github.com/emilkowalski/skills/blob/64eb3deb9a5fbfa041faf783e0bc3fd635872e9c/skills/learn-taste/SKILL.md
已定位的源文件:skills/learn-taste/SKILL.md

1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。
需要核对时再展开原文

来源原文与资料状态

源文件
已保存 SKILL.md,抓取于 2026-11-19T19:32:10.677Z
中文使用说明
尚待整理,保留英文来源内容
安装与任务测试
本站未执行安装或任务测试
来源复核
已保留来源记录;当前完整用法未逐项人工复核
展开 SKILL.md 原文、章节与历史收录资料

skills/learn-taste/SKILL.md · 抓取时间 2026-11-19T19:32:10.677Z

以下保留源文件的 description、章节及摘录,供核对中文说明;完整文件通过上方链接打开。

抓取成功不代表已完成安装或任务测试。

来源 description(原文)

Turn a session's design corrections into rules, with their why, in DESIGN.md, a project skill, or a lint check.

查看源文件章节 / Source sections
  • 原文:Learning Taste
  • 原文:Hard Rules
  • 工作流程 / Workflow
  • 原文:Phase 1: Collect corrections
  • 原文:Phase 2: Filter
  • 原文:Phase 3: Generalize and find the why
  • 原文:Phase 4: Decide where it goes
  • 原文:Phase 5: Report and stop
  • 原文:Phase 6: Write on approval
  • 原文:Required Output Format
  • 原文:Rules to add
  • 原文:Needs your answer
  • 原文:Conflicts
  • 原文:Make it a check
  • 原文:Skipped
  • 原文:Invocation Variants
原文:Learning Taste

Every correction a user makes is taste the agent didn't have. If it isn't written down, the next session makes the same mistake and the user corrects it again. This skill finds those corrections, turns each one into a rule with its reason, and writes it where the next agent will read it. It does ONE thing: write rules. It never changes component code, and it never adds a rule the user didn't express.

原文:Hard Rules

1. **Only the user's taste.** Every rule traces back to something the user said, edited, or confirmed. Never add a rule because it seems like good practice. That's your taste, and your taste is what the user was correcting. 2. **Never invent a why.** If the user gave no reason, propose one marked *inferred* and get it confirmed before writing. A wrong why is worse than none: the next agent extends the reasoning to cases it doesn't fit. 3. **Propose, then stop.** Present every candidate and write only what the user approves. A wrong rule repeats in every future session, exactly like the mistake would have. 4. **A check beats a sentence.** If a violation can be found by matching code (a banned value, a raw hex instead of a token, a forbidden property), propose a lint rule, a token restriction, or a test. A check runs every time. A sentence in a long file gets skipped when the agent's context is full. 5. **Write for an agent that wasn't here.** No "like we discussed" or "the card from earlier". Name the class of component, the value, the token, the file.

原文:Phase 1: Collect corrections

Read the current conversation from the first turn. If the user names earlier sessions and you can read their transcripts (Claude Code stores them as JSONL under `~/.claude/projects/<project>/`), read those too. Explicit corrections are the minority. Look for all five signals: | Signal | Example | What it tells you | | --- | --- | --- | | Explicit correction | "No, semi-transparent shadow, not a border" | The rule, often with the why | | Silent edit | User changed `duration: 400` to `200` in a file you wrote | Your default was wrong and their value is the rule. Find these through notices that a file changed outside your edits, or by diffing a file against what you last wrote | | Repeated nudge | "Smaller." → "Still too big." → "Ok" | Your default was off by the total distance. Record where they landed, not the steps | | Revert or rejection | "Undo that", picking variant B over A, deleting something you added | What not to do. The why is usually missing, so it goes to Phase 3's questions | | Confirmed non-obvious choice | "Yes, keep the icon outside the button" | A choice a fresh agent might not repeat. Record it only if a fresh agent would plausibly do otherwise | For each one, capture the user's exact words (or the diff), what you had done, what they wanted instead, and any reason they gave. Skip what isn't taste: functional bugs, content specific to one screen ("the headline should say Pricing"), and corrections to your understanding of the task. **Completion criterion:** every turn has been read, and every correction is listed with its source quote or diff.

原文:Phase 2: Filter

Walk every correction through this tree: ``` Would a fresh agent building a DIFFERENT component in this repo make the same mistake? ├── No (a one-off: this campaign's color, this page's layout) → Skipped └── Yes ├── Does an existing rule cover it? Check DESIGN.md, CLAUDE.md / AGENTS.md, project skills. │ ├── Yes, and it says the same thing → The rule failed. Rewrite it stricter │ │ (a number, a token, "never") instead of adding a duplicate. │ ├── Yes, and it contradicts → Conflict. Show both; the user picks. │ └── No → continue ├── Can a violation be found by matching code? → Check candidate. │ Keep a one-line rule too, so the why is recorded somewhere. └── Did the user say it applies everywhere, not just here? → Ask where their global rules live. Otherwise it's a project rule. ``` **Completion criterion:** every Phase 1 correction ends as Skipped, Rewrite, Conflict, Check candidate, or a rule to generalize.

原文:Phase 3: Generalize and find the why

Pick the narrowest level that would have prevented the mistake on the next, different component: | Level | Example | Verdict | | --- | --- | --- | | Instance | "The pricing card gets a shadow, not a border" | Too narrow: it only protects this card | | Class | "Raised surfaces (cards, popovers, menus) separate from the background with `shadow-raised`, never a solid border" | Write this | | Universal | "Never use borders" | Too broad: breaks inputs, dividers, tables | If the same correction came up on two or more different components, that's evidence for the class level. If two levels both seem right, ask. Write the rule strictly: values and token names from this codebase, "always" or "never", no "prefer" or "try to". Use softer wording only when the user framed it as a preference. Then the why. Use the user's reason, in their words, when they gave one. Otherwise write your best candidate, mark it *inferred*, and put it in the questions for the user. **Self-test before proposing:** read only the rule and its why, then picture the original task. Would an agent that knows nothing else produce what the user wanted? If it could still produce the wrong version, the rule is too vague. Add the value, the token, or the exception. **Completion criterion:** every kept rule has a level and a why marked as the user's or *inferred*.

原文:Phase 4: Decide where it goes

``` Check candidate? ├── Yes → lint rule, token restriction, or test, plus a one-line rule in DESIGN.md └── No ├── Is DESIGN.md's section for this aspect over ~40 lines, AND relevant to only some tasks │ (motion rules don't matter when building a settings form)? │ └── Yes → move the whole section into a project skill and leave a one-line pointer in DESIGN.md └── Default → DESIGN.md at the repo root, under the matching section: Surfaces · Color · Typography · Spacing & layout · Motion · Interaction · Copy ``` Create DESIGN.md or the section if it's missing. **Make sure it gets read.** A DESIGN.md that no agent loads changes nothing. If neither CLAUDE.md nor AGENTS.md points to it, propose adding this line to whichever one the project uses: `Before building or changing UI, read DESIGN.md.` Entry format: ```md ## Surfaces - **Raised surfaces (cards, popovers, menus) use `shadow-raised`, never a solid border.** Why: a solid border makes a raised surface look flat and heavy; a semi-transparent shadow separates it from the background and adapts to both themes. <!-- 2026-11-12: "no, semi-transparent shadow, not a border" --> ``` The comment holds the date and the user's words. When a later correction conflicts, it shows which rule is newer and what the user actually said.

文件 SHA256:d624b8cd475eec24c5dc3f49b0380b56c8dab8399df11b92d7c9685aa8d4d33e

仓库许可证记录:MIT;repository-license-recorded-scope-unverified,查看来源。

SKILL.md原文description · 2026-11-19T19:32:10.677Z

Turn a session's design corrections into rules, with their why, in DESIGN.md, a project skill, or a lint check.

查看历史简介来源

历史收录数据

来源仓库emilkowalski/skills
Skill源路径skills/learn-taste/SKILL.md

安装前请让使用的Agent先读取这个SKILL.md及其所在目录,确认依赖和所需权限。此页不生成未经来源验证的安装命令。

返回 Skills 目录,按任务继续筛选 · MCP与Skills教程与资源