plan-to-tdd

plan-to-tdd is a skill for Claude Code from georgekhananaev/claude-skills-vault. It costs 49 tokens per session (1,667 once invoked), scanned A, original, MIT.

A workflow for turning a written feature plan into test-driven code. TDD means writing tests that describe the expected behavior before implementing the code, using unit, integration, and end-to-end tests.

In plain words
What is it for?
Use it to implement feature plans from documentation with an Outside-In approach: start with system-level tests, then add smaller unit tests and final browser or end-to-end checks.
Why use it?
It connects system design to concrete checks, so missing behavior and broken contracts are found during implementation. It also gives larger features a planned test structure.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths.

Good fit Use it to implement feature plans from documentation with an Outside-In approach: start with system-level tests, then add smaller unit tests and final browser or end-to-end checks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/georgekhananaev/claude-skills-vault/plan-to-tdd
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 georgekhananaev/claude-skills-vault --skill plan-to-tdd
Clone the repo
git clone --depth 1 https://github.com/georgekhananaev/claude-skills-vault

Made for: Claude Code.

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 plan-to-tdd

README.md
[![agentmods](https://agentmods.dev/badge/skills/georgekhananaev/claude-skills-vault/plan-to-tdd/github.svg)](https://agentmods.dev/skills/georgekhananaev/claude-skills-vault/plan-to-tdd)
Your own site
<a href="https://agentmods.dev/skills/georgekhananaev/claude-skills-vault/plan-to-tdd"><img src="https://agentmods.dev/badge/skills/georgekhananaev/claude-skills-vault/plan-to-tdd/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 plan-to-tdd

Your own site · 80×15
<a href="https://agentmods.dev/skills/georgekhananaev/claude-skills-vault/plan-to-tdd"><img src="https://agentmods.dev/badge/skills/georgekhananaev/claude-skills-vault/plan-to-tdd.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,667 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00049 $0.01667
Opus 5 $0.00024 $0.00834
Sonnet 5 $0.00010 $0.00333
Haiku 4.5 $0.00005 $0.00167

Measured 9d ago against content hash 544bc4d262ee, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

plan-to-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 9d 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.

.claude/skills/plan-to-tdd/SKILL.md · 277 lines

How it starts

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

Plan-to-TDD

Transform feature plans → test-driven implementation using Outside-In methodology.

When to Use

Invoke when:

  • Converting plan docs from docs/plan/YYYY/MM/ to code
  • Designing test structure for new features
  • Applying TDD w/ architectural awareness
  • Bridging system design to implementation

Prerequisites

  • Reference: .claude/skills/test-levels for Unit/Integration/E2E guidance
  • Plan files in docs/plan/YYYY/MM/YYYY_MM_DD_HHmm__FEATURE_NAME.md
Skill Location Phase
doc-navigator .claude/skills/doc-navigator Load/Design - find existing patterns
uiux-toolkit .claude/skills/uiux-toolkit Verify - 9-domain UX evaluation
test-levels .claude/skills/test-levels Plan/Execute - test distribution

Outside-In Workflow

SYSTEM DESIGN → INTEGRATION TESTS (Red) → TDD UNITS → E2E VALIDATION

Phase Flow

┌─────────────────────────────────────────────────┐
│ 1. SYSTEM DESIGN                                │
│    Components → Contracts → Dependencies        │
└────────────────────┬────────────────────────────┘
                     ▼
┌─────────────────────────────────────────────────┐
│ 2. INTEGRATION TESTS (Red)                      │
│    Validate component contracts - tests FAIL    │
└────────────────────┬────────────────────────────┘
                     ▼
┌─────────────────────────────────────────────────┐
│ 3. TDD UNIT PHASE                               │
│    Red → Green → Refactor per unit              │
└────────────────────┬────────────────────────────┘
                     ▼
┌─────────────────────────────────────────────────┐
│ 4. E2E VALIDATION                               │
│    Complete user journey verification           │
└─────────────────────────────────────────────────┘

Execution Steps

Step 1: Load Plan

Input: docs/plan/YYYY/MM/YYYY_MM_DD_HHmm__FEATURE_NAME.md

Extract:

  1. User story & acceptance criteria
  2. Components & dependencies
  3. Data flows
  4. Technical constraints

Read the full file on GitHub · 277 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago First seen · 277 lines · 49 tokens per session scan A 544bc4d262ee

Subscribe to this mod's changes

plan-to-tdd is a skill published in the GitHub repository georgekhananaev/claude-skills-vault (28 stars, last pushed 1mo ago), licensed MIT. It adds 49 tokens to every session and 1,667 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-09-03.