spec-driven-development

spec-driven-development is a skill for Claude Code, Codex from oleg494/coding-kit. It costs 55 tokens per session (998 once invoked), scanned A, original, MIT.

A workflow for writing a clear specification before coding. A specification records what is being built, why it is needed, and how completion will be checked; TDD-like review gates here mean a person reviews the scope, plan, tasks, and implementation at each stage.

In plain words
What is it for?
Use it for new projects, larger features, architectural decisions, and requirements involving several independently testable capabilities. It is not intended for simple fixes or obvious one-line changes.
Why use it?
It reduces confusion when requirements are vague or a change affects several parts of a project. It creates a shared reference before implementation begins.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it for new projects, larger features, architectural decisions, and requirements involving several independently testable capabilities. It is not intended for simple fixes or obvious one-line changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/oleg494/coding-kit/spec-driven-development
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.

Any agent
npx skills add oleg494/coding-kit --skill spec-driven-development
Clone the repo
git clone --depth 1 https://github.com/oleg494/coding-kit

Made for: Claude Code, Codex.

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-development

README.md
[![agentmods](https://agentmods.dev/badge/skills/oleg494/coding-kit/spec-driven-development/github.svg)](https://agentmods.dev/skills/oleg494/coding-kit/spec-driven-development)
Your own site
<a href="https://agentmods.dev/skills/oleg494/coding-kit/spec-driven-development"><img src="https://agentmods.dev/badge/skills/oleg494/coding-kit/spec-driven-development/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for spec-driven-development

Your own site · 80×15
<a href="https://agentmods.dev/skills/oleg494/coding-kit/spec-driven-development"><img src="https://agentmods.dev/badge/skills/oleg494/coding-kit/spec-driven-development.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 998 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00055 $0.00998
Opus 5.5 $0.00022 $0.00399
Sonnet 5.5 $0.00011 $0.00200
Haiku 4.5 $0.00006 $0.00100

Measured 2d ago against content hash bf17c556c967, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

spec-driven-development 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 2d 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.

.agents/skills/spec-driven-development/SKILL.md · 145 lines

How it starts

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

Spec-Driven Development

Overview

Capture observable requirements before code. Reuse an existing spec or the user's explicit acceptance criteria; write only the missing design. Authorization follows OPS.md §1, not phase approval.

When to Use

  • Starting a new project or feature
  • Requirements are ambiguous or incomplete
  • The change touches multiple files or modules
  • You're about to make an architectural decision

When NOT to use: Single-line fixes, typo corrections, or changes where requirements are unambiguous.

Workflow

Specify → plan → implement → verify. Review at meaningful uncertainty or integration boundaries, not as a mandatory human permission step after each phase. Continue already authorized implementation; plan-only requests end at the plan. Artifact size follows complexity, not a fixed template quota.

Phase 0: Scope Check (multi-capability only)

If a single requirement bundles several independently testable capabilities → propose a capability map first:

# Capability Map: [Initiative Name]
| Module id | Responsibility | Depends on |
|---|---|---|
| identity | Accounts, sessions, SSO | — |
| billing | Plans, invoices, payments | identity |
| notifications | Email and webhook fan-out | identity |

Build order: identity → billing, notifications.

Phase 1: Specify

Surface assumptions immediately:

ASSUMPTIONS I'M MAKING:
1. This is a web application (not native mobile)
2. Authentication uses session-based cookies (not JWT)
3. The database is PostgreSQL
→ Correct me now or I'll proceed with these.

Spec template:

# Spec: [Project/Feature Name]

## Objective
[What we're building and why. User stories or acceptance criteria.]

## Tech Stack
[Framework, language, key dependencies with versions]

## Commands
[Build, test, lint, dev — full commands]

## Project Structure
[Directory layout with descriptions]

## Code Style
[Example snippet + key conventions]

## Testing Strategy
[Framework, test locations, coverage requirements, test levels]

## Boundaries
- Always: [Verify affected behavior, follow project conventions, validate trust boundaries]
- Ask first: [Missing irreversible/outward authority or unavailable outcome-changing information]
- Never: [Expose secrets, mutate production data as a test, suppress a real failure]

## Success Criteria
[How we'll know this is done — specific, testable conditions]

## Open Questions
[Anything unresolved that needs human input]

Read the full file on GitHub · 145 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. 2d ago Changed bf17c556c967
  2. 9d ago Changed 703f4c396231
  3. 11d ago Changed b9fce66fd5eb
  4. 25d ago Changed 3d4085e9b5e5
  5. 26d ago Changed a1d0322520c9
  6. 1mo ago Changed 7b09bdfff27f
  7. 1mo ago Changed · -5 lines 6be338a75df6
  8. 1mo ago Changed 250b8b5443f4
  9. 1mo ago Changed 75df12b15545
  10. 1mo ago First seen · 150 lines · 55 tokens per session scan A 7e3df0c8e1e1

Subscribe to this mod's changes

spec-driven-development is a skill published in the GitHub repository oleg494/coding-kit (3 stars, last pushed 2d ago), licensed MIT. It adds 55 tokens to every session and 998 once invoked, about $0.0002 per session on Opus 5.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

run

Execute a named agent role with optimized instructions. Explicit invocation only ($run). Never trigger implicitly.

mystilleef/spae-framework · 21 tokens

tip

Deliver a transformative life perspective shift and a productivity tip. Use when the user invokes /tip or wants non-technical inspiration or a fresh mental model.

mystilleef/spae-framework · 32 tokens

agentic-security-review

Run a security and dependency audit for agent systems, tool-using AI apps, MCP/A2A integrations, or security-sensitive AI-generated code. Check slopsquatting risk, tool shadowing, rug pulls, memory/context poisoning, secrets, unsafe permissions, and common CWE patterns. Use when asked for security review, dependency…

browoz/agentic-sdlc-skills · 106 tokens

agentic-spec

Create a structured specification before agentic coding work. Assemble the six context types, scale rigor for prototype/internal/production tasks, produce SPEC.md, and configure focused AGENTS.md boundaries. Use when asked to write a spec, plan a feature, design an agent/system, define architecture, or create…

browoz/agentic-sdlc-skills · 91 tokens

agentic-evals

Design evaluation contracts and test plans for agentic systems. Create deterministic tests, trajectory evals, quality dimensions, gold-set criteria, and CI gates before or after implementation. Use when asked for tests first, an eval plan, success criteria, non-deterministic testing, LLM-as-judge setup, or…

browoz/agentic-sdlc-skills · 95 tokens

agentic-production-readiness

Prepare an AI agent system for production operation. Cover SHIELD controls, sandbox/canary/production rollout, OpenTelemetry observability with GenAI semantic conventions, Agent Card drafting, governance, and post-deploy monitoring. Use for production readiness checks, go-live checklists, agent monitoring, agent…

browoz/agentic-sdlc-skills · 97 tokens