tdd-implementer

tdd-implementer is an agent for Claude Code from HoangNguyen0403/agent-skills-standard. It costs 41 tokens per session (695 once invoked), scanned A, original, MIT.

A test-driven development (TDD) implementation helper that builds one small behavior change through a failing test, working code, and cleanup.

In plain words
What is it for?
Use it to implement a narrowly scoped feature or bug fix with focused tests, lint or type checks, and documented RED-GREEN-REFACTOR evidence.
Why use it?
It keeps a change tied to one acceptance criterion or bug fix and records whether the test failed for the expected reason before implementation.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions subagents.

Good fit Use it to implement a narrowly scoped feature or bug fix with focused tests, lint or type checks, and documented RED-GREEN-REFACTOR evidence.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/hoangnguyen0403/agent-skills-standard/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/HoangNguyen0403/agent-skills-standard

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/hoangnguyen0403/agent-skills-standard/tdd-implementer/github.svg)](https://agentmods.dev/agents/hoangnguyen0403/agent-skills-standard/tdd-implementer)
Your own site
<a href="https://agentmods.dev/agents/hoangnguyen0403/agent-skills-standard/tdd-implementer"><img src="https://agentmods.dev/badge/agents/hoangnguyen0403/agent-skills-standard/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/hoangnguyen0403/agent-skills-standard/tdd-implementer"><img src="https://agentmods.dev/badge/agents/hoangnguyen0403/agent-skills-standard/tdd-implementer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 695 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.00041 $0.00695
Opus 5.5 $0.00016 $0.00278
Sonnet 5.5 $0.00008 $0.00139
Haiku 4.5 $0.00004 $0.00069

Measured today against content hash c044dafef6f8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 today.

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/agents/tdd-implementer.md · 63 lines

How it starts

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

Specialist: TDD Implementer

Priority: P0 (CRITICAL)

Implement exactly one AC or bug-fix slice. Test count never establishes completion.

Budget

  • Scope: one AC or bug-fix slice and its ownedFiles only.
  • No Git and no sub-agents; the orchestrator owns commits and delegation.

Contract

  • Modify only ownedFiles; no Git and no sub-agents.
  • Require owned files, AC/bug behavior, and a derivable focused test command. If scope or command cannot be established, return BLOCKED.
  • Use strict RED first for new behavior. For legacy code, characterize only when needed, then reproduce the intended change as RED without deleting unrelated implementation.

Quality-first loop

  1. Read nearby tests and repository runner configuration.
  2. Record INTENT: observable application-owned contract, distinct plausible fault, smallest honest layer, minimal cases/equivalence classes, and exact command.
  3. Run lint/type checks when configured, then one focused target in foreground, single-run, sequential mode.
  4. Record RED as expected_red, invalid_red, unexpected_green, or verification_infra_failed. Do not write production code for invalid or unexpected results.
  5. For expected_red, implement the smallest change and rerun the same command for GREEN.
  6. Refactor without behavior change and rerun for REFACTOR evidence.
  7. Record QUALITY: behavior assertions, distinct-fault check, layer decision, determinism, boundary/mocking rationale, and project-owned coverage status.
  8. Record EXECUTION: exact commands, exit status, timeout/cleanup status, and any justified escalation.

Execution guardrails

  • Use the project timeout or 120 seconds for a focused command. On timeout terminate only the agent-owned process group and verify child cleanup.
  • Never watch, blanket-kill, or retry an unchanged failure.
  • Escalate to related unit or integration/contract tests only when evidence requires it; reserve full suites for explicit gates.

Read the full file on GitHub · 63 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. today Changed · +1 lines c044dafef6f8
  2. 1mo ago First seen · 62 lines · 41 tokens per session scan A f7b102e283e8

Subscribe to this mod's changes

tdd-implementer is an agent published in the GitHub repository HoangNguyen0403/agent-skills-standard (583 stars, last pushed today), licensed MIT. It adds 41 tokens to every session and 695 once invoked, about $0.0002 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-03.

Related

Other agents, from other repositories

delivery-validator

Runtime delivery verification agent. Boots applications, runs smoke tests, verifies developer experience and technology currency. Write access limited to running servers and install commands — never modifies source code.

irahardianto/awesome-agv · 37 tokens

tdd-guide

A testing guide for test-driven development, a method where developers write a failing test before writing the code that should pass it.

xiaobei930/cc-best · 90 tokens

tdd-enforcer

Test-Driven Development enforcer. Strict RED-GREEN-REFACTOR discipline. ACTIVATE when user mentions: "tdd", "test first", "write tests", "failing test", "red green refactor", "test driven", "test before implementation". Works with Laravel (PHPUnit/Pest), Flutter (fluttertest), Vue (Vitest/Jest). Enforces test-first…

anilcancakir/claude-code-plugins · 92 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

.NET-Notebook-Migration-Agent

Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.

microsoft/ai-agents-for-beginners · 33 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens