agent-Specialization/workflows/feature-development/WORKFLOW.md

1.8 KiB

name description review_mode max_stage_rounds end_conditions nodes
feature-development 功能开发流程:需求理解、按策略分支实现、汇总验证、文档收尾 active 30 验证通过且文档更新完成
id kind name next
start-1 start 开始 understand
id kind name goal instructions next
understand stage 需求理解 明确需求边界与涉及模块 产出改动清单与影响面;不确定处先问用户。 impl-branch
id kind name next
impl-branch branch 实现策略
target condition
prototype 方案不确定或风险高,先低成本验证
target condition
full-impl 需求明确、改动范围清晰,直接正式实现
id kind name goal instructions next
prototype stage 快速原型 最小成本验证方案可行性 只写关键路径,不做边界打磨。 merge
id kind name goal instructions next
full-impl stage 完整实现 完成正式代码修改 小步快跑,优先根治不打补丁。 merge
id kind name next
merge branch 汇总
target condition
verify-gate
id kind name prompt next reject_to max_rejects
verify-gate review 验证审核 验证证据是否真实可复现:构建与测试输出必须实际运行过 document impl-branch 3
id kind name goal instructions next
document stage 文档收尾 更新相关文档 同步 AGENTS.md 与相关 doc。 end-1
id kind name
end-1 end 结束

工作方式

先理解再动手,禁止跳过验证。

验证方式

构建通过 + 相关测试通过。

结束方式

更新文档并汇报。