# Spec coding

> Spec coding is an open-source agent skill for developer tools. Guides an agent through spec-first feature work: requirements, design, then tasks. It is available on Claude Code.

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

## About

This skill walks the agent through a five-stage, specification-first workflow for building a feature: goal confirmation, EARS-style requirements, technical design, a checkbox task plan, and then incremental execution. Each document is written to docs/specs/{feature-name}/ and must be approved by the user before the next stage begins, so gaps in an earlier artifact get fixed rather than carried forward.

The skill also covers resuming a workflow across sessions. It checks which spec files already exist, reads them to rebuild context, and offers to pick up at the matching stage. Status questions are answered from tasks.md without editing files or starting work. During execution, the agent reads all three spec files before each task, works on one task at a time, and checks the task off when done.

The workflow expects a codebase the agent can explore, since the design stage is based on existing patterns and integration points. Its task planning favors test-driven steps and keeps deployment and user testing out of scope. The folder includes bash scripts.

## When your agent uses it

> Guide users through spec-driven development — from goal clarification through requirements, design, task planning, and incremental execution. Use this skill whenever a user wants to build a new feature with upfront planning, asks for a structured development workflow, mentions "spec-driven", wants to create requirements or a design doc before coding, or invokes /spec-coding. Also trigger when a user has existing spec files (requirements.md, design.md, tasks.md) and wants to continue or execute tasks from them.

## What it can access

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

- [Runs shell scripts](https://github.com/kevinlin/skills/tree/HEAD/spec-coding)
- [No network calls found in its scripts](https://github.com/kevinlin/skills/tree/HEAD/spec-coding)
- [License: MIT](https://github.com/kevinlin/skills/tree/HEAD/spec-coding)

## Features

- **Five-stage planning workflow:** Moves a feature from goal confirmation through requirements, design, and task planning before any code is written.
- **EARS requirements format:** Produces acceptance criteria using WHEN, WHERE, IF/THEN and SHALL phrasing so behavior is testable.
- **Design document template:** Structures the technical design into overview, architecture, interfaces, data models, error handling and testing sections.
- **Checkbox task planning:** Breaks the design into numbered, referenced coding tasks tracked in a tasks.md checklist.
- **Approval gates between stages:** Requires explicit user sign-off on each document before advancing to the next stage.
- **Resume and status handling:** Detects existing spec files to continue at the right stage and answers status questions without editing.

## Good for

- Plan a new feature with requirements and a design doc before writing code
- Turn an existing design into a numbered implementation task list
- Continue executing unchecked tasks from a previous spec session
- Ask what the next unfinished task is for a feature

## Install

### Claude Code

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

```sh
/plugin marketplace add kevinlin/skills
/plugin install ai-sdlc-skills@ai-sdlc
```

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

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

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

### Codex

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

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

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

### Cursor

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

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

For one project only, put the folder in `.cursor/skills/spec-coding` 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/kevinlin/skills.git --path spec-coding
```

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

### VS Code

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

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

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

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/kevinlin/skills.git
```

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

## FAQ

### Where does the skill save its documents?

It creates requirements.md, design.md and tasks.md under docs/specs/{feature-name}/ in the project.

### Does Spec coding write code without asking?

No. Each document requires user approval, and execution runs one task at a time with a review stop after each.

### How does Spec coding know where a feature left off?

It checks which spec files exist and resumes at the matching stage, reading the existing files first.

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

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

### Does Spec coding 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 coding?

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

The closest alternatives to Spec coding are Gen specs as issues, Mt spec, Spec, Create specification and Spec compact.

## Where this comes from

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

## Alternatives

- [Gen specs as issues](https://ai-powered.com/skills/gen-specs-as-issues): Gen specs as issues is an open-source agent skill for developer tools.
- [Mt spec](https://ai-powered.com/skills/mt-spec): Mt spec 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.
- [Create specification](https://ai-powered.com/skills/create-specification): Create specification 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.
- [Mt build](https://ai-powered.com/skills/mt-build): Mt build is an open-source agent skill for developer tools.
- [Update specification](https://ai-powered.com/skills/update-specification): Update specification is an open-source agent skill for developer tools.
- [Spec workflow](https://ai-powered.com/skills/spec-workflow): Spec workflow is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/spec-coding
