spec-driven-development
强制执行严格的规范驱动开发。防止直接编码,确保规范→生成→审查循环。
📖 中文导读:强制执行严格的规范驱动开发。防止直接编码,确保规范→生成→审查循环。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: spec-driven-development description: Enforces strict Spec-Driven Development. Prevents direct coding and ensures spec → generate → review loops.
Spec-Driven Development Rules
Golden Rule
Never write or modify code directly. All changes must originate from specifications.
Mandatory Workflow
- Analyze requirement
- Write or update spec (Markdown)
- Generate code via Claude Code
- Review output
- Refine spec if needed
- Regenerate
Required Spec Artifacts
Depending on feature scope:
- spec.md
- plan.md
- tasks.md
- checklist.md
- ADR (if architectural)
Forbidden Actions
- Manual code patches
- Guessing requirements
- Skipping specification step
Success Criteria
- Specs are the single source of truth
- Code exactly matches specs