using-spec-driven-tdd

using-spec-driven-tdd is a skill for Claude Code, Codex from strelov1/spec-driven-tdd. It costs 44 tokens per session (303 once invoked), scanned A, original, MIT.

An entry point for a workflow that plans changes in OpenSpec and implements them using test-driven development and code review practices. OpenSpec is used to describe and track a proposed software change.

In plain words
What is it for?
Use it when starting an OpenSpec change or when asked to build or apply one. It coordinates planning, tests, simplification, debugging, reviews, branch work, verification, and finalisation.
Why use it?
It gives implementation work a defined path from proposal through coding, review, verification, and archiving. This reduces the chance of writing code before the requirements and delivery steps are recorded.

Skill for Claude CodeCodex

Part of the spec-driven-tdd plugin — 14 skills, 1 hook 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/strelov1/spec-driven-tdd/using-spec-driven-tdd
Any agent
npx skills add strelov1/spec-driven-tdd --skill using-spec-driven-tdd
Clone the repo
git clone --depth 1 https://github.com/strelov1/spec-driven-tdd

Made for: Claude Code, Codex.

Or install spec-driven-tdd, the plugin that ships this one along with the rest of its 14 skills, 1 hook.

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 using-spec-driven-tdd

README.md
[![agentmods](https://agentmods.dev/badge/skills/strelov1/spec-driven-tdd/using-spec-driven-tdd.svg)](https://agentmods.dev/skills/strelov1/spec-driven-tdd/using-spec-driven-tdd)
Your own site
<a href="https://agentmods.dev/skills/strelov1/spec-driven-tdd/using-spec-driven-tdd"><img src="https://agentmods.dev/badge/skills/strelov1/spec-driven-tdd/using-spec-driven-tdd.svg" alt="Measured on agentmods" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 303 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 $0.00044 $0.00303
Opus 5 $0.00022 $0.00151
Sonnet 5 $0.00009 $0.00061
Haiku 4.5 $0.00004 $0.00030

Measured 5d ago against content hash 031a0caa1b0c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

using-spec-driven-tdd 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/using-spec-driven-tdd/SKILL.md · 32 lines

What it actually says

Using spec-driven-tdd

You have the spec-driven-tdd workflow: plan and track in OpenSpec, implement with Superpowers discipline (TDD, simplify, review), finish and archive.

The rule

When you are about to implement an OpenSpec change — or the user asks to build, apply, or work through a change — invoke the spec-driven-tdd skill BEFORE writing code, and follow its steps rather than improvising.

If a 1% chance it applies, invoke it. Knowing the lifecycle is not the same as following it.

What it composes

  • Plan / track: OpenSpec (/opsx:propose, /opsx:apply, /opsx:archive, /opsx:sync).
  • Execute: Superpowers (test-driven-development, requesting-code-review, receiving-code-review, systematic-debugging, using-git-worktrees, verification-before-completion, finishing-a-development-branch) plus this pack's simplify skill.

Dependencies and graceful degradation: see docs/dependencies.md.

Invoke spec-driven-tdd now if you are starting implementation.

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 · 32 lines · 44 tokens per session scan A 031a0caa1b0c

Subscribe to this mod's changes

using-spec-driven-tdd is a skill published in the GitHub repository strelov1/spec-driven-tdd (10 stars, last pushed 28d ago), licensed MIT. It adds 44 tokens to every session and 303 once invoked, about $0.0002 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.