Skip to main content

spec

Stars13
Forks0
UpdatedJuly 14, 2026 at 09:48

Spec-Driven Development (SDD) 工作流——在改动代码前先生成一份中文设计文档(spec) 并与用户确认。**必须触发**的场景:用户提出新增功能/加一个按钮/页面/接口/字段/能力、refactor/重构、修复非平凡 bug、优化、做一个 X、涉及 2 个及以上文件的多步改动、提到「设计/方案/规划/先想清楚」。即使没说「写 spec」,只要改动不是纯 typo、文档润色、依赖升级、版本号、单行修复,都应触发。关键词(中):新功能、新增、加、实现、重构、修复、优化、改造、调整;关键词(英):feature、refactor、fix、optimize、redesign、rework、add、implement。

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
3 files
SKILL.md
readonly