Structured six-phase software development workflow with requirements, design, tasks, and documentation artifacts. Use when starting any significant feature or refactor to ensure requirements are clearly defined, designs are planned, and implementations are validated. Phases are ANALYZE, DESIGN, IMPLEMENT, VALIDATE, REFLECT, HANDOFF. Maintains requirements.md, design.md, and tasks.md artifacts.
Installation
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Structured six-phase software development workflow with requirements, design, tasks, and documentation artifacts. Use when starting any significant feature or refactor to ensure requirements are clearly defined, designs are planned, and implementations are validated. Phases are ANALYZE, DESIGN, IMPLEMENT, VALIDATE, REFLECT, HANDOFF. Maintains requirements.md, design.md, and tasks.md artifacts.
argument-hint
[feature or change to develop using spec-driven workflow]
Spec Driven Workflow v1
Bridge the gap between requirements and implementation using a structured six-phase loop.
Maintain these artifacts at all times:
requirements.md — User stories and acceptance criteria in EARS notation
Finalise workspace; archive temporary files to .agent_work/
Continue to next task; document transition or completion
Critical Constraint: Task is not complete until all handoff steps are finished and documented.
Documentation Templates
Action Documentation (all steps)
### [TYPE] - [ACTION] - [TIMESTAMP]
**Objective**: [Goal]
**Context**: [Current state and requirements]
**Decision**: [Approach and rationale]
**Execution**: [Steps taken with file paths]
**Output**: [Complete results and metrics]
**Validation**: [Success verification or remediation plan]
**Next**: [Automatic continuation plan]
Decision Record
### Decision - [TIMESTAMP]
**Decision**: [What was decided]
**Context**: [Situation and data]
**Options**: [Alternatives with pros/cons]
**Rationale**: [Why chosen option is superior]
**Impact**: [Consequences for implementation and maintainability]
**Review**: [Conditions or schedule for reassessment]
EARS Notation Reference
Ubiquitous: THE SYSTEM SHALL [behavior]
Event-driven: WHEN [trigger] THE SYSTEM SHALL [behavior]
State-driven: WHILE [state] THE SYSTEM SHALL [behavior]
Unwanted behavior: IF [condition] THEN THE SYSTEM SHALL [response]
Optional feature: WHERE [feature included] THE SYSTEM SHALL [behavior]
Each requirement must be: testable, unambiguous, necessary, feasible, traceable.