# Spec driven dev v2

> Spec driven dev v2 is an open-source agent skill for developer tools. Structures long multi-day agent coding runs into sprints, tasks and review rounds. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/LichAmnesia/lich-skills/tree/main/skills/spec-driven-dev-v2
- **Repository:** https://github.com/lichamnesia/lich-skills
- **GitHub stars:** 233
- **License:** MIT
- **Skill name:** spec-driven-dev-v2
- **Collection:** https://github.com/LichAmnesia/lich-skills
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-02

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs shell scripts](https://github.com/LichAmnesia/lich-skills/tree/HEAD/skills/spec-driven-dev-v2)
- [No network calls found in its scripts](https://github.com/LichAmnesia/lich-skills/tree/HEAD/skills/spec-driven-dev-v2)
- [License: MIT](https://github.com/LichAmnesia/lich-skills/tree/HEAD/skills/spec-driven-dev-v2)

## Features

- **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

## Install

### Claude Code

This skill ships in the `lich-skills` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add LichAmnesia/lich-skills
/plugin install lich-skills@lich-skills
```

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

```sh
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.

### Codex

Copy the skill folder to `~/.agents/skills/spec-driven-dev-v2` to use it in every repository:

```sh
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.

### Cursor

Copy the skill folder to `~/.cursor/skills/spec-driven-dev-v2` to use it in every project:

```sh
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.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
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.

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Spec driven develop](https://ai-powered.com/skills/spec-driven-develop): Spec driven develop is an open-source agent skill for developer tools.
- [Spec driven dev](https://ai-powered.com/skills/spec-driven-dev): Spec driven dev is an open-source agent skill for developer tools.
- [AI team orchestration](https://ai-powered.com/skills/ai-team-orchestration): AI team orchestration is an open-source agent skill for developer tools.
- [Spec coding](https://ai-powered.com/skills/spec-coding): Spec coding is an open-source agent skill for developer tools.
- [Implement spec](https://ai-powered.com/skills/implement-spec): Implement spec is an open-source agent skill for developer tools.
- [Implement](https://ai-powered.com/skills/implement-kripu77): Implement is an open-source agent skill for developer tools.
- [Dev kickoff edho ferdian](https://ai-powered.com/skills/dev-kickoff-edho-ferdian): Dev kickoff edho ferdian is an open-source agent skill for developer tools.
- [Mt build](https://ai-powered.com/skills/mt-build): Mt build is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/spec-driven-dev-v2
