Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spec — Claude Code plugin

Spec-driven development workflow for Claude Code: brief → design → tasks → implement (optionally as an autonomous loop) → review → ship.

Install

/plugin marketplace add hamochi/claude-spec-plugin
/plugin install spec@spec

Commands

Command Purpose
/spec:init Initialize .spec/ in the current project
/spec:new Start a new feature spec (creates a worktree)
/spec:design Technical design from the brief
/spec:tasks Generate the implementation plan — review it before running
/spec:implement Start or resume implementation
/spec:loop [id] [--max-iterations N] Autonomous implement loop until all gates pass
/spec:cancel-loop Cancel the active loop
/spec:review Review implementation against the spec
/spec:ship Merge into the source branch, clean up worktree
/spec:amend, /spec:realign, /spec:status, /spec:switch Maintenance
/spec:spec Pick up where you left off

Upgrading to 2.0

Specs moved from spec/ to .spec/. An existing project needs:

git mv spec .spec

and its CLAUDE.md paths updated (spec/design.md.spec/design.md, and so on). Specs whose .cursor still reads tasks keep working — the loop accepts that phase and advances it.

Also in 2.0: team mode and the parallel-execution annotations are gone (they never fired); /spec:loop starts from either the tasks or implement phase; and it now refuses a plan that was edited after the loop started.

Layout

  • commands/ – slash commands
  • references/task-format.md – how tasks.md is written
  • hooks/ – Stop hook that keeps /spec:loop running
  • scripts/ – helpers (list-open-specs.sh, setup-spec-loop.sh)

Requires jq for the loop hook.

About

Spec-driven development workflow plugin for Claude Code

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages