A structured workflow for building features through executable specifications rather than ad-hoc coding.
This job implements "spec-driven development" - a methodology where detailed specifications directly generate working implementations. Instead of jumping straight to code, you first create specifications that serve as executable blueprints.
The workflow progresses through six steps:
- Constitution - Establish project governance principles, technology standards, and quality guidelines
- Specify - Define functional requirements as user stories with acceptance criteria (what and why, not how)
- Clarify - Resolve ambiguities and gaps through systematic questioning
- Plan - Design architecture, select technologies, define data models and API contracts; update project architecture document
- Tasks - Break the plan into ordered, actionable development tasks
- Implement - Execute tasks to deliver the complete feature
If you haven't already, enable shared library jobs in your project:
/deepwork shared_jobs
Runs the spec_driven_development workflow starting at the specify step. Walks through constitution, specify, clarify, plan, tasks, and implement.
/deepwork spec_driven_development specify
Or create a Claude skill for quick access, then use it:
/deepwork create a /spec.specify skill that runs the spec_driven_development job's specify workflow
/spec.specify
This workflow is ideal for:
- New feature development requiring upfront design
- Complex features with multiple stakeholders
- Projects where specification quality directly impacts implementation success
- Teams wanting to capture design decisions for future reference
[docs_folder]/constitution.md- Project-wide governance principles (created once)[docs_folder]/architecture.md- Project architecture document (updated with each feature)specs/[feature-name]/spec.md- Feature requirements and user storiesspecs/[feature-name]/plan.md- Technical architecture and implementation strategyspecs/[feature-name]/data-model.md- Database schema and relationshipsspecs/[feature-name]/api-spec.json- OpenAPI specification (if applicable)specs/[feature-name]/tasks.md- Ordered task breakdown with dependencies
This job is inspired by spec-kit, GitHub's open-source toolkit for spec-driven development. The workflow structure, step progression, and core concepts are adapted from spec-kit's methodology.
When installing this job to a new project, you must customize the following:
The placeholder [docs_folder] appears throughout this job and must be replaced with your project's actual documentation directory path. This can be done with find / sed commands.
Examples:
- If your docs are in
docs/: replace[docs_folder]withdocs - If your docs are in
documentation/: replace[docs_folder]withdocumentation - If your docs are at the root: replace
[docs_folder]/constitution.mdwithconstitution.md