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 agentmods add skills/jerseycheese/agent-skills/tdd-implementnpx skills add jerseycheese/agent-skills --skill tdd-implementgit clone --depth 1 https://github.com/jerseycheese/agent-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/jerseycheese/agent-skills/tdd-implement)<a href="https://agentmods.dev/skills/jerseycheese/agent-skills/tdd-implement"><img src="https://agentmods.dev/badge/skills/jerseycheese/agent-skills/tdd-implement.svg" alt="Measured on agentmods" 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.00100 | $0.01245 |
| Opus 5 | $0.00050 | $0.00622 |
| Sonnet 5 | $0.00020 | $0.00249 |
| Haiku 4.5 | $0.00010 | $0.00125 |
Grade A, and why
tdd-implement 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.
How it starts
The opening of the file, as written. The whole thing — 132 lines — stays where its author put it; the contents beside it link to each section on GitHub.
TDD Implementation
The goal is to write honest tests that define behavior, implement the minimum code to pass them, then clean up. No rigging tests to pass. No over-engineering beyond what the tests require.
Step 1: Understand what you're building
Before writing a single test, be clear on:
- What problem does this solve?
- What are the acceptance criteria (from the issue, the user, or both)?
- What already exists in the codebase that you can build on?
# Discover existing patterns before planning
find src/ -name "*.test.*" -o -name "*.spec.*" | head -5 # How tests are structured here
find src/ -name "*.ts" -o -name "*.tsx" | xargs grep -l "[relevant term]" | head -5
Step 2: Define the MVP test plan
Write down 3-5 tests before touching implementation code. Each test should:
- Map directly to a specific acceptance criterion
- Test user-observable behavior, not internal implementation
- Answer: "Would a user notice if this broke?"
Tests to avoid:
- "renders without crashing"
- Prop-passing tests
- Checking that a function was called (unless it's the actual requirement)
- Exhaustive edge cases not in the acceptance criteria
- Tests that just re-assert a simple layout/visual fix — a
box-sizing, padding, or margin tweak guards a value, not behavior, and only bloats the suite
Some fixes don't warrant a test at all
TDD doesn't mean every change gets a spec. When the entire fix is a one-line CSS/layout change, a config tweak, or a copy edit, a dedicated test (Playwright or unit) that pins a single property value is test bloat, not coverage — it makes the suite slower and noisier without catching a real regression class. For these, verify it live (run the app, observe the behavior) and lean on the existing visual-regression / smoke coverage instead of adding a new spec. Say so plainly ("one-line layout fix — no dedicated test") and move on rather than padding the suite to satisfy a checkbox. Reserve new tests for changes with real behavior a user could notice breaking.
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.
- 5d ago First seen · 132 lines · 100 tokens per session scan A 63937151c565
tdd-implement is a skill published in the GitHub repository jerseycheese/agent-skills (1 stars, last pushed 4d ago), licensed MIT. It adds 100 tokens to every session and 1,245 once invoked, about $0.0005 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.
Other skills, from other repositories
testing
TDD/BDD testing principles. Use when writing tests, reviewing test coverage, setting up testing, or discussing test strategy and test architecture.
tdd-workflow
Test-driven development workflow.
workflow-analysis
Workflow d'Analyse Obligatoire. Use when working with workflow analysis.
implement
Write the production code that makes a pre-decided set of failing tests pass, within an explicit writeset, following an explicit behavior contract. Used by /tdd Step 3 and by /swarm-dispatch workers. The caller has already decided architecture, naming, file layout, and abstraction boundaries — this skill executes that…
tdd
Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.
test-driven-development
Write software using the RED-GREEN-REFACTOR cycle for reliable, well-tested code.