npx claudepluginhub dana0550/spec-systemOperate the Spec System v2 contract-first workflow with phase gates, EARS+RFC requirements, Gherkin scenarios, strict traceability, and first-class specctl enforcement.
Contract-first specs for long-horizon AI software delivery.
What This Is • Quickstart • Workflow • Epics & One-shot • Agent Setup • CLI
docs-spec-system gives teams a deterministic spec workflow that scales with AI-assisted development.
It keeps planning and execution synchronized with strict traceability and gated approvals:
R -> D -> T -> S -> evidence| Module | Purpose |
|---|---|
specctl CLI | Bootstrap, lint/render/check, approvals, migration, epic + one-shot orchestration |
skills/docs-spec-system/ | Codex/Claude skill pack with rules, workflows, and templates |
.claude-plugin/ | Claude Code plugin packaging |
tests/ | Unit + integration tests for lifecycle and runtime integrity |
git clone https://github.com/dana0550/spec-system.git
cd spec-system
python -m pip install -e .
specctl init
specctl feature create --name "User Authentication" --owner [email protected]
specctl render
specctl check
specctl lint --strict
specctl render --check
specctl check --strict
requirements_draft -> requirements_approvedrequirements_approved OR design_draft -> design_approveddesign_approved OR tasks_draft -> tasks_approvedimplementing -> verifying -> doneBefore each phase approval, refresh and scan impact for the feature:
specctl impact refresh --feature-id F-###
specctl impact scan --feature-id F-###
specctl approve --feature-id F-### --phase requirements
specctl impact refresh --feature-id F-###
specctl impact scan --feature-id F-###
specctl approve --feature-id F-### --phase design
specctl impact refresh --feature-id F-###
specctl impact scan --feature-id F-###
specctl approve --feature-id F-### --phase tasks
Each feature lives in docs/features/F-###-<slug>/:
requirements.mddesign.mdtasks.mdverification.mdCreate a contract change artifact when launching a new service or evolving existing service/API behavior:
specctl contract create \
--name "Fraud Scoring Service Standup" \
--owner [email protected] \
--change-type service_added
Contract changes live in docs/contracts/CC-###-<slug>.md and are tracked in docs/CONTRACT_CHANGES.md.
Statuses are manually edited (draft|approved|published|closed) and validated by specctl check.
--change-type is required so change intent is always explicit.
Use change_type: service_added for new service launch notifications and change_type: service_changed for service interface/behavior evolution.
Track target-repo PR rollout in the standard Downstream Notification Context table (repo | owner | context | pr_url | state).
Given/When/Then).flowchart LR
A["requirements"] --> B["design"]
B --> C["tasks"]
C --> D["verification"]
D --> E["traceability report"]
Epics are orchestration units with first-class runtime control.
specctl epic create \
--name "Billing Reliability" \
--owner [email protected] \
--brief ./brief.md \
--mode agentic
Required brief sections:
Development marketplace for Superpowers core skills library
Harness-native ECC skills, hooks, rules, MCP conventions, and operator workflows
Open Design — local-first design app exposed to coding agents over MCP. Install once with your agent's plugin command and projects/files/skills are reachable through stdio.