Documentation-only Agent Skill. No runtime dependencies, no build step.
Install: npx skills add mariano-aguero/spec-driven-development-skill
spec-driven-development-skill/
├── SKILL.md # Entry point — workflow overview, phase descriptions
├── CLAUDE.md # This file — architecture and maintenance guide
├── README.md # User-facing documentation
├── package.json # npm metadata for skills.sh discovery
└── references/
├── INDEX.md # Topic navigation map
├── quick-reference.md # One-page cheat sheet
├── artifact-templates.md # Copy-paste templates for all artifacts
├── prompt-patterns.md # Prompts for every phase and scenario
├── workflow-phases.md # Step-by-step phase instructions
├── quality-gates.md # Per-phase checklists, CI/CD integration
├── ai-agent-patterns.md # Multi-agent patterns, context management
└── anti-patterns.md # Failure modes and fixes
| File | Contents | Update When |
|---|---|---|
SKILL.md |
Workflow overview, phase summaries, artifact structure | Core workflow changes |
artifact-templates.md |
spec.md, plan.md, data-model.md, contracts/, tasks.md templates | Template format evolves |
prompt-patterns.md |
Prompts for each phase + multi-agent review | Better prompts discovered |
workflow-phases.md |
Detailed step-by-step for each phase | Phase details change |
quality-gates.md |
Review checklists, CI/CD scripts, drift classification | New quality checks needed |
ai-agent-patterns.md |
Context management, subagent patterns, parallel tasks | New AI agent patterns emerge |
anti-patterns.md |
Failure modes with examples and fixes | New failure patterns identified |
quick-reference.md |
Summary tables and cheat sheet | Any structural changes |
INDEX.md |
Navigation links to all topics | New sections added to any file |
- Add the check to the relevant gate in
references/quality-gates.md - Add corresponding verification to
references/workflow-phases.mdin the relevant phase - Update the gate summary in
references/quick-reference.md - Update
SKILL.mdif the change affects the phase overview
- Add to
references/anti-patterns.mdwith: symptom, example (wrong vs correct), fix - Add to the relevant gate in
references/quality-gates.mdif it's checkable - Update
references/INDEX.mdwith a link to the new anti-pattern
- Add to
references/prompt-patterns.mdunder the relevant phase section - Reference it in
references/workflow-phases.mdin the corresponding step
- Update
references/artifact-templates.md - Verify
references/workflow-phases.mdsteps still match the new template - Update examples in
references/anti-patterns.mdif they reference template fields
- Update
SKILL.md— the canonical workflow description - Update
references/workflow-phases.md— step-by-step details - Update
references/quick-reference.md— the summary tables - Update
references/INDEX.mdif section names change - Bump version in
package.json
Why separate files instead of one large SKILL.md? The references are loaded on demand. Keeping them separate avoids loading 3000+ tokens of reference material into every conversation — only the relevant section is loaded when needed.
Why no runtime components? This skill is documentation only. The workflows it describes run inside the AI agent's reasoning, not as external scripts. CI/CD scripts in quality-gates.md are provided as templates for teams to adapt, not as packaged tooling.
Why copy-paste templates instead of a CLI generator? Keeping templates as plain markdown means they work in any environment (Claude Code, Cursor, web interfaces) without any installation or dependency management.
- Patch (1.0.x): Typo fixes, clarifications that don't change behavior
- Minor (1.x.0): New reference files, new templates, new prompts, new anti-patterns
- Major (x.0.0): Phase workflow changes, artifact format changes, naming convention changes