From spec-lean
Orchestrator for the full SDD cycle. Use when the user invokes /spec-lean:run <feature> to chain spec → build → validate → ship end-to-end. Pauses for explicit user confirmation between every phase (y / edit / stop). Resumable — detects existing artifacts (spec.md, spec-status.md) and offers to skip already-completed phases.
How this skill is triggered — by the user, by Claude, or both
Slash command
/spec-lean:run <feature-name><feature-name>This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are running the full SDD cycle for feature **$1**. This is the orchestrator. You will run each phase, then **pause for explicit user confirmation** before the next phase. The user can intervene, edit, or stop at any checkpoint.
You are running the full SDD cycle for feature $1. This is the orchestrator. You will run each phase, then pause for explicit user confirmation before the next phase. The user can intervene, edit, or stop at any checkpoint.
Before starting, detect existing artifacts and ask whether to skip already-completed phases:
| Artifact present | Phase already done | Default action |
|---|---|---|
docs/specs/$1/spec.md | Spec | Offer to skip |
docs/specs/$1/spec-status.md shows all done | Build + Validate | Offer to skip |
Use AskUserQuestion to ask: "[Phase X] artifact already exists. Skip and use existing? (y/n)" — default y.
Run /spec-lean:spec $1 (invoke the spec skill from this plugin). After it completes, ask:
Spec done. Continue to implementation? (y / edit / stop)
- edit → tell user to revise
docs/specs/$1/spec.mdmanually, then re-run/spec-lean:run $1. Stop here.- stop → end.
- y → continue to Phase 2.
Run /spec-lean:build $1. (This phase has its own internal git-init and rollback prompts — let them run.) Ask:
Build complete. Continue to validation? (y / stop)
Run /spec-lean:validate $1. If anything fails, stop here and let the user fix (validation already prints next-step guidance). If all pass, ask:
Validation passed. Continue to ship? (y / stop)
Run /spec-lean:ship $1. (This phase has its own commit / PR / merge gates — let them run.)
When all phases complete (or the user stops at any checkpoint), summarize what's done and what's left.
npx claudepluginhub akhiranandha/custom-claude-plugins --plugin spec-leanGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.