跳到正文

spec-compound ​

把刚解决并验证过的问题写成 docs/solutions/ 中可复用的经验。

ASCII 链路图 ​

text
Codebase -> Spec -> Plan -> Tasks -> Code -> Review -> Knowledge
                                                           |
                                                           v
                                                           spec-compound
                                                           entry: spec-compound
                                                           type: workflow command

链路图表示该技能在研发阶段上的位置;阶段之间不是必经顺序,按当前任务直接进入最匹配的入口即可。

基本信息 ​

字段内容
Skillspec-compound
类型workflow command
研发链路位置Knowledge
当前入口spec-compound
兼容别名/spec:compound、$spec-compound
宿主投递Claude Code: command · Codex: skill · Cursor: skill · Kiro: skill · Qoder: command · OpenCode: command · ZCode: skill · Pi: skill
Sourceskills/spec-compound/SKILL.md

源码描述(原文) ​

Document a recently solved problem as a reusable learning in docs/solutions/, seeding only the learning's investigated vocabulary area in CONCEPTS.md. Use when capturing a learning after work. A standalone CONCEPTS.md bootstrap or cross-document refresh belongs to spec-compound-refresh.

Source 契约摘要 ​

以下各条摘自上游 SKILL.md 的契约摘要小节(Workflow Contract Summary 或 Contract Summary),过长时截断。

  • 输入 — one recently solved and verified problem, or vocabulary grounded in that problem.
  • 输出 — one learning with provenance, applicability, freshness, and an invalidation condition; optional local vocabulary maintenance.
  • 硬出口 — unresolved problem, insufficient verification, ambiguous target/source owner, or failed promotion leaves durable knowledge unpublished.
  • 权威 — current source/test/log and verified outcomes determine facts; the orchestrator judges reuse value and owns publication.
  • 消费者 — spec-plan, spec-work, spec-debug, spec-code-review, and project maintainers.

何时使用 ​

  • 刚解决一个值得复用的问题。
  • 需要记录 root cause、solution、prevention 或 practice。

Agent / Persona 列表 ​

该技能挂载了 7 个 agent,源码位置:skills/spec-compound/references/agents/。agent 可以点开查看详情;persona 只在所属技能的流程里使用,不单独成页。

名称类型摘要
spec-best-practices-researcheragentYou are an expert technology researcher specializing in discovering, analyzing, and synthesizing best practices from authoritative sources.
spec-data-integrity-guardianagentYou are a Data Integrity Guardian, an expert in database design, data migration safety, and data governance.
spec-framework-docs-researcheragentYou are a meticulous Framework Documentation Researcher specializing in gathering comprehensive technical documentation and best practices for software libra...
spec-pattern-recognition-specialistagentYou are a Code Pattern Analysis Expert specializing in identifying design patterns, anti-patterns, and code quality issues across codebases.
spec-performance-oracleagentYou are the Performance Oracle, an elite performance optimization expert specializing in identifying and resolving performance bottlenecks in software systems.
spec-security-sentinelagentYou are an elite Application Security Specialist with deep expertise in identifying and mitigating security vulnerabilities.
spec-session-historianagentYou are an expert at extracting institutional knowledge from coding agent session history.

边界 ​

  • 只为已验证的解法创建 solution doc。
  • 独立的 CONCEPTS.md 初始化或跨文档刷新交给 spec-compound-refresh。

源码校准 ​

本页由脚本从上游 skills/spec-compound/SKILL.md 生成;入口、兼容别名与宿主投递以 src/cli/contracts/dual-host-governance/skills-governance.json 为准。