/harness-flow:hf-to-product-architecturefrom harness-flow
Designs product architecture at the repository level: architecture characteristics, principles, logical partitioning by changeability, development view, key scenarios, cross-cutting concerns, ADRs, and evolution paths. Produces a single product/architecture.md after shared-language confirmation and before feature specs.
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.
把「系统长什么样」钉成可继承的产品级地图,供后续特性增量架构与切片对齐。不是特性实现设计。敌人是复杂度——变更放大、认知负荷、未知的未知(Ousterhout);判据是长期演进成本。
product-layer-templates 落盘,且 hf-grill-with-docs 已确认 CONTEXT.md(及台账)。product/progress.md(若有),确认当前在产品架构阶段或尚未确认架构。hf-codebase-design 词汇;领域边界不清时加载 hf-domain-modeling(可升 CONTEXT-MAP.md)。references/architecture-methodology.md,按需加载。product/progress.md:当前阶段 to-product-architecture。CONTEXT.md、台账提炼 3~5 个驱动性架构特征(可演进性、可测试性、伸缩、容错、安全……),各配一条可检验的质量属性场景(刺激→响应→度量)。拿不准记入假设台账。特征先于风格:后续每步取舍都必须能回应这些特征。CONTEXT-MAP.md。feature.md 标 - 骨架: 是)。product/architecture.md(≤120 行),确认行先留空。hf-review(产品架构)→ product/reviews/product-architecture-review.md。product/progress.md → ready。product/assumptions.md;单向门(存储引擎、事件契约、对外 API 等)→ 放慢,按 ADR 三条件进 docs/adr/。最后责任时刻之前不锁死,但推迟的决策要用接缝隔离成局部。hf-codebase-design 的 design-it-twice 出两个对立方案,按深度/局部性/接缝位置与复杂度三问评分后定。product/assumptions.md,不静默填补What SKILL.md sets; muted values are Claude Code's defaults
14 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 双轴评审。不修改被评对象,只产出结论与发现项。npx claudepluginhub hujianbest/harness-flow --plugin harness-flowOther plugins' skills for the same job