spec-driven-development

UBAIDRAZA1 的头像作者 UBAIDRAZA1

强制执行严格的规范驱动开发。防止直接编码,确保规范→生成→审查循环。

📖 中文导读:强制执行严格的规范驱动开发。防止直接编码,确保规范→生成→审查循环。 以下正文为该技能的原始 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

  1. Analyze requirement
  2. Write or update spec (Markdown)
  3. Generate code via Claude Code
  4. Review output
  5. Refine spec if needed
  6. 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