Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By fadiwahbav1.5.0MITIn 1 marketplace
Deterministic, spec-driven development lifecycle for Claude Code: interview -> PRD -> spec -> implement (TDD) -> review -> fix -> close. Discipline is enforced by a state CLI and hooks, never by prompt obedience.
Claude hands work to one, or you mention it with @.
1 caution to review before installing
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Executables (bin/) — files in this plugin's bin/ directory are added to the Bash tool's PATH while the plugin is enabled.
A Claude Code plugin that turns AI-assisted development into a disciplined lifecycle the model can't skip its way around.
lean-spec gives your AI coding agent a rulebook it has to follow.
Instead of asking Claude to "build a feature" and hoping it plans, tests, and reviews along the way, lean-spec runs every feature through a fixed lifecycle:
init → plan → spec → implement → review → close
└ once ┘ └────── repeat per feature ──────┘
Each phase has one owner (a specific model + effort level), produces one mandatory artifact (a validated markdown file), and passes through one gate before the next phase can start. The rules aren't polite suggestions in a prompt — they're enforced by the harness: a state machine, file-write guards, and validation hooks that block the model when it tries to cut a corner.
The result: a repeatable, auditable trail for every change, where git log and the features/ folder tell the whole story.
AI agents are fast but undisciplined. Left to a single prompt, they'll skip the plan, write code before tests, mark their own work "done," and leave you reconstructing what happened. Prompt instructions like "always write tests first" fail the moment the model forgets — and a skipped step is a gate that never ran.
lean-spec makes discipline structural instead of aspirational:
Three layers with strictly separated jobs — this is the load-bearing idea:
skills/ DESCRIBE thin prompts that dispatch agents · zero gate logic
hooks/ ENFORCE block workflow.json edits · gate artifacts · drive auto mode
bin/lean-spec MUTATE the only thing allowed to write workflow.json
A skill instruction the model ignores can never corrupt state, because state and gates don't live in skills. Skills just describe work and hand it to an agent; hooks enforce the rules; the CLI is the single source of truth for where each feature is in its lifecycle.
The lifecycle, with its gates:
/lean-spec:spec architect writes spec.md ────────┐
│ (Scope · ACs · Guardrails) │ validated
▼ │ at every
/lean-spec:implement coder writes code + tests │ SubagentStop
│ RED → GREEN, evidence in notes.md │ AND at the
▼ │ phase gate
/lean-spec:review reviewer writes review.md ────────┤
│ verdict: APPROVE│NEEDS_FIXES│BLOCKED
│ │
│ NEEDS_FIXES ──► /lean-spec:fix ──► back to review
▼
/lean-spec:close refuses unless verdict == APPROVE
npx claudepluginhub fadiwahba/lean-spec --plugin lean-specBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground