Show HN: 基于规范的 Claude Code 开发工作流程
2 分•作者: sermakarevich•大约 2 个月前
规范驱动开发方法通过以下几个核心概念,能够帮助编码人员更高效地完成工作:
* **双维度分解。** 首先,你需要在多个步骤中生成规范(需求、代码分析、设计),然后将任务拆分成多个子任务,逐个实现。
* **在每个步骤之间清除上下文。** 在生成规范之后以及子任务实现之后,都要清除上下文。这有助于降低成本,保持上下文清晰和专注,从而提高效率。
* **将规范写入磁盘,有助于信息的持久化。**
* **逐层交付规范,有助于尽早发现编码人员的理解偏差。**
包含用于规范驱动开发的 Claude 插件的仓库:[https://github.com/sermakarevich/sddw](https://github.com/sermakarevich/sddw)
查看原文
Spec Driven Development approach allows to squeeze more from coding agents thanks to few strong concepts:
- decomposition across two dimensions. first you generate specs in multiple steps (requirements, code analysis, design), than you split task into multiple subtasks and implement them one by one
- you clear context between every step - after spec generation and after subtask implementation. this helps keep cost low and context clear and focused which boost performance
- specs written to disk help with information persistency
- delivering specs layer by layer help to catch early when agent got you wrong<p>Repo with claude plugin for spec driven development: <a href="https://github.com/sermakarevich/sddw" rel="nofollow">https://github.com/sermakarevich/sddw</a>