Spec-Driven Development
Spectr implements a three-stage workflow for managing changes:
Stage 1: Creating Changes
Section titled “Stage 1: Creating Changes”Create a proposal when you need to:
- Add features or functionality
- Make breaking changes (API, schema)
- Change architecture or patterns
- Optimize performance (changes behavior)
- Update security patterns
Skip proposals for:
- Bug fixes (restore intended behavior)
- Typos, formatting, comments
- Dependency updates (non-breaking)
- Tests for existing behavior
Stage 2: Implementing Changes
Section titled “Stage 2: Implementing Changes”- Read
proposal.md- Understand what’s being built - Read
design.md(if exists) - Review technical decisions - Read
tasks.md- Get implementation checklist - Implement tasks sequentially
- Mark tasks complete with
- [x]after implementation - Approval gate: Do not implement until proposal is approved
Stage 3: Archiving Changes
Section titled “Stage 3: Archiving Changes”After deployment:
- Run
spectr validate <change> --strictto ensure quality - Run
spectr archive <change>to merge deltas into specs - Changes move to
archive/YYYY-MM-DD-<change>/ - Specs in
specs/are updated with merged requirements