Skip to content
Skill

Spec coding

Guides an agent through spec-first feature work: requirements, design, then tasks

Spec coding is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
shell
Platforms
Claude Code
GitHub stars
5
Last commit
License
MIT
Listing updated

Similar skills

About Spec coding

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.

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 16 files (58 KB) on GitHub on 1 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 ai-sdlc-skills plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

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

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

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.

Claude Code docs on skills

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

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.

Codex docs on skills

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

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.

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/kevinlin/skills.git --path spec-coding

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

Gemini CLI docs on skills

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

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.

VS Code docs on skills

Get the folder:

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.

The SKILL.md format

What it does

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

Spec coding 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.

More from kevinlin/skills

  1. Builds a cross-tool report on how you use your local AI coding agent sessions

    • Open source
    • 5 GitHub stars
    • Developer tools
  2. Gives your agent a senior-engineer checklist for reviewing diffs, PRs and branches

    • Open source
    • 5 GitHub stars
    • Developer tools
  3. Removes AI-writing tells from any text and rewrites it to fit its genre

    • Open source
    • 5 GitHub stars
    • Writing style
  4. Produces structured HTML gap analysis reports and a master gap register for bids

    • Open source
    • 5 GitHub stars
    • Productivity
  5. Generates styled HTML/CSS architecture and pipeline diagrams that embed directly

    • Open source
    • 5 GitHub stars
    • Developer tools
  6. Turns meeting recordings and notes into speaker-attributed transcripts and verified recaps

    • Open source
    • 5 GitHub stars
    • Productivity