H4tcher Capability Remove 标志

H4tcher Capability Remove

组织
hatch3r
h4tcher-capability-remove

Decommission a hatch3r artifact (agent, skill, rule, command, hook, adapter, pipeline module) after passing the D16.3 removal-threshold gate, drafting migration notes, and scrubbing every cross-reference.

概览

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

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

  • 兼容任何大语言模型

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

  • 指令自成一体

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

  • 开源

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

安装

在 TypingMind 中安装 H4tcher Capability Remove 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-remove
  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-remove .claude/skills/h4tcher-capability-remove
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

Last updated: 2026-06-06

Capability Remove (Maintainer)

Maintainer preset for phasing out a hatch3r artifact. Hardest preset to invoke: a D16.3 gate blocks removal unless three criteria all hold, and migration notes plus reference scrubbing run before the maintainer is allowed to commit.

§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 (which artifact, and remove vs merge-then-deprecate per D16.3 add-vs-remove bias), (b) multiple valid interpretations with materially different migration cost, (c) irreversible action — removal is inherently destructive, so confirm the target id and that no consumer depends on it, or (d) missing acceptance criteria (no migration-note target, no definition of done). 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. Do NOT proceed to Step 0 until resolved or the default is confirmed.

Step 0: Triage

Classify the removal target before any work runs.

TierCriteriaPipeline
T1Leaf artifact with 0 inbound referencesInline; skip Step 4; full Step 6 gates
T2Artifact with 1-3 references requiring migration notes1-3 parallel sub-agents; full gates
T3Artifact named in any agentPipeline: array, listed in governance/inventory.json registry, or referenced from governance/CONSTITUTION.md / governance/VISION.md>=3 parallel sub-agents; full gates + CL-3 flag if D16/AUDIT touched

Record tier + rationale at the top of the workspace summary.

Step 1: Preflight

  1. Confirm clean tree + branch: git status --short empty; git branch --show-current matches an open release/feature branch.
  2. Cache lean-threshold limits from governance/CONSTITUTION.md §2 P5.
  3. Identify the target artifact type (agent | skill | rule | command | hook | adapter | pipeline module) and its canonical path.
  4. Capture baseline wc -l on governance/inventory.json and any governance file likely to be edited.

Step 2: Removal-Qualification Gate (D16.3)

Run the D16.3 removal-threshold check inline (governance/audit/domains/D16-compound-system.md §16.3 "Removal candidate threshold"). Removal qualifies only when ALL three criteria hold:

  • (a) Zero unique value beyond an existing artifact (run duplication scan; cite the artifact that subsumes the candidate).
  • (b) <=1 cross-reference from other artifacts (run grep -r "<artifact-id>" agents/ skills/ rules/ commands/ hooks/ checks/ prompts/ github-agents/ src/ governance/ docs/ docs-site/ tests/ CLAUDE.md README.md CHANGELOG.md; record the count).
  • (c) No orchestrator dependency in any commands/hatch3r-*.md agentPipeline: array (grep -l "<artifact-id>" commands/hatch3r-*.md; inspect each match).

Cite which criterion is crossed for every failing check. Block immediately on any failure and recommend /h4tcher-capability-refactor (merge) per the D16.3 add-vs-remove bias check.

Step 3: Web Research

Skipped by default. Run only when the removal cites an external "industry has deprecated this" claim. When triggered, follow the rigor contract (agents/shared/rigor-contract.md §"Web Research Mandate"): >=2 independent sources, trust tier (official-docs > peer-reviewed > vendor-note > independent-analysis > blog-post), recency window (<=90d CVE, <=12mo vendor docs, <=36mo peer-reviewed). Sources land in the Step 7 summary.

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

T1 stays inline (single scrub + one CHANGELOG line). T2/T3 dispatch parallel Task agents writing to .audit-workspace/capability-remove-{slot}.md:

SlotRole
migration-notesDrafts the CHANGELOG.md entry (under ### Removed) plus an optional docs-site/ deprecation page when an end-user-visible artifact is removed
refs-canonicalScrubs references in agents/ skills/ rules/ commands/ hooks/ checks/ prompts/ github-agents/
refs-code-docsScrubs references in src/, tests/, governance/, docs/, docs-site/, CLAUDE.md, README.md

Every sub-agent prompt MUST carry: (1) the Step 2 discovery slice (paths + ref counts), (2) the verbatim h4tcher-development context block from .claude/skills/h4tcher-pr-resolve/SKILL.md Step 2 (pillar test, lean thresholds, anti-slop wordlist reference, commit format), (3) the confidence-with-basis requirement from the rigor contract, (4) the "no branches, no commits, no PRs" guardrail, (5) the workspace write target above.

Fan-out is task-derived (P8 B2): 0 sub-agents on T1 (inline), 1-3 on T2, >=3 on T3 across the migration-notes / refs-canonical / refs-code-docs slots above. 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 migration-notes / refs-canonical / refs-code-docs slots are disjoint).

Step 5: Cross-Skill Delegation

None for body authoring during removal. The migration-notes slot may call /h4tcher-content-author only when a brand-new replacement artifact must be authored — rare; document the rationale in the workspace summary when invoked.

Step 6: Governance Gates

Run the full hatch3r gate battery PLUS removal-specific checks. Block commit on any failure.

GateCommandThreshold
Validatenpm run validate0 errors
Testsnpm test0 failed
Typechecknpx tsc --noEmit0 errors
Lintnpm run lint0 errors
Buildnpm run buildsucceeds; dist/ produced
Rule paritynpm run validate:rule-parity0 mismatches
Efficiency invariantsnpm run validate:efficiency0 violations
Inventory regennpm run inventory then git diff governance/inventory.jsondiff matches the removal exactly; no unexpected drift
Inventory docs driftnpm run inventory:check-docs0 drift
Reference-orphan checkgrep -rn "<removed-name>" agents/ skills/ rules/ commands/ hooks/ checks/ prompts/ github-agents/ src/ governance/ docs/ docs-site/ tests/ CLAUDE.md README.md CHANGELOG.md0 hits outside the CHANGELOG migration entry
CHANGELOG entrygrep -n "<removed-name>" CHANGELOG.md>=1 line under the active release's ### Removed section
Anti-slopgrep -nE against .claude/rules/anti-slop-enforcement.md wordlist on every modified .md / .mdc0 hits
Pillar complianceApply .claude/rules/pillar-compliance.md to the removalRemoval serves one or more of P1-P8
Lean thresholdswc -l on every modified governance fileWithin CONSTITUTION §2 P5 limits

Step 7: Stop-Before-Commit Summary

Emit the slot-filled template below. Do not commit, branch, push, or merge.

Capability-Remove Summary
-------------------------
Artifact:           <id / path>
Type:               agent | skill | rule | command | hook | adapter | pipeline-module
Tier:               T1 | T2 | T3
D16.3 criteria:     (a) <pass + cite subsuming artifact> (b) <ref count <=1> (c) <no agentPipeline hit>

Removed paths:      <bullet list>
Migration notes:    CHANGELOG.md (line <n>, ### Removed) [+ docs-site/<page>.md if authored]
agentPipeline diffs: <command file: before -> after, or "none">
Inventory delta:    <line counts: before -> after in governance/inventory.json>

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 validate:rule-parity    <PASS|FAIL>
  npm run validate:efficiency     <PASS|FAIL>
  npm run inventory:check-docs    <PASS|FAIL>
  Reference-orphan grep           <PASS (0 hits) | FAIL>
  CHANGELOG entry present         <PASS | FAIL>
  Anti-slop hits                  <count — 0 required>

Pillars served:     P<n>, P<n>
Sub-agents:         count=<0|1-3|>=3>, rationale=<one-line task-decomposition justification>
Sources (web):      <list, or "none — no empirical claim">
Confidence:         high | medium | low

Next action (maintainer runs manually):
  git add <files>
  git commit -s -m "refactor(<scope>): remove <artifact-id>"
  git push

Constraints

  • Block on any D16.3 failure in Step 2; do not proceed without the maintainer's explicit override + recorded rationale.
  • Never hand-edit governance/inventory.json — only via npm run inventory.
  • Do not skip the reference-orphan grep; one orphan hit blocks commit.
  • Do not commit, branch, push, or merge from inside this skill.
  • DCO sign-off via git commit -s is required when the maintainer commits.

References

  • D16.3 removal-threshold + add-vs-remove bias check: governance/audit/domains/D16-compound-system.md §16.3 "Removal candidate threshold"
  • Web research mandate: agents/shared/rigor-contract.md
  • Quality charter: agents/shared/quality-charter.md
  • Sibling presets: .claude/skills/h4tcher-capability-discover/SKILL.md, .claude/skills/h4tcher-capability-refactor/SKILL.md
  • Author skill (replacement artifact, rare): .claude/skills/h4tcher-content-author/SKILL.md

常见问题

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

Decommission a hatch3r artifact (agent, skill, rule, command, hook, adapter, pipeline module) after passing the D16.3 removal-threshold gate, drafting migration notes, and scrubbing every cross-reference.

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

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

如何在 TypingMind 中安装 H4tcher Capability Remove?

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

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

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

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

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

H4tcher Capability Remove AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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