
Spec driven dev
Gates an AI coding agent through spec, plan, build, test, review and ship phases
Spec driven dev is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 233
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Spec driven dev
This skill sets up a six-phase workflow that an AI coding agent follows for non-trivial work. Each phase has a goal, inputs, steps, exit criteria and a table of common excuses for skipping it, and the agent is told not to advance until the current gate is closed. Each phase is meant to leave a named artifact in the repository, such as a spec file, a plan file, a review note and a launch note with rollback guidance.
The build phase asks for small, revertible commits that keep the build and existing tests green, with scope kept to the current task. The test phase favors writing tests before code, reproducing bugs with a failing test before fixing them, and checking UI work in a real browser. The review phase applies a five-axis check covering correctness, readability, architecture, security and performance, with severity labels on comments. The ship phase covers staged rollouts, feature flags and rollback triggers.
The skill is written as Markdown instructions and includes templates for the spec, plan, review and ship documents. It does not ship scripts, and it expects a git repository and a project test command to be available to the agent.
When your agent uses it
Use when starting any non-trivial feature, refactor, or new project that will touch more than one file. Drives an AI coding agent through a gated Spec → Plan → Build → Test → Review → Ship lifecycle so work is specified before it is built, verified before it is reviewed, and reviewed before it ships.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 5 files (30 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the lich-skills plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add LichAmnesia/lich-skills
/plugin install lich-skills@lich-skillsOr copy only this skill to ~/.claude/skills/spec-driven-dev:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/LichAmnesia/lich-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/spec-driven-dev &&
cp -R "$tmp/skills/spec-driven-dev" ~/.claude/skills/spec-driven-dev &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/spec-driven-dev inside it instead.
Copy the skill folder to ~/.agents/skills/spec-driven-dev to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/LichAmnesia/lich-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/spec-driven-dev &&
cp -R "$tmp/skills/spec-driven-dev" ~/.agents/skills/spec-driven-dev &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/spec-driven-dev inside it instead.
Copy the skill folder to ~/.cursor/skills/spec-driven-dev to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/LichAmnesia/lich-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/spec-driven-dev &&
cp -R "$tmp/skills/spec-driven-dev" ~/.cursor/skills/spec-driven-dev &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/spec-driven-dev inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/LichAmnesia/lich-skills.git --path skills/spec-driven-devOr copy the folder to ~/.gemini/skills/spec-driven-dev yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/spec-driven-dev:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/LichAmnesia/lich-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/spec-driven-dev &&
cp -R "$tmp/skills/spec-driven-dev" ~/.copilot/skills/spec-driven-dev &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/spec-driven-dev inside it instead.
Get the folder:
git clone --depth 1 https://github.com/LichAmnesia/lich-skills.gitThen copy lich-skills/skills/spec-driven-dev into your agent's skills folder as spec-driven-dev. Agents that support SKILL.md read one folder per skill.
What it does
- Gated six-phase lifecycle
- Moves work through spec, plan, build, test, review and ship, with each gate closed before the next phase starts.
- Spec and plan templates
- Provides templates for writing a spec and an ordered task plan saved in the repository.
- Incremental build rules
- Asks for thin, compilable, single-purpose commits that leave the tree green after each slice.
- Test-first verification
- Covers red-green-refactor, bug reproduction tests and a test pyramid guideline.
- Five-axis code review
- Checks correctness, readability, architecture, security and performance, with severity labels on findings.
- Staged launch checklist
- Describes feature-flagged rollouts, rollback triggers and first-hour post-deploy checks.
Good for
- Plan a multi-file feature before the agent starts writing code
- Break a large refactor into small reviewable commits
- Write a spec and task plan for a new service
- Add regression tests before fixing a reported bug
- Review a finished change across correctness, security and performance
- Prepare a staged rollout with a rollback plan
Spec driven dev FAQ
When should the agent use Spec driven dev?
The description says it applies to non-trivial features, refactors or new projects that touch more than one file. The SKILL.md also lists cases to skip, such as one-line fixes and dependency bumps without behavior change.
What does the workflow produce?
Each phase is meant to produce a named artifact committed to the repo, such as SPEC.md, PLAN.md, code with tests, a review note and a launch note with rollback steps.
Does Spec driven dev include scripts or tools?
No scripts are included. The skill consists of the SKILL.md instructions and four Markdown templates for spec, plan, review and ship documents.
Which tools does Spec driven dev require?
The SKILL.md does not list allowed tools. It refers to a test command and to committing to the repository, so a git repo and a project test setup are assumed.
How do I install Spec driven dev in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/spec-driven-dev to use it in all your projects, or to .claude/skills/spec-driven-dev in one project. Or install the lich-skills plugin, which includes it: /plugin marketplace add LichAmnesia/lich-skills, then /plugin install lich-skills@lich-skills.
Does Spec driven dev run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Spec driven dev?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Spec driven dev?
The closest alternatives to Spec driven dev are Spec driven develop, Spec coding, Spec driven dev v2, Dev kickoff edho ferdian and Implement.
Where this comes from
- Description: from the skill's own SKILL.md.
More from LichAmnesia/lich-skills

Loops a failing build, typecheck, lint or test until the check exits 0
- Open source
- 233 GitHub stars
- Developer tools

Guides an agent through a hypothesis-driven loop for hard-to-find bugs
- Open source
- 233 GitHub stars
- Developer tools

Guides the agent to build distinctive, polished frontend interfaces instead of generic
- Open source
- 233 GitHub stars
- Design and media

Gates new project ideas with memory checks and kill criteria before any work starts
- Open source
- 233 GitHub stars
- Productivity

Lets your agent pull GA4 reports and turn them into prioritized SEO and traffic fixes
- Open source
- 233 GitHub stars
- Marketing and SEO

Generates and edits images from text prompts using Google's Nano Banana 2 model
- Open source
- 233 GitHub stars
- Design and media




