Spec-driver Skill (Orchestrator)
This skill manages the transition between Specification, Planning, and Implementation.
Workflow & Responsibilities
- •Discovery: Look at
specs/README.mdto identify the active feature track. - •Lifecycle Gatekeeping:
- •If no
spec.mdexists or the spec is incomplete:- •Activate the
specifyskill to create or update aspec.mdwith user stories. - •After user stories are defined, ask if any are complex enough for a detailed use case. If so, activate the
use-caseskill to elaborate.
- •Activate the
- •If
spec.mdis complete but noplan.mdexists: Activate theplanskill to create a detailed implementation plan. - •If both
spec.mdandplan.mdexist and are complete: Activate theimplementskill to begin code implementation, using theplan.mdas a guide.
- •If no
- •State Management:
- •Update the status in
specs/README.mdafter each major milestone (e.g., spec complete, plan complete). - •CRITICAL: During implementation, the
implementskill is responsible for marking checkboxes in the activeplan.mdas completed ([x]) immediately after the corresponding work is verified.
- •Update the status in
Tooling
Always use scripts/manage_specs.py for registry updates to ensure cross-platform compatibility. The script supports automatic ID generation or extraction from the branch name.
bash
# Auto-detect ID from branch name or generate timestamp: python3 <path-to-spec-driver>/scripts/manage_specs.py add "feature-name" # To specify an ID manually: python3 <path-to-spec-driver>/scripts/manage_specs.py add "ID" "feature-name"