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.
npx skills add narumiruna/skills --skill apply-tddgit clone --depth 1 https://github.com/narumiruna/skillsWrote 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.
[](https://agentmods.dev/skills/narumiruna/skills/apply-tdd)<a href="https://agentmods.dev/skills/narumiruna/skills/apply-tdd"><img src="https://agentmods.dev/badge/skills/narumiruna/skills/apply-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.
<a href="https://agentmods.dev/skills/narumiruna/skills/apply-tdd"><img src="https://agentmods.dev/badge/skills/narumiruna/skills/apply-tdd.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00029 | $0.00676 |
| Opus 5.5 | $0.00012 | $0.00270 |
| Sonnet 5.5 | $0.00006 | $0.00135 |
| Haiku 4.5 | $0.00003 | $0.00068 |
Grade A, and why
apply-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 14d 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.
How it starts
The opening of the file, as written. The whole thing — 51 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Applying TDD (Deprecated Reference)
This workflow is excluded from active discovery but retained for repository reference and explicit local compatibility.
Use tests as executable behavior specifications, not as a coverage ritual.
Scope the Boundary
Before writing a test:
- Load test boundaries, resolve the repository's actual production and test layouts from its manifests, package configuration, imports, runner configuration, and established paths, then apply the matching ecosystem fallback only where that evidence is insufficient. More-specific repository instructions override the fallback.
- Partition eligible work by observable behavior rather than by file.
- Apply TDD to a work unit only when all are true:
- it changes a contract observable at a stable boundary
- a focused test can fail for the intended reason before implementation
- the test would catch a plausible regression that cheaper validation would not catch as clearly
Treat supporting edits such as config, wiring, schemas, fixtures, and generated artifacts as part of the behavior slice, not as separate units that each require a red-green cycle. Test custom parsing, defaults, validation, precedence, or resulting runtime behavior; do not write a test that merely repeats static config values, standard framework declarations, or metadata.
If no meaningful behavior contract exists, skip TDD and use the cheapest proportionate check: parse or schema validation, compile or type checking, linting, a focused smoke check, an existing integration test, or the repository gate. Do not add production abstractions solely to make a low-risk declarative edit unit-testable, and do not require an exception report for work that is outside this boundary.
Cycle
- Identify the smallest observable behavior that should change.
- Add or update the narrowest test at a stable boundary that proves the behavior. Control time, randomness, network, storage, and other external inputs so the test is deterministic and isolated.
- Run it and confirm the intended test executes and fails for the intended reason. Discovering zero tests is not a red state. If the test passes, correct it or establish why another check is the valid red state.
- Implement the smallest change that makes the test pass. Do not weaken or delete a correct test to accommodate the implementation.
- Run the focused test, then relevant integration or end-to-end coverage and the repository gate.
- Refactor only while tests are green and without changing behavior.
What ships with it
1 file 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.
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.
- 14d ago Changed · +4 lines · -22 tokens per session ab43ee96a349
- 2mo ago First seen · 47 lines · 51 tokens per session scan A a8b048a1486f
apply-tdd is a skill published in the GitHub repository narumiruna/skills (19 stars, last pushed 4d ago), licensed MIT. It adds 29 tokens to every session and 676 once invoked, about $0.0001 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-09-07.
apply-tdd compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| apply-tddnarumiruna/skills | Skill | 19 | 4d ago | MIT | A | 29 | Claude Code, Codex |
| engram-testing-coverageGentleman-Programming/engram | Skill | 8.4k | 6d ago | MIT | A | 25 | Claude Code, Codex |
| iterative-developmentalinaqi/maggy | Skill | 712 | 3d ago | MIT | A | 24 | Claude Code |
| tddglebis/claude-skills | Skill | 417 | today | MIT | A | 92 | Claude Code |
| mobiai-mobile-tddArisGuimera/MobiAI-Core | Skill | 495 | today | MIT | A | 38 | Claude Code |
| nw-leanux-methodologynWave-ai/nWave | Skill | 636 | 11d ago | MIT | A | 37 | Claude Code |
| nw-ddd-eventsourcingnWave-ai/nWave | Skill | 636 | 11d ago | MIT | A | 38 | Claude Code |