# Spec Driven Development

> Enforces strict Spec-Driven Development. Prevents direct coding and ensures spec → generate → review loops.

- Skill: `majiayu000/spec-driven-development` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds add majiayu000/spec-driven-development`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/spec-driven-development/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/spec-driven-development

---


# 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

