/harness-flow:hf-to-specfrom harness-flow
Synthesizes the current conversation and codebase understanding into a specification written to features/<id>/spec.md. A HarnessFlow main-chain step that skips interviews and precedes architecture review.
Ships in harness-flow. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
综合已有对话与代码库理解,产出规格。不要访谈——只综合已知内容。
progress.md 当前阶段为 to-spec。有 UI 时加载 hf-ui-design。features/<id>/spec.md。hf-review(规格检查清单)→ reviews/spec-review.md + 用户确认/auto-approved。hf-to-architecture。必要时探索仓库。使用 CONTEXT.md 中的词汇;遵守 ADR。
勾勒测试缝。优先使用既有缝;尽可能选择最高层的缝;数量越少越好(理想情况:一个)。与用户确认这些缝(auto:如必须代为选择,则记录假设)。
使用下方模板编写规格。
从用户视角描述问题。
从用户视角描述方案。
一长串编号列表:
触及的模块/接口、技术澄清、schema/API 约定。避免会过期的文件路径清单。能编码决策的原型片段可内联并标明来源。
何为好测试(外部行为);测哪些模块/缝;仓库中的既有范例。
文末加:
- 用户确认:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub hujianbest/harness-flow --plugin harness-flow14 skills in this plugin
/hf-codebase-design用于设计深模块的共享词汇。当用户想要设计或改进模块的接口、寻找深化机会、决定接缝的位置、使代码更易于测试或更便于 AI 导航,或者其他技能需要深模块词汇时使用。/hf-domain-modeling构建并打磨项目的领域模型。当用户希望明确领域术语或通用语言、记录架构决策,或其他技能需要维护领域模型时使用。/hf-grilling围绕计划、决策或想法持续追问用户。当用户想要对自己的思路做压力测试,或使用任何“grill”触发短语时使用。/hf-grill-with-docs通过结构化访谈对齐想法/方案,并将结果写入 CONTEXT.md 与 ADR。HarnessFlow 主链第二步;内驱 hf-grilling 与 hf-domain-modeling。绿地先按 product-layer-templates 落盘产品层;确认后写入 progress.md,下一步进入 hf-to-product-architecture(完整产品层)或开特性(存量/仅地图)。/hf-implement按任务票/规格实现工作,内驱 hf-tdd,完成后执行 hf-review(含代码门)。HarnessFlow 主链步骤;建造模式须遵循红—绿循环。探索模式写 conclusion.md,禁止 ship。/hf-reviewHarnessFlow 独立评审协议。规格、架构、实现代码宜经本技能给出落盘结论再推进。核心纪律:只承认 subagent 或全新会话;主会话冷读属于降级评审,且不得自我确认通过。代码门在本技能内按 Standards + Spec 双轴评审。不修改被评对象,只产出结论与发现项。Other plugins' skills for the same job