Loading...
Loading...
Spec-driven development framework with iterative refinement. Orchestrates feature development from intent to implementation via structured specs and task breakdown. Triggers on "/spec.plan", "/spec.refine", "/spec.clarify", "/spec.tasks", "/spec.run", "I want to build", "I want to add", "create spec", "spec-driven", "feature spec".
npx skill4agent add mauromedda/agent-toolkit spec-driven-dev| Command | Purpose | Input |
|---|---|---|
| Create spec from "I want to build/add X" | Feature description |
| Improve spec with research/Gemini | Optional section focus |
| Answer clarification questions | Your response |
| Break spec into executable tasks | None (uses active spec) |
| Execute tasks with TDD | Optional task number |
/spec.plan/spec.plan <description>specs/specs/specs/README.mdspecs/README.mdspecs/README.mdspecs/{feature-slug}.mdreferences/templates.mdDRAFTCreated: specs/feature-name.md (DRAFT)
Questions requiring clarification:
1. [Question about scope]
2. [Question about behavior]
3. [Question about constraints]
Use `/spec.clarify` to answer, or `/spec.refine` to research solutions./spec.refine/spec.refine [section]/spec.refine solution/spec.refine requirementsspecs/specs/README.mddesign-patternsgemini -m gemini-3-pro-preview "Analyze spec..." .# For design validation
/spec.refine --gemini "Review architecture approach"
# For alternative exploration
/spec.refine --gemini "What are alternatives to this solution?"/spec.clarify/spec.clarify <response>/spec.clarify Q1: answer, Q2: answer/spec.tasksUser: /spec.clarify Q1: We need OAuth2 with Google provider only. Q2: No, admin can also delete.
Updated specs/auth-system.md:
- Added OAuth2/Google to Technical Strategy
- Updated permissions: admin can delete
Remaining questions: None
Spec is ready. Use `/spec.tasks` to create task breakdown./spec.tasks/spec.tasksDRAFTAPPROVED/spec.clarifyIf open_questions > 0:
ERROR: Spec has unresolved questions. Use /spec.clarify first.specs/{feature-slug}.tasks.md/run/spec.run/spec.run/spec.run [task#]/spec.run/spec.run 3specs/{feature}.tasks.md/spec.tasksspecs/README.md[x]COMPLETED/python/golangspecs/README.md# Spec Configuration
## Language Override
Primary: golang
Secondary: python
## Conventions
- All specs require security section
- Tasks must include rollback plan
- Use feature branches: feature/{spec-name}
## Templates
Use custom templates from: ./templates/
## Auto-invoke
- Always run /trivy before marking complete
- Require /gemini-review for all specsDRAFT -> APPROVED -> IN_PROGRESS -> COMPLETED
| |
v v
(questions?) (blocked?)
| |
v v
DRAFT IN_PROGRESSproject/
└── specs/
├── README.md # Project overrides
├── auth-system.md # Spec (APPROVED)
├── auth-system.tasks.md # Task breakdown
├── user-dashboard.md # Spec (DRAFT)
└── ...| When | Invoke |
|---|---|
Writing | |
Writing | |
Writing | |
Writing | |
Writing | |
| Architecture decisions | |
| User-requested review | |
specs/IN_PROGRESS.tasks.md/spec.run| Situation | Response |
|---|---|
| "Spec has N unresolved questions. Use |
| "No task file found. Use |
| "No active spec. Use |
Ambiguity during | "Execution blocked: [issue]. Spec needs refinement. Use |
references/templates.md