H4tcher Capability Add 标志

H4tcher Capability Add

组织
hatch3r
h4tcher-capability-add

Create a new agent, skill, rule, command, hook, adapter, or pipeline module — runs duplication block, dispatches parallel sub-agents (T2/T3), delegates body authoring to the matching author skill, runs full gates, stops before commit.

概览

发布者hatch3r
代码仓库hatch3r
技能名称h4tcher-capability-add
星标数
26
复刻数
7
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 指令自成一体

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

  • 开源

    由 hatch3r 发布于 GitHub。请在安装前查看技能的源文件。

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/hatch3r/hatch3r.git /tmp/hatch3r
mkdir -p .claude/skills
cp -r /tmp/hatch3r/.claude/skills/h4tcher-capability-add .claude/skills/h4tcher-capability-add
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

一旦请求与技能匹配,模型就会自动加载 H4tcher Capability Add。

兼容任何 AI 模型

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

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

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

技能指令

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

Last updated: 2026-06-06

Capability Add (Maintainer)

Lifecycle preset for adding new framework artifacts. Owns the >70% overlap block, the inventory regen requirement, and cross-skill delegation to h4tcher-content-author / h4tcher-adapter-author / h4tcher-domain-author. Triage-first hybrid modeled on .claude/skills/h4tcher-pr-resolve/SKILL.md.

§0.1: Ambiguity Gate (P8 B1)

Per CONSTITUTION §2 P8 B1: every framework-dev workflow mutating canonical artifacts detects and resolves ambiguity via agents/shared/user-question-protocol.md BEFORE executing — default behavior, not exception-driven. Apply the protocol when any hold: (a) ambiguous scope (request maps to ≥2 reasonable artifact targets), (b) multiple valid interpretations with materially different cost/scope/risk, (c) irreversible action (id rename, frontmatter-field drop), or (d) missing acceptance criteria. Use the platform-native question tool; one question per turn; 2-4 numbered options with one-line trade-offs; declare the default-if-no-response.

Step 0: Triage

Classify the addition before any work:

TierCriteriaPipeline
T1One artifact; no agentPipeline change; registry delta = +1Inline; skip Step 4; full Step 6 gates
T22-5 artifacts; cross-references introduced; one pillar surface1-3 parallel sub-agents via Task
T3Pipeline-affecting OR multi-agentPipeline insertion OR governance file near lean threshold>=3 parallel sub-agents; CL-3 flag if D16/AUDIT touched

Record tier in the Step 7 summary.

Step 1: Preflight

  1. git branch --show-current and git status --short (working tree must be clean).
  2. Cache lean thresholds from governance/CONSTITUTION.md §2 P5 for files this change will create or modify.
  3. Identify the target artifact type and destination path:
    • agent: agents/hatch3r-{name}.md
    • skill: skills/hatch3r-{name}/SKILL.md
    • rule: rules/hatch3r-{name}.md + rules/hatch3r-{name}.mdc
    • command: commands/hatch3r-{name}.md
    • hook: hooks/hatch3r-{name}.md
    • adapter: src/adapters/{name}.ts + src/__tests__/adapters/{name}.test.ts
    • pipeline module: under src/merge/, src/content/, or src/pipeline/
    • audit domain: governance/audit/domains/D{NN}-{slug}.md

Step 2: Discover (block on overlap)

  1. Recommend running /h4tcher-capability-discover first. If the maintainer has not run it, execute its Step 2 inline:
    bash
    cat governance/inventory.json
    grep -rE "<core-keyword>" agents/ skills/ rules/ commands/ hooks/ checks/ prompts/ github-agents/ src/adapters/ src/content/
  2. Score functional overlap against existing artifacts of the same type per the D16.3 cross-artifact overlap check (governance/audit/domains/D16-compound-system.md §16.3 "Artifact Inventory & Redundancy").
  3. Block on >70% overlap. Surface as a refactor recommendation per the D16.3 add-vs-remove bias check (governance/audit/domains/D16-compound-system.md §16.3 "Removal candidate threshold") — recommend invoking /h4tcher-capability-refactor (merge path) instead. Do not proceed.

Step 3: Web Research

  1. Per agents/shared/rigor-contract.md §"Web Research Mandate": >=2 independent sources, trust tier (official-docs > peer-reviewed > vendor-note > independent-analysis > blog-post), recency (<=90d CVE, <=12mo vendor docs, <=36mo peer-reviewed).
  2. Required when adding agents/skills/commands that cite external practice or empirical claims. Skip only for pure internal refactors with no external claim.
  3. Record sources in the Step 7 summary with URL + access date + trust tier.

Step 4: Sub-Agent Dispatch (T2/T3 only)

For T1: inline authoring — skip to Step 5. For T2/T3: dispatch parallel Task agents, one per artifact-type slot. Each sub-agent prompt MUST include:

  1. Discovery slice from Step 2 (file paths, ref counts, overlap %).
  2. Verbatim h4tcher-development context block (Pillar Compliance Test from .claude/rules/pillar-compliance.md; lean thresholds from .claude/rules/governance-lean-thresholds.md; anti-slop wordlist reference to .claude/rules/anti-slop-enforcement.md; commit format from .claude/rules/commit-conventions.md).
  3. Confidence expression requirement per rigor contract §"Confidence with basis".
  4. Explicit guardrail: "no branches, no commits, no PRs".
  5. Workspace write target: .audit-workspace/capability-add-{slot}.md.

Fan-out is task-derived (P8 B2): 0 sub-agents on T1 (inline), 1-3 on T2, >=3 on T3 — one per artifact-type slot. Token cost never serializes independent work (.claude/rules/fan-out-discipline.md Cost-dominance clause). Emit sub_agents_spawned: { count, rationale, task_structure } in your output (the Sub-agents field of the Step 7 summary; task_structure: parallelizable — the T2/T3 artifact-type slots are disjoint).

Step 5: Cross-Skill Delegation (load-bearing)

The orchestrator sets up context only. Body authoring delegates to the matching author skill via Task:

Artifact typeDelegate to
agent / skill / rule / command / hookh4tcher-content-author
adapter (src/adapters/)h4tcher-adapter-author
audit domain (governance/audit/domains/)h4tcher-domain-author
pipeline module (src/merge/, src/content/, src/pipeline/)Inline — no canonical author skill exists; flag in Step 7 summary for a future skill

Delegation prompts pass: target path, frontmatter shape, pillar(s) served, Step 2 overlap report, Step 3 sources.

Author-skill delegation is the implementer-mandate equivalent for this lane — see the "Orchestrator-Self-Discipline boundary" section below. The author skills above (h4tcher-content-author, h4tcher-adapter-author, h4tcher-domain-author) are the delegated authoring agents that write src/ and canonical content; the pipeline-module row's Inline path is a carve-out scoped there, not a license for the orchestrator to author other artifact types inline.

Step 6: Governance Gates

Run after authoring completes. Block commit on any failure.

GateCommandThreshold
Validationnpm run validate0 errors
Testsnpm test0 failed
Typechecknpx tsc --noEmit0 errors
Lintnpm run lint0 errors
Buildnpm run buildsucceeds; dist/ produced
Inventory regennpm run inventorydiff matches new artifact set
Inventory driftnpm run inventory:check-docs0 drift
Anti-slopgrep -nE "<wordlist>" <new-files>0 hits
Pillar Compliance Test.claude/rules/pillar-compliance.md on each new fileEach file serves >=1 of P1-P8
  1. If canonical content was added under agents/ skills/ rules/ commands/ hooks/ checks/ prompts/ github-agents/, git diff governance/inventory.json must show the new artifact entry. Investigate any unexpected drift.

Step 7: Stop-Before-Commit Summary

Emit to the conversation. Do not commit, push, or merge.

Capability-Add Summary
----------------------
Tier:                T1 | T2 | T3
New file(s):         <absolute path(s)>
Artifact type(s):    <agent|skill|rule|command|hook|adapter|pipeline|domain>
Sub-author skill:    h4tcher-content-author | h4tcher-adapter-author | h4tcher-domain-author | inline
Overlap %:           <n>% (against <closest-artifact>)
Sources:             <url> (<access-date>, <org>, <trust-tier>) x N
Inventory delta:     +<n> artifacts (<types>)
Pillar(s) served:    P<n>, P<n>
Lean deltas:         <file: before -> after / limit>
Sub-agents:          count=<0|1-3|>=3>, rationale=<one-line task-decomposition justification>

Gates:
  npm run validate              <PASS|FAIL>
  npm test                      <PASS|FAIL>
  npx tsc --noEmit              <PASS|FAIL>
  npm run lint                  <PASS|FAIL>
  npm run build                 <PASS|FAIL>
  npm run inventory             <PASS|FAIL>
  npm run inventory:check-docs  <PASS|FAIL>
  Anti-slop hits                0 (must be 0)
  Pillar Compliance Test        <PASS|FAIL>

Suggested commit message (per .claude/rules/commit-conventions.md):
  feat(<scope>): add <artifact-name>

  <body>

  Pillars: P<n>, P<n>
  Signed-off-by: <name> <email>

Status:     SUCCESS | PARTIAL | BLOCKED
Confidence: high | medium | low

Next action (run manually):
  git add <files>
  git commit -s -m "<suggested message>"

Orchestrator-Self-Discipline boundary (implementer-mandate carve-out)

CLAUDE.md → "Orchestrator Self-Discipline (Bypass Protection)" requires every mutating orchestrator-style turn to spawn hatch3r-implementer for code mutation and emit an End-of-Turn Delegation Attestation citing each file's delegation_proof_id. That contract governs the product pipeline (research → implement → review → final-quality on end-user-facing code and src/ features). The capability-lifecycle presets are a separate framework-authoring lane and carry an explicit carve-out from the hatch3r-implementer + attestation requirement, on these grounds:

  1. Author skills are the delegated authoring agents for this lane. Step 5 already delegates body authoring away from the orchestrator to h4tcher-content-author (canonical artifacts), h4tcher-adapter-author (src/adapters/*.ts), and h4tcher-domain-author (audit domains). These author skills occupy the same no-inline-authoring role hatch3r-implementer occupies in the product pipeline. Routing src/ writes through hatch3r-implementer underneath an author skill would add a redundant second delegation hop without new verification.
  2. The Step 6 gate table is this lane's verification surface, not delegation_proof_id attestation: npm run validate, npm test, npx tsc --noEmit, npm run lint, npm run build, npm run inventory[:check-docs], anti-slop, and the Pillar Compliance Test all run before the stop-before-commit summary.
  3. hatch3r-implementer targets product code under a board/issue pipeline (browser-verification gates, UI/UX gate vocabulary per agents/hatch3r-implementer.md → Return Structured Result) — its gate model does not map onto governance-doc or adapter-class authoring.

Scope of the carve-out: it covers the three author-skill delegations in Step 5 plus the pipeline-module Inline row (src/merge/, src/content/, src/pipeline/ — flagged in Step 7 for future author-skill coverage). It does not authorize the orchestrator to author agents/skills/rules/commands/hooks/adapters/domains inline — those MUST go through the matching author skill per Step 5. This carve-out is named in CLAUDE.md → "Orchestrator Self-Discipline" by the same heading; keep the two in sync if either changes.

Constraints

  • Do not edit governance/inventory.json by hand — only via npm run inventory.
  • Do not bypass the >70% overlap block; route to /h4tcher-capability-refactor instead.
  • DCO sign-off required: git commit -s.
  • For rules: .md + .mdc parity per scripts/validate-rule-parity.ts is mandatory.

常见问题

H4tcher Capability Add AI 技能有什么作用?

Create a new agent, skill, rule, command, hook, adapter, or pipeline module — runs duplication block, dispatches parallel sub-agents (T2/T3), delegates body authoring to the matching author skill, runs full gates, stops before commit.

为什么在 TypingMind 中使用 H4tcher Capability Add?

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

如何在 TypingMind 中安装 H4tcher Capability Add?

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

哪些 AI 模型可以使用 H4tcher Capability Add?

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

H4tcher Capability Add 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 H4tcher Capability Add 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

H4tcher Capability Add AI 技能免费吗?

是的。hatch3r 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

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

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

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

查看全部

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

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