# Spec workflow

> Spec workflow is an open-source agent skill for developer tools. Guides a spec-driven workflow: vertical slicing, state transitions and review gates. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/ramboz/jig/tree/main/hosts/claude/skills/spec-workflow
- **Repository:** https://github.com/ramboz/jig
- **GitHub stars:** 6
- **License:** MIT
- **Skill name:** spec-workflow
- **Collection:** https://github.com/ramboz/jig
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

Spec Workflow walks an AI coding agent through a spec-driven lifecycle for non-trivial work. It helps split a new spec into vertical slices, favouring alternative paths, interfaces, data subsets and business rules before falling back to spikes, and it warns against slices that only touch one layer. Slices move through a fixed set of state markers from draft through review, reconciliation and done, with a deferred state for parked work that names what will reopen it.

The skill drives the workflow through a Python helper, workflow.py, which performs the deterministic state changes, reserves spec numbers, checks the status board and reports on use-case coverage and progress. Before a slice can advance past review, the helper checks that recorded review evidence from compliance, craft, and optional architecture and code-health passes shows a passing verdict. It also keeps a claim on slices being worked so parallel sessions can see who holds them.

It expects a project already set up with the jig scaffolding; when that is missing, it points the user to the setup or migration command rather than building folders by hand. Work is driven through Python 3 and the git remote for reserving numbers, and reviews are dispatched to read-only reviewer subagents.

## When your agent uses it

> Drive the spec-driven lifecycle for any non-trivial work item: SPIDR-split a new spec into vertical slices, transition state markers (DRAFT → READY_FOR_REVIEW → READY_FOR_IMPLEMENTATION → IN_PROGRESS → REVIEWED → RECONCILED → DONE; also DEFERRED for parked slices with a stated resolution trigger), enforce the reconciliation checklist before commit, and surface stale specs/ADRs whose `last_verified` date has aged past dependency changes. Use when starting non-trivial new work, creating a spec, transitioning a slice's state, parking a slice as DEFERRED, reconciling a reviewed slice, or auditing doc freshness. Do not use for quick one-off fixes that don't need a spec, or for bug-shaped work where `jig:bug-fix` is the better fit.

## What it can access

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

- [Runs Python scripts](https://github.com/ramboz/jig/tree/HEAD/hosts/claude/skills/spec-workflow)
- [No network calls found in its scripts](https://github.com/ramboz/jig/tree/HEAD/hosts/claude/skills/spec-workflow)
- [License: MIT](https://github.com/ramboz/jig/tree/HEAD/hosts/claude/skills/spec-workflow)

## Features

- **SPIDR slice splitting:** Guides breaking a spec into vertical slices by path, interface, data, or rules, with spikes as a last resort.
- **Lifecycle state transitions:** Moves slices through draft, review, implementation, reconciliation and done states via a helper script.
- **Multi-pass review gates:** Requires compliance and craft review verdicts, plus optional architecture and code-health passes, before review states advance.
- **Spec number reservation:** Reserves the next free spec number on the main branch to avoid collisions between parallel worktrees.
- **Status board and coverage checks:** Audits the spec status board and reports use-case coverage and progress without writing changes.
- **Slice claims:** Records which branch or session is working a slice so concurrent work is visible.

## Good for

- Split a new feature request into vertical slices before implementation starts
- Move a finished slice from in-progress to reviewed and then reconciled
- Park a slice as deferred with a stated trigger for resuming it
- Check which specs have gone stale or lack use-case coverage
- Reserve a new spec number before drafting a spec

## Install

### Claude Code

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

```sh
/plugin marketplace add ramboz/jig
/plugin install jig@jig
```

Or copy only this skill to `~/.claude/skills/spec-workflow`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ramboz/jig.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/spec-workflow &&
cp -R "$tmp/hosts/claude/skills/spec-workflow" ~/.claude/skills/spec-workflow &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/spec-workflow` inside it instead.

### Codex

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ramboz/jig.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/spec-workflow &&
cp -R "$tmp/hosts/claude/skills/spec-workflow" ~/.agents/skills/spec-workflow &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/spec-workflow` inside it instead.

### Cursor

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ramboz/jig.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/spec-workflow &&
cp -R "$tmp/hosts/claude/skills/spec-workflow" ~/.cursor/skills/spec-workflow &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/spec-workflow` 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/ramboz/jig.git --path hosts/claude/skills/spec-workflow
```

Or copy the folder to `~/.gemini/skills/spec-workflow` yourself.

### VS Code

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ramboz/jig.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/spec-workflow &&
cp -R "$tmp/hosts/claude/skills/spec-workflow" ~/.copilot/skills/spec-workflow &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/spec-workflow` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/ramboz/jig.git
```

Then copy `jig/hosts/claude/skills/spec-workflow` into your agent's skills folder as `spec-workflow`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When should I use Spec workflow instead of bug-fix?

It is for non-trivial new work that needs a spec. Its description says not to use it for quick one-off fixes or for bug-shaped work, where the bug-fix skill fits better.

### What does Spec workflow need to run?

A jig-scaffolded project and Python to run workflow.py. Without the scaffolding it directs you to the setup or migration command first.

### Does Spec workflow block a slice from moving to reviewed?

Yes. Moving to reviewed requires recorded compliance and craft verdicts that pass, plus architecture or code-health verdicts when the slice flags them. An environment variable can bypass the evidence check for deliberate out-of-band flows.

### How do I install Spec workflow in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/spec-workflow to use it in all your projects, or to .claude/skills/spec-workflow in one project. Or install the jig plugin, which includes it: /plugin marketplace add ramboz/jig, then /plugin install jig@jig.

### Does Spec workflow run scripts?

Yes. It runs Python 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 workflow?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Spec workflow?

The closest alternatives to Spec workflow are Spec coding, Slice land, Spec, Independent review and Implement spec.

## Where this comes from

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

## Alternatives

- [Spec coding](https://ai-powered.com/skills/spec-coding): Spec coding is an open-source agent skill for developer tools.
- [Slice land](https://ai-powered.com/skills/slice-land): Slice land is an open-source agent skill for developer tools.
- [Spec](https://ai-powered.com/skills/spec-jasgujral): Spec is an open-source agent skill for developer tools.
- [Independent review](https://ai-powered.com/skills/independent-review): Independent review 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.
- [Spec compact](https://ai-powered.com/skills/spec-compact): Spec compact is an open-source agent skill for developer tools.
- [Create GitHub action workflow specification](https://ai-powered.com/skills/create-github-action-workflow-specification): Create GitHub action workflow specification 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-workflow
