spec-driven-dev

spec-driven-dev is a skill for Claude Code, Codex from RockaRhymeLLC/claude-code-skills. It costs 69 tokens per session (1,651 once invoked), scanned A, original, MIT.

A software-development workflow that takes a feature from written requirements to a tested implementation through specification, planning, review, and building.

In plain words
What is it for?
Use it to plan new features or major changes, define expected behaviour and edge cases, split work into smaller stories, review the plan, and implement with tests.
Why use it?
It reduces the risk of coding the wrong thing or discovering design problems late. Test-first work also gives a clear way to check when the feature is complete.

Skill for Claude CodeCodex

Part of the bmobot-skills plugin — 7 skills shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/rockarhymellc/claude-code-skills/spec-driven-dev
Any agent
npx skills add RockaRhymeLLC/claude-code-skills --skill spec-driven-dev
Clone the repo
git clone --depth 1 https://github.com/RockaRhymeLLC/claude-code-skills

Made for: Claude Code, Codex.

Or install bmobot-skills, the plugin that ships this one along with the rest of its 7 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for spec-driven-dev

README.md
[![agentmods](https://agentmods.dev/badge/skills/rockarhymellc/claude-code-skills/spec-driven-dev.svg)](https://agentmods.dev/skills/rockarhymellc/claude-code-skills/spec-driven-dev)
Your own site
<a href="https://agentmods.dev/skills/rockarhymellc/claude-code-skills/spec-driven-dev"><img src="https://agentmods.dev/badge/skills/rockarhymellc/claude-code-skills/spec-driven-dev.svg" alt="Measured on agentmods" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,651 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00069 $0.01651
Opus 5 $0.00034 $0.00826
Sonnet 5 $0.00014 $0.00330
Haiku 4.5 $0.00007 $0.00165

Measured 5d ago against content hash 5a705ff22140, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

spec-driven-dev scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/spec-driven-dev/SKILL.md · 241 lines

How it starts

The opening of the file, as written. The whole thing — 241 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Spec-Driven Development

A structured workflow that takes features from idea to implementation through four phases: Specify → Plan → Review → Build.

When to Activate

  • User wants to build a new feature or significant change
  • User says /spec-dev or "let's build this properly"
  • User wants a structured approach to development
  • A task is complex enough to benefit from upfront planning

Why This Workflow

Most AI coding goes wrong in the same way: jumping straight to code without understanding what to build, then burning context fixing design mistakes that planning would have caught.

This workflow prevents that by:

  1. Specifying what to build before writing any code
  2. Planning the implementation as testable stories
  3. Reviewing the plan with a fresh perspective (catches 80% of design issues)
  4. Building test-first so you know when you're done

Instructions

Phase 1: Specify (/spec-dev spec)

Create a clear specification document.

Gather requirements:

  • What problem does this solve?
  • Who uses it and how?
  • What are the inputs, outputs, and edge cases?
  • What are the constraints (performance, compatibility, security)?
  • What does "done" look like?

Write the spec:

Create specs/{feature-name}.md:

# Feature: {Name}

## Problem
[What problem does this solve and why does it matter?]

## Solution
[High-level description of the approach]

## Requirements

### Functional
- [ ] [Specific, testable requirement]
- [ ] [Another requirement]

### Non-Functional
- [ ] [Performance target, if any]
- [ ] [Security constraints, if any]

## User Stories
- As a [role], I want [action] so that [benefit]

## Edge Cases
- [What happens when X?]
- [What about empty/null/concurrent inputs?]

## Out of Scope
- [Explicitly list what this does NOT include]

## Open Questions
- [Anything that needs clarification before building]

Output: Confirm the spec with the user. Resolve any open questions before proceeding.

Phase 2: Plan (/spec-dev plan)

Read the full file on GitHub · 241 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 241 lines · 69 tokens per session scan A 5a705ff22140

Subscribe to this mod's changes

spec-driven-dev is a skill published in the GitHub repository RockaRhymeLLC/claude-code-skills (1 stars, last pushed 6mo ago), licensed MIT. It adds 69 tokens to every session and 1,651 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

firebase-development-add-feature

This skill should be used when adding features to existing Firebase projects. Triggers on "add function", "create endpoint", "new tool", "add api", "new collection", "implement", "build feature". Guides TDD workflow with test-first development, security rules, and emulator verification.

aiskillstore/marketplace · 64 tokens

agent-evaluation

Use when testing skills, commands, or agents for quality. Use after creating new skills, before deploying agents, or when debugging inconsistent agent behavior. Triggers on "evaluate", "test quality", "is this skill working", or QA of AI workflows.

guia-matthieu/clawfu-skills · 55 tokens

tdd

Apply when adding new behavior or fixing a bug. Red-green-refactor cycle, test-first discipline, when TDD doesn't pay.

sordi-ai/skill-everything · 29 tokens

test-driven-developer

Write bulletproof code using Test-Driven Development (TDD) with proper unit tests, integration tests, mocking, and test architecture. Use when implementing features test-first or improving test coverage.

skillsdirectory/awesome-ai-skills · 43 tokens

test-first-bugs

Enforces a test-driven bug-fixing workflow. Use when a user reports a bug, failing code, an error, or asks to fix something.

jamditis/claude-skills-journalism · 35 tokens

lsp-refactoring

Intelligent code refactoring using IDE-level tools (rename, find-references, go-to-definition), AST-aware pattern matching, and TDD verification. Use for safe, large-scale refactoring with precision.

ArabelaTso/Skills-4-SE · 46 tokens