/harness-flow:hf-to-architecturefrom harness-flow
Generates incremental feature-level architecture design after spec confirmation, including module boundaries, seams, key data/flows, and ADRs. Aligns with product architecture and feeds into ticket creation.
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.
None: SKILL.md is the whole skill.
在 spec.md 已通过 hf-review(规格)之后、拆票之前,把「本片怎么建」钉成一页增量架构,供 hf-to-tickets 切垂直切片。
spec.md、product/architecture.md(若有)、CONTEXT.md(若有)、相关 ADR,以及 product/ 假设台账。更新 progress.md 为 to-architecture。hf-codebase-design。本阶段产出仍落在本特性目录。product/architecture.md。docs/adr/(或追加到 product/decisions.md),正文只链接过去。features/<id>/architecture.md(≤80 行),含对齐声明与机器可读确认行占位。hf-review 走架构评审 → reviews/architecture-review.md。interactive 等确认;auto 可在非降级评审后 auto-approved。progress.md 中的当前阶段与下一步。architecture.md 最小结构# 架构 — <特性名>
- 日期:
- 对应规格: `spec.md`
- 用户确认:
## 对齐产品架构
<!-- 必须引用 product/architecture.md;说明落点模块/场景;越界显式写出 -->
## 本片模块与缝
## 核心数据
## 关键流程
## 横切偏离
## ADR 链接
spec-review 通过记录,不得写入「已确认」架构并推进到 to-tickets 阶段product/architecture.md 时,正文应含对齐声明(由技能与 hf-review 约束)hf-to-tickets)product/assumptions.mdWhat 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