Skill Builder 标志

Skill Builder

组织
testdouble
skill-builder

Builds a new Claude Code skill from scratch through a relentless, evidence-based interview that walks the skill's design tree decision-by-decision — entity fit, use cases, name, description, workflow steps, tools, and progressive-disclosure layout — then reviews the finished skill against the plugin-building guidance and applies every fix it finds. Use when creating, authoring, scaffolding, designing, or drafting a new skill or slash command. Does not build an agent or subagent — use agent-builder. Does not serve, vendor, or refresh the authoring guidance itself — use guidance.

概览

发布者testdouble
代码仓库han
技能名称skill-builder
星标数
320
复刻数
26
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载的 SKILL.md 文件,因此只有在请求确实匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 testdouble 发布于 GitHub。请在安装前查看源内容。

安装

在 TypingMind 中安装 Skill Builder AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/testdouble/han/tree/main/han-plugin-builder/skills/skill-builder
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/testdouble/han.git /tmp/han
mkdir -p .claude/skills
cp -r /tmp/han/han-plugin-builder/skills/skill-builder .claude/skills/skill-builder
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Skill Builder,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Skill Builder。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Skill Builder 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会获取指令,因此未使用的技能不会产生额外费用。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Project Context

  • personal config directory: !bash "${CLAUDE_PLUGIN_ROOT}/scripts/han-config-dir.sh" 2>/dev/null || echo "$HOME/.claude"
  • project .han/config.md: !cat .han/config.md 2>/dev/null || echo ""

As your first action, use the Read tool on .han/config.md inside the personal config directory path above. A read that returns no file is no personal configuration: continue silently. When that file or the project .han/config.md probe supplies content, apply it per config-rule.md, which governs precedence between the two files, relative-path resolution, and what to do with a file that reads but cannot be used.

Guidance Location

The authoritative skill-authoring guidance ships in this plugin. Read the specific document a decision needs, when that decision is on the table — never read them all up front, because that defeats progressive disclosure and burns context on guidance the current skill does not touch.

  • Plugin-building guidance root: ${CLAUDE_PLUGIN_ROOT}/skills/guidance/references/
  • Skill-specific guidance: ${CLAUDE_PLUGIN_ROOT}/skills/guidance/references/skill-building-guidance/

Map from decision to governing document (read just-in-time):

Decision on the tableRead
Skill vs. agent vs. hookplugin-entity-taxonomy.md
Use cases, trigger phrases, test casesskill-building-guidance/use-case-planning.md
Directory name, file name, dependency prefixskill-building-guidance/naming-conventions.md
The description field (four components, boundaries)skill-building-guidance/skill-description-frontmatter.md, skill-building-guidance/skill-description-length.md
Which frontmatter fields to setskill-building-guidance/skill-frontmatter-fields.md
Where content lives (body vs. references vs. scripts vs. assets)skill-building-guidance/progressive-disclosure.md, skill-building-guidance/skill-reference-files.md
Step structure and workflow shapeskill-building-guidance/workflow-patterns.md, skill-building-guidance/writing-effective-instructions.md
allowed-tools, Bash permission granularityskill-building-guidance/allowed-tools-bash-permissions.md, skill-building-guidance/allowed-tools-AskUserQuestion.md
Reading config / runtime dataskill-building-guidance/context-injection-commands.md, skill-building-guidance/dynamic-project-discovery.md
Running scriptsskill-building-guidance/script-execution-instructions.md
Dispatching agents from the skillskill-building-guidance/agent-dispatch-namespacing.md, plus agent-building-guidelines/multi-agent-economics.md
Degraded environments (no git, missing tools)skill-building-guidance/graceful-degradation.md, skill-building-guidance/optional-git-repositories.md
Frontmatter safety (angle brackets, YAML types)skill-building-guidance/security-restrictions.md
Hardening fuzzy steps into deterministic onesskill-building-guidance/hardening-fuzzy-vs-deterministic.md
Splitting or composing skillsskill-building-guidance/skill-decomposition.md, skill-building-guidance/skill-composition.md
Defining success and testsskill-building-guidance/success-criteria-and-testing.md
New plugin needed (plugin.json, marketplace.json)claude-marketplace-and-plugin-configuration/ and templates/

Operating Principles

  • Interview relentlessly, but explore first. Interview the user relentlessly about every aspect of the skill until you reach a shared understanding. Walk down each branch of the design tree, resolving dependencies between decisions one-by-one. If a question can be answered by exploring the repository — the target plugin's existing skills, sibling descriptions, plugin.json, conventions, the guidance documents above — explore instead of asking. Only surface questions that genuinely require the user's judgment.
  • Ask one question at a time. Never batch questions. Settle one decision, let its answer resolve dependent decisions, then ask the next. Later answers routinely make earlier questions moot.
  • Recommend, then ask. For every question surfaced to the user, provide a recommended answer with rationale grounded in evidence (existing skills, conventions, the guidance, the user's stated goal). The user can accept, amend, or redirect.
  • Apply guidance as you go, then verify at the end. Consult the governing document when a decision is on the table (Step 4), and run a full guidance-conformance pass over the finished files at the end (Step 6). The interview gets each decision approximately right; the review pass makes the artifact correct.

Build a Skill

Step 1: Capture the Request and Confirm It Is a Skill

Read the user's argument and the conversation to extract what the skill should do. If the request is too thin to start (for example, just "build a skill"), ask the user for one or two sentences on what the skill should accomplish and what triggers it — nothing else yet.

Confirm the entity type before anything else. Read ${CLAUDE_PLUGIN_ROOT}/skills/guidance/references/plugin-entity-taxonomy.md and apply its decision heuristic. A skill is a deterministic, flowchartable process ("Can I flowchart every path?" → skill). If the work is really contextual judgment with no fixed flowchart, it is an agent — stop and recommend agent-builder. If it fires automatically on an event, it is a hook. If the request bundles a deterministic process and a judgment layer, recommend building them separately and composing them. Only proceed once a skill is the right entity.

Step 2: Discover Before Asking

Locate the target plugin and learn its conventions before asking the user anything beyond the framing. Use Glob, Grep, and find to gather:

  • The target plugin directory and its .claude-plugin/plugin.json (name, description, version). If the user has not said which plugin, infer candidates from the repository and confirm the target in Step 4.
  • Sibling skills in that plugin ({plugin}/skills/*/SKILL.md) — their descriptions, frontmatter, step structure, and the trigger space they already own. New descriptions must disambiguate against these siblings in both directions.
  • CLAUDE.md, AGENTS.md, and any project-discovery.md — repository conventions, the documentation root, and how skills are catalogued.
  • Whether the skill needs an external tool (gh, jq, an MCP server). External dependencies drive the directory-name prefix and a description mention.

Record what was found (file paths) and what was not. A missing convention is itself a finding that shapes the skill.

Step 3: Build the Design Tree

Enumerate the decisions the skill needs, in dependency order. Resolve foundational decisions before dependent ones; never ask a dependent question before its parent is settled.

  1. Foundational — Which plugin owns it? What are the 2-3 concrete use cases (trigger phrase, workflow, tools, domain knowledge) per use-case-planning.md? What artifact or outcome does each use case produce?
  2. Identity — What is the directory name (which becomes the slash command)? Does it follow the gerund/process-name and dependency-prefix rules? What does the description say across all four components (what, when, boundary, breadth), and how does it disambiguate against siblings in both directions?
  3. Workflow — Which workflow pattern fits (sequential, iterative, context-aware, domain-specific, or a combination)? What are the numbered steps? Where do human gates belong (before irreversible or outward-facing actions only)?
  4. Capabilities — What allowed-tools does each step need, at the right Bash granularity? Does the skill dispatch agents (and are they available in this plugin)? Does it run scripts? Does it read runtime config via context injection?
  5. Layout — What belongs in the SKILL.md body (process), in references/ (templates, checklists, domain knowledge), in scripts/ (deterministic operations), and in assets/ (output files)? What other frontmatter fields apply (argument-hint, arguments, model, paths)?

Keep each node a concrete decision with a candidate answer. Do not pre-fill the tree with content the user has not confirmed.

Step 4: Interview Loop — One Branch at a Time

For each decision in dependency order:

  1. Try to resolve it from evidence. Re-check the target plugin, sibling skills, conventions, and the governing guidance document for this decision (see the map above). If the evidence answers it, record the decision with its evidence and move on — do not ask.
  2. If evidence is insufficient, draft a recommended answer grounded in the guidance and the evidence available. Read the governing document first so the recommendation is correct, not improvised.
  3. Surface one question to the user, with the recommendation, the rationale, and the alternatives. State what changes depending on the answer. Wait for the answer before asking anything else.
  4. Descend. Once a decision is settled, re-evaluate which dependent decisions the new answer resolves, and continue.

Keep the interview moving — do not stall on questions the evidence can answer, and do not batch.

Step 5: Write the Skill

Create the skill directory and write the files:

  1. Create {plugin}/skills/{skill-name}/ (use mkdir). The directory name is the slash command and must match the frontmatter name.
  2. Write SKILL.md with:
    • Frontmatter: name (matching the directory), the description settled in the interview, allowed-tools, and any other settled fields. Never put AskUserQuestion in allowed-tools. No XML angle brackets in any frontmatter value.
    • A body of numbered process steps following the chosen workflow pattern. Be specific and actionable, embed reasoning in constraints (Always/Never X BECAUSE Y), include error handling for tool-dependent steps, and reference any bundled resource by exact path.
  3. Create references/, scripts/, or assets/ and their files only if a use case needs them. Domain knowledge (templates, checklists, matrices) goes in references/; deterministic operations go in scripts/; output-only files go in assets/. Do not create empty or speculative folders.
  4. If the skill belongs in a brand-new plugin, create the plugin scaffold (.claude-plugin/plugin.json, and a marketplace entry if the repo uses one) per the claude-marketplace-and-plugin-configuration/ guidance and the templates/.

Step 6: Full Guidance-Conformance Review

This is the review pass the skill commits to. Re-read each governing document that applies to what you built and verify the finished files against it, applying every fix directly. Do not summarize problems for the user without fixing them. Cover at minimum:

  1. Entity fit (plugin-entity-taxonomy.md) — the skill is genuinely a flowchartable process, not a judgment layer that should be an agent.
  2. Description (skill-description-frontmatter.md, skill-description-length.md) — third person; covers what, when, boundary, and trigger breadth; weaves trigger words into prose rather than appending a keyword list; names sibling skills in boundary clauses; disambiguates in both directions (update the sibling's description if a one-way gap exists); within 1024 characters.
  3. Naming (naming-conventions.md) — directory name matches name, is a process/gerund name when the output is a plan or doc, carries a dependency prefix when an external tool is required, no README.md in the skill folder, SKILL.md cased exactly.
  4. Progressive disclosure (progressive-disclosure.md, skill-reference-files.md) — body is process only and under 500 lines; domain knowledge is in references/; scripts hold deterministic work; nothing the toolchain already enforces is restated; every reference file is linked directly from SKILL.md rather than only through another reference file, every reference link stays inside the plugin directory, and any reference file over roughly 100 lines opens with a ## Contents list unless it is a template copied whole into output.
  5. Instruction quality (writing-effective-instructions.md, workflow-patterns.md) — steps are specific and actionable; constraints embed reasoning; error handling is present; human gates sit only at irreversible actions; the most critical item in each list is placed last.
  6. Tools and safety (allowed-tools-bash-permissions.md, allowed-tools-AskUserQuestion.md, security-restrictions.md) — Bash permissions are scoped correctly with separate entries; AskUserQuestion is absent from allowed-tools; no angle brackets or non-standard YAML in frontmatter.
  7. Discovery and degradation (dynamic-project-discovery.md, graceful-degradation.md, optional-git-repositories.md) — the skill discovers project specifics dynamically rather than hardcoding them, and degrades gracefully when a tool or git is absent, where relevant.
  8. Dispatch (agent-dispatch-namespacing.md) — if the skill dispatches agents, every dispatch uses the qualified defining-plugin:agent-name, and the agents actually exist in an installed plugin.
  9. Tests (success-criteria-and-testing.md) — each use case maps to a triggering and functional test the user can run.

Apply the YAGNI discipline throughout: every step, reference file, tool permission, and frontmatter field must earn its place against a real use case. Cut anything added "for completeness" or "for future flexibility."

Step 7: Present and Hand Off

Summarize for the user:

  • The files written (paths), and what each contains.
  • The decisions settled by evidence versus by user input.
  • The fixes the Step 6 review applied, citing the guidance document behind each.
  • The triggering and functional tests derived from the use cases, so the user can validate the skill against the model tier it targets.

Note that plugin entities rarely land in one pass: per iterative-plugin-development.md, plan for 3-5 iterations. Ask whether the user wants to iterate on specific steps or considers the skill ready to test.

常见问题

Skill Builder AI 技能有什么作用?

Builds a new Claude Code skill from scratch through a relentless, evidence-based interview that walks the skill's design tree decision-by-decision — entity fit, use cases, name, description, workflow steps, tools, and progressive-disclosure layout — then reviews the finished skill against the plugin-building guidance and applies every fix it finds. Use when creating, authoring, scaffolding, designing, or drafting a new skill or slash command. Does not build an agent or subagent — use agent-builder. Does not serve, vendor, or refresh the authoring guidance itself — use guidance.

为什么在 TypingMind 中使用 Skill Builder?

因为您只需安装一次,就能搭配任何模型使用。Skill Builder 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型,甚至可以在聊天中途切换模型,而不会影响技能正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Skill Builder?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/testdouble/han/tree/main/han-plugin-builder/skills/skill-builder。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Skill Builder?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Skill Builder 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以搭配 Skill Builder 使用,包括 GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等,都可在 TypingMind 中使用您自己的 API 密钥接入。

Skill Builder AI 技能免费吗?

是的。该技能源自 testdouble 在 GitHub 上以 MIT 许可证发布的项目。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇