Skip to content
Skill

Spec driven dev v2

Structures long multi-day agent coding runs into sprints, tasks and review rounds

Spec driven dev v2 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
shell
Platforms
Claude Code, Codex, Cursor
GitHub stars
233
Last commit
License
MIT
Listing updated

Similar skills

About Spec driven dev v2

This skill is built for work that spans many sessions and files, where an orchestrator or human keeps an agent going over hours or days. It lays out a three-level Project, Sprint and Task hierarchy stored as files on disk, with JSON state the orchestrator can read to resume cold and pick the next step.

Each task is built in its own isolated git worktree so it can be reviewed and reverted on its own. A review round-loop sends the work to a fresh reviewer subagent that sees only a context pack, and repeats until the verdict is approval, with an escalation point after several rounds. The skill also describes a task lint script for sizing and acceptance checks, and a governance check script for project-wide invariants.

The workflow expects a git repository, bash for the two included scripts, and a subagent-capable agent for review. Boundary rules are meant to live in lint and CI rather than prose, and newly discovered rules can be recorded in an artifact registry.

When your agent uses it

Use when an agent will work for hours or days across many files and multiple vertical slices. Drives a three-level Project → Sprint → Task hierarchy with isolated per-task execution, a review round-loop, context packs for subagent reviewers, governance-as-code, and orchestrator-readable state. Designed for long-running drivers like /loop, autoresearch:ship, and goal-driven.

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 13 files (42 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-skills

Or copy only this skill to ~/.claude/skills/spec-driven-dev-v2:

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-v2 &&
cp -R "$tmp/skills/spec-driven-dev-v2" ~/.claude/skills/spec-driven-dev-v2 &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/spec-driven-dev-v2 inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/spec-driven-dev-v2 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-v2 &&
cp -R "$tmp/skills/spec-driven-dev-v2" ~/.agents/skills/spec-driven-dev-v2 &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/spec-driven-dev-v2 inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/spec-driven-dev-v2 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-v2 &&
cp -R "$tmp/skills/spec-driven-dev-v2" ~/.cursor/skills/spec-driven-dev-v2 &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/spec-driven-dev-v2 inside it instead.

Cursor docs on skills

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-dev-v2

Or copy the folder to ~/.gemini/skills/spec-driven-dev-v2 yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/spec-driven-dev-v2:

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-v2 &&
cp -R "$tmp/skills/spec-driven-dev-v2" ~/.copilot/skills/spec-driven-dev-v2 &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/spec-driven-dev-v2 inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/LichAmnesia/lich-skills.git

Then copy lich-skills/skills/spec-driven-dev-v2 into your agent's skills folder as spec-driven-dev-v2. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Three-level project hierarchy
Organizes work into projects, sprints and tasks with RFC, plan and sprint files kept on disk.
Orchestrator-readable state
Uses small JSON state files so a driver can read the next action and resume across sessions.
Isolated task worktrees
Runs each task in its own git worktree so changes can be reviewed and rolled back separately.
Review round-loop
Repeats review, feedback and modification with a fresh reviewer until the task is approved.
Context pack for reviewers
Defines the briefing a reasoning-blind reviewer subagent receives, including diffs and verify output.
Task and governance scripts
Ships bash checks for task sizing and acceptance criteria and for project-wide invariants.
Artifact rule registry
Captures patterns found in reviews as rule files that can graduate into lint checks.

Good for

  • Plan and execute a multi-day feature split into sprints and tasks
  • Run a long autonomous coding loop with an orchestrator that resumes from state files
  • Have a fresh subagent review each task's diff before it is merged
  • Check that task specs have acceptance criteria, verify commands and rollback steps
  • Enforce architectural boundary rules across a growing codebase

Spec driven dev v2 FAQ

When should I use this instead of the v1 version?

The skill recommends v2 when expected agent time exceeds four hours, there are more than about eight tasks or more than one vertical slice, a subagent reviews each task, or an orchestrator drives iteration. For one-session features it suggests the v1 skill instead.

What does the skill need to run?

It assumes a git repository for worktrees and branches, bash for its two runner scripts, and a way to spawn a reviewer subagent such as a critic agent.

Does Spec driven dev v2 change my code automatically?

It describes a workflow the agent follows, including creating worktrees and running verify commands. The planner and builder steps are defined in the skill, and human approval is required at the project and sprint level.

Which tools are listed as the skill's allowed tools?

The skill does not set an allowed tools list in its frontmatter.

How do I install Spec driven dev v2 in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/spec-driven-dev-v2 to use it in all your projects, or to .claude/skills/spec-driven-dev-v2 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 v2 run scripts?

Yes. It runs shell scripts. No network calls were found in its 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 v2?

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 v2?

The closest alternatives to Spec driven dev v2 are Spec driven develop, Spec driven dev, AI team orchestration, Spec coding and Implement spec.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from LichAmnesia/lich-skills

  1. Loops a failing build, typecheck, lint or test until the check exits 0

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

    • Open source
    • 233 GitHub stars
    • Developer tools
  3. Guides the agent to build distinctive, polished frontend interfaces instead of generic

    • Open source
    • 233 GitHub stars
    • Design and media
  4. Gates new project ideas with memory checks and kill criteria before any work starts

    • Open source
    • 233 GitHub stars
    • Productivity
  5. Lets your agent pull GA4 reports and turn them into prioritized SEO and traffic fixes

    • Open source
    • 233 GitHub stars
    • Marketing and SEO
  6. Generates and edits images from text prompts using Google's Nano Banana 2 model

    • Open source
    • 233 GitHub stars
    • Design and media