Spec-driven development workflow with structured requirements, design, and task phases
npx claudepluginhub habib0x0/spec-driven-pluginSpec-driven development workflow with structured requirements, design, and task phases
Claude Code plugins for the Slidev presentation framework
Bundled plugins for actuating and debugging the Chrome browser.
Production-ready workflow orchestration with 75 focused plugins, 182 specialized agents, and 147 skills - optimized for granular installation and minimal token usage
A structured workflow plugin for Claude Code that transforms feature ideas into formal specifications before implementation.
This plugin guides you through three phases:
| Command | Description |
|---|---|
/spec-brainstorm | Brainstorm a feature idea (optionally with domain expert consultants) |
/spec <feature-name> | Start a new spec with interactive 3-phase workflow |
/spec-import | Import a markdown/PRD file and convert to EARS requirements |
/spec-refine | Refine requirements/design for current spec |
/spec-tasks | Regenerate tasks from updated spec |
/spec-status | Show spec progress, task completion, and dependency status |
/spec-sync | Sync tasks.md status back to Claude Code task list |
/spec-validate | Validate spec completeness and consistency |
/spec-exec | Run one autonomous implementation iteration |
/spec-loop | Loop implementation until all tasks complete |
/spec-team | Execute with agent team (4 specialized agents) |
/spec-accept | Run user acceptance testing for formal sign-off |
/spec-docs | Generate documentation from spec and implementation |
/spec-release | Generate release notes and deployment checklist |
/spec-verify | Run post-deployment smoke tests |
/spec-retro | Run a retrospective on a completed spec |
/spec user-authentication
This will:
.claude/specs/user-authentication/ directory/spec-import my-feature --file /path/to/prd.md
Reads a markdown document (PRD, RFC, design doc) and converts it to EARS requirements. Review the output, then proceed to design with /spec-refine.
Specs are stored in .claude/specs/<feature-name>/:
.claude/specs/user-authentication/
├── requirements.md # User stories with acceptance criteria
├── design.md # Architecture and implementation plan
└── tasks.md # Trackable implementation tasks
Specs can declare dependencies on other specs via a ## Depends On section in requirements.md:
## Depends On
- auth-system
- database-migrations
Execution scripts check dependencies before running. A dependency is considered complete when all its tasks are verified. /spec-status shows dependency status.
After creating a spec, run autonomous implementation:
# single task
spec-exec.sh --spec-name user-authentication
# loop until done
spec-loop.sh --spec-name user-authentication --max-iterations 20
# agent team (Implementer + Tester + Reviewer + Debugger)
spec-team.sh --spec-name user-authentication
Scripts live in the plugin's scripts/ directory. If only one spec exists, --spec-name is auto-detected.
By default, execution scripts create a git worktree for each spec:
spec/<spec-name>.claude/specs/.worktrees/<spec-name>/gh pr create command is suggestedUse --no-worktree to commit directly to the current branch (v2.x behavior).
spec-loop.sh and spec-team.sh create checkpoint commits before each iteration. If Claude crashes or exits non-zero, the branch is rolled back to the last checkpoint automatically.
After running execution scripts, use /spec-sync to update the Claude Code task list from tasks.md. The subprocess can't call TaskUpdate directly, so this reconciliation step keeps the two in sync.
Use spec-team.sh when you need reliable verification. It spawns 4 specialized agents:
This costs more tokens but prevents tasks from being marked complete without real testing.
After all tasks are complete, run the post-implementation scripts:
# user acceptance testing (verify requirements are met)
spec-accept.sh --spec-name user-authentication
# generate documentation from spec + code
spec-docs.sh --spec-name user-authentication