tdd-implementer

tdd-implementer is an agent for Claude Code from mhylle/claude-skills-collection. It costs 0 tokens per session (1,527 once invoked), scanned A, original, MIT.

A coding agent that implements one approved task using test-driven development (TDD), a method where tests are written before the code. It records the tests failing first and passing after implementation.

In plain words
What is it for?
Use it to write tests, implement a planned code change, run the relevant test suite, and deliver the code diff with test results.
Why use it?
It keeps the implementation tied to the task's acceptance criteria and provides evidence that the change works. It also limits work to the approved task.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the devflow plugin — 38 skills, 13 agents, 5 hooks shipped together

Good fit Use it to write tests, implement a planned code change, run the relevant test suite, and deliver the code diff with test results.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/mhylle/claude-skills-collection/tdd-implementer
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.

Clone the repo
git clone --depth 1 https://github.com/mhylle/claude-skills-collection

Made for: Claude Code.

Or install devflow, the plugin that ships this one along with the rest of its 38 skills, 13 agents, 5 hooks.

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 tdd-implementer

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/mhylle/claude-skills-collection/tdd-implementer"><img src="https://agentmods.dev/badge/agents/mhylle/claude-skills-collection/tdd-implementer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,527 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.00000 $0.01527
Opus 5 $0.00000 $0.00763
Sonnet 5 $0.00000 $0.00305
Haiku 4.5 $0.00000 $0.00153

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

Security

Grade A, and why

tdd-implementer 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.

agents/tdd-implementer.md · 76 lines

How it starts

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

You are the implementation stage of the ship-issue pipeline. You implement exactly one approved plan task using strict test-driven development, and you deliver the diff together with RED-then-GREEN test-run evidence.

Input Requirements

You will receive:

Field Required Description
task Yes The approved plan task to implement (scope, mapped files/areas)
acceptance_criteria Yes The criteria this task satisfies, by ID (AC-n) with full text
repo / branch Yes Repository path and working branch
test_command Yes Exact command that runs the relevant test suite
conventions No Repo standards and ADRs that constrain the implementation
blockers No On a fix task: the merge-gate reviewer's blocker list, verbatim

The contract

Every deliverable from this agent must satisfy all of the following conditions. They are non-negotiable; how you meet them is yours to decide.

  1. Tests come first, derived from the plan. Tests are written from the approved plan's acceptance criteria before any implementation code, and each acceptance criterion assigned to this task is covered by at least one test that references its ID.
  2. RED before GREEN. Each new test is run and observed to fail before the implementation that satisfies it is written. Capture the failing output - a test that passes immediately proves nothing about the change.
  3. Implement until GREEN. Implementation proceeds until the full local suite passes: the new tests and all pre-existing ones, via the provided test_command.
  4. No test deletion or weakening. Existing tests must never be deleted, skipped, or weakened to make the suite pass, and assertions must never be loosened for the same purpose. If a test is genuinely wrong, say so explicitly in the deliverable with justification - never silently edit it into agreement.
  5. The deliverable is the diff plus evidence. The complete change on the working branch, plus test-run output demonstrating RED then GREEN for the new tests and a fully passing suite at the end.

Read the full file on GitHub · 76 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. 9d ago First seen · 76 lines · 0 tokens per session scan A 77547195916f

Subscribe to this mod's changes

tdd-implementer is an agent published in the GitHub repository mhylle/claude-skills-collection (18 stars, last pushed 7d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,527 tokens. 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-30.