Agent skill

Spec Driven

by NikiforovAll in NikiforovAll/claude-code-rules

Guide spec-driven development workflow (Requirements → Design → Tasks → Implementation) with approval gates between phases.

Apache-2.0Auto-check passedDevelopment

Install Spec Driven

skills CLI
$ npx skills add NikiforovAll/claude-code-rules --skill spec-driven -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install NikiforovAll/claude-code-rules spec-driven --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/NikiforovAll/claude-code-rules.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/handbook-agent-spec-kit/skills/spec-driven .claude/skills/spec-driven && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
spec-driven
GitHub stars
141
Token cost
~1.3k tokens
SKILL.md length
620 words
Files
1
Skills in repo
26
Repo updated
First seen
Licence
Apache-2.0

At a glance

Guide spec-driven development workflow (Requirements → Design → Tasks → Implementation) with approval gates between phases.

  • Works in 4 steps: Requirements → Design → Tasks → …
  • User wants structured feature planning
  • SKILL.md covers CRITICAL: Orchestrator-Only…, File Structure, Workflow Phases and Core Principles, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Spec Driven is an agent skill from NikiforovAll/claude-code-rules. Guide spec-driven development workflow (Requirements → Design → Tasks → Implementation) with approval gates between phases. Use when user wants structured feature planning or says "use spec-driven" or "follow the spec process".

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Spec-driven development. The repository describes itself as: Learn practical techniques to enhance your AI-assisted development workflow with Claude Code. The licence is Apache-2.0.

When your agent uses it

  • User wants structured feature planning
  • Says use spec-driven
  • Follow the spec process

Example prompts

  • “use spec-driven”
  • “follow the spec process”
  • “/spec-driven”

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Requirements
  2. Design
  3. Tasks
  4. Implementation (Optional)

What it can do on your machine

Read from SKILL.md and the folder at commit 281c063. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Spec Driven loads about 1.3k tokens when it runs. Until then it costs about 60 tokens; SKILL.md has 620 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~60
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from NikiforovAll/claude-code-rules at commit 281c063, republished under its Apache-2.0 licence (© NikiforovAll). 620 words, ~1,298 tokens.

Download SKILL.mdSave it as .claude/skills/spec-driven/SKILL.md (or your agent's skills folder).
name
spec-driven
description
Guide spec-driven development workflow (Requirements → Design → Tasks → Implementation) with approval gates between phases. Use when user wants structured feature planning or says "use spec-driven" or "follow the spec process".

Spec-Driven Development Workflow

You are an orchestrator for spec-driven development. Your ONLY job is to coordinate subagents - you MUST NEVER create documents or implement tasks yourself.

CRITICAL: Orchestrator-Only Rules

ALWAYS:

  • ✅ Launch the appropriate subagent for each phase
  • ✅ Wait for subagent completion before proceeding
  • ✅ Manage approval gates and user feedback
  • ✅ Coordinate workflow transitions

NEVER:

  • ❌ Create requirements.md, design.md, or tasks.md yourself
  • ❌ Implement tasks directly
  • ❌ Skip launching a subagent "to save time"
  • ❌ Write code or documentation yourself

If you find yourself about to create a file or write code, STOP and launch the appropriate subagent instead.

File Structure

All specs go in: specs/{feature_name}/

  • requirements.md - User stories with EARS acceptance criteria
  • design.md - Technical architecture and implementation guidance
  • tasks.md - Incremental coding tasks

Workflow Phases

Phase 1: Requirements

Goal: Transform feature idea into user stories with measurable acceptance criteria.

MANDATORY: You MUST launch requirements-agent - do NOT create requirements yourself.

Process:

  1. Launch requirements-agent with feature description
  2. Review generated requirements with user
  3. Approval Gate: "Do the requirements look good? If so, we can move on to the design."
  4. Iterate based on feedback until approved (re-launch agent with feedback)
Phase 2: Design

Goal: Create technical design addressing all requirements.

Prerequisites: Approved requirements.md

MANDATORY: You MUST launch tech-design-agent - do NOT create design yourself.

Process:

  1. Launch tech-design-agent with feature name and requirements
  2. Review generated design with user
  3. Approval Gate: "Does the design look good? If so, we can move on to the implementation plan."
  4. Iterate based on feedback until approved (re-launch agent with feedback)
Phase 3: Tasks

Goal: Convert design into actionable coding tasks.

Prerequisites: Approved requirements.md and design.md

MANDATORY: You MUST launch tasks-agent - do NOT create tasks yourself.

Process:

  1. Launch tasks-agent with feature name, requirements, and design
  2. Review generated tasks with user
  3. Approval Gate: "Do the tasks look good?"
  4. Iterate based on feedback until approved (re-launch agent with feedback)

Specification workflow complete after task approval. Stop here unless user explicitly requests implementation.

Show full SKILL.md (296 more words)Show less
Phase 4: Implementation (Optional)

Goal: Execute one task at a time from approved tasks.md.

Prerequisites: All previous documents approved.

MANDATORY: You MUST launch implementation-agent - do NOT implement tasks yourself.

Process:

  1. Launch implementation-agent with feature name and specific task number to implement
  2. Implementation-agent executes ONLY one task per session with strict zero-improvisation
  3. Review completed task with user
  4. After approval, suggest new session for next task (launch agent again for next task)

Implementation-agent handles:

  • Pre-implementation verification (reading specs, checking resources, clarifying ambiguities)
  • Strict adherence to specifications without improvisation
  • Requesting approval for any unclear visual/design elements
  • Using MCP servers for external resources (Jira, Confluence, GitHub, Figma)
  • Marking tasks as completed in tasks.md
  • One task per session enforcement

Core Principles

  1. Sequential Execution: Complete phases in order
  2. Explicit Approval: Never advance without clear user confirmation
  3. Iterative Refinement: Continue revision cycles until approval
  4. Incremental Building: Each phase builds on the previous
  5. Zero Improvisation: During implementation, follow specs exactly

Your Role

  • Coordinate phase transitions and launch appropriate subagents (requirements-agent, tech-design-agent, tasks-agent, implementation-agent)
  • Enforce approval gates - never assume satisfaction
  • Verify document quality before proceeding
  • Handle revision requests by re-launching subagents with feedback
  • Communicate progress and next steps clearly
  • Stop after tasks approval unless implementation explicitly requested
  • For implementation phase, always launch implementation-agent (never implement tasks directly)

Verification Checklist (Before Each Phase)

Before starting a phase, verify:

  • ✅ Am I about to launch a subagent? (YES = correct, NO = STOP and launch agent)
  • ✅ Am I about to use Task tool? (YES = correct, NO = wrong approach)
  • ❌ Am I about to create a file with Write/Edit? (YES = WRONG, must launch agent instead)
  • ❌ Am I about to write requirements/design/tasks/code myself? (YES = WRONG, must launch agent instead)

If you catch yourself doing the work directly, STOP immediately and launch the appropriate subagent.

© NikiforovAll, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in plugins/handbook-agent-spec-kit/skills/spec-driven of NikiforovAll/claude-code-rules.

Open the folder on GitHubat commit 281c063

Compare with similar skills

Spec Driven next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Spec Driven compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Spec Driven this skillNikiforovAll/claude-code-rules141—~1.3kAutomated safety check: PassApache-2.0
SPARC Development Methodologyruvnet/ruflo74k2 repos~829Automated safety check: PassMIT
Ss SpecSerial-Studio/Serial-Studio7.2k—~766Automated safety check: PassCustom licence
Spec Driven Developzhu1090093659/spec_driven_develop984—~5.1kAutomated safety check: PassMIT
Bulletproof Workflowartemiimillier/bulletproof153—~3.5kAutomated safety check: PassMIT
Develop Feature Builderjsmastery-pro/skills1.4k—~3.8kAutomated safety check: NotesMIT

Similar skills

  • Applies the SPARC method (specification, pseudocode, architecture, refinement, completion) with 17 specialized modes and multi-agent orchestration, from research to deployment.

    74k GitHub starsUsed in 2 repos~829 tokens
    DevelopmentAuto-check passed
  • Ss Spec

    Serial-Studio/Serial-Studio

    Phase 1 of Serial Studio's spec-driven workflow: capture WHAT a feature must do and WHY, with no implementation detail.

    7.2k GitHub stars~766 tokensUpdated today
    DevelopmentAuto-check passed
  • Spec Driven Develop

    zhu1090093659/spec_driven_develop

    Automates pre-development workflow for large-scale complex tasks.

    984 GitHub stars~5.1k tokensUpdated 2 mo ago
    DevelopmentAuto-check passed
  • Bulletproof Workflow

    artemiimillier/bulletproof

    Applies a 12-stage verified workflow, from research to deploy, to non-trivial coding tasks, scaled to lightweight, standard or full mode by task size.

    153 GitHub stars~3.5k tokensUpdated 6 mo ago
    DevelopmentAuto-check passed
  • Develop Feature Builder

    jsmastery-pro/skills

    Builds a feature, page, component, API or data layer from an approved spec and AGENTS.md, and sends you back to /architect when a key decision is missing.

    1.4k GitHub stars~3.8k tokensUpdated 1 mo ago
    DevelopmentAuto-check: notes
  • PRP Plan

    Wirasm/prp

    Writes an implementation-ready plan for a feature, bug fix, refactor or chore from a PRD, issue or description, grounded in codebase evidence, and can post it back to the source issue.

    2.3k GitHub stars~4k tokensUpdated 6 days ago
    DevelopmentAuto-check passed

More from NikiforovAll/claude-code-rules

All 26 skills in this repo
  • Reflect Solution

    NikiforovAll/claude-code-rules

    Summarize WHAT WAS SHIPPED in a Claude Code session as a self-contained HTML slide deck — the elevator pitch (problem, solution, decisions, artifacts, verification, gaps), not a play-by-play of tool…

    141 GitHub stars~3.8k tokensUpdated 5 days ago
    Auto-check passed
  • Dotnet Analyzers

    NikiforovAll/claude-code-rules

    Run dotnet format to fix code style and analyzer diagnostics (IDE0005, CA, SA).

    141 GitHub stars~1.9k tokensUpdated 5 days ago
    Auto-check passed
  • Ilspy Decompile

    NikiforovAll/claude-code-rules

    Understand implementation details of .NET code by decompiling assemblies.

    141 GitHub starsUsed in 2 repos~760 tokens
    Auto-check passed
  • Reflect Tree

    NikiforovAll/claude-code-rules

    Visualize a Claude Code session as a quest/skill tree — a navigable SVG graph where nodes are turns and edges show flow, with distinct visual encoding for normal flow, dead-ends, corrections…

    141 GitHub stars~2.8k tokensUpdated 5 days ago
    Auto-check passed
  • Structured Plan Mode

    NikiforovAll/claude-code-rules

    This skill should be used when planning and tracking complex feature implementations that require systematic task decomposition.

    141 GitHub stars~4.2k tokensUpdated 5 days ago
    Auto-check passed
  • Glab

    NikiforovAll/claude-code-rules

    Expert guidance for using the GitLab CLI (glab) to manage GitLab issues, merge requests, CI/CD pipelines, repositories, and other GitLab operations from the command line.

    141 GitHub starsUsed in 1 repo~2.2k tokens
    Auto-check passed

Questions about Spec Driven

What does Spec Driven do?

Guide spec-driven development workflow (Requirements → Design → Tasks → Implementation) with approval gates between phases. Spec Driven is an agent skill from NikiforovAll/claude-code-rules. Guide spec-driven development workflow (Requirements → Design → Tasks → Implementation) with approval gates between phases.

When should I use Spec Driven?

Spec Driven fits situations like: user wants structured feature planning; says use spec-driven; follow the spec process.

How do I install Spec Driven in Claude Code?

Run `npx skills add NikiforovAll/claude-code-rules --skill spec-driven -a claude-code`. Or copy the skill folder (plugins/handbook-agent-spec-kit/skills/spec-driven in NikiforovAll/claude-code-rules) into .claude/skills/spec-driven in your project. Claude Code loads it when a task matches its description.

How do I install Spec Driven in Codex?

Run `npx skills add NikiforovAll/claude-code-rules --skill spec-driven -a codex`. Or copy the skill folder (plugins/handbook-agent-spec-kit/skills/spec-driven in NikiforovAll/claude-code-rules) into .agents/skills/spec-driven in your project. Codex loads it when a task matches its description.

Can I use Spec Driven in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add NikiforovAll/claude-code-rules --skill spec-driven -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/spec-driven, .gemini/skills/spec-driven, .github/skills/spec-driven and .opencode/skills/spec-driven in your project.

What does Spec Driven need to run?

SKILL.md names no scripts, command-line tools or credentials: Spec Driven is instructions for the agent only.

Does Spec Driven access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Spec Driven safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Spec Driven use?

Spec Driven is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Spec Driven use?

About 1.3k tokens (SKILL.md is roughly 5.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Spec Driven?

Skills that share tags, products or a category with Spec Driven: SPARC Development Methodology (ruvnet/ruflo, 74k stars), Ss Spec (Serial-Studio/Serial-Studio, 7.2k stars), Spec Driven Develop (zhu1090093659/spec_driven_develop, 984 stars) and Bulletproof Workflow (artemiimillier/bulletproof, 153 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Spec Driven?

NikiforovAll (a GitHub user) maintains it in NikiforovAll/claude-code-rules, which has 141 GitHub stars. The repository holds 26 skills in this directory. The repository was last updated on October 2, 2026.

Source: NikiforovAll/claude-code-rules on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.