tdd-validation-agent

tdd-validation-agent is an agent for Claude Code from vanzan01/claude-code-sub-agent-collective. It costs 16 tokens per session (1,385 once invoked), scanned A, original, MIT.

A validation agent for Test-Driven Development (TDD), the practice of using tests to guide code changes. It checks tests, builds, compilation, code quality, coverage, and evidence of the test-first workflow.

In plain words
What is it for?
Use it to run unit, integration, and end-to-end tests, verify production builds and type checks, assess coverage, and create follow-up tasks for problems.
Why use it?
It shows whether the project builds and tests successfully and identifies where the development process does not meet TDD requirements.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: mentions subagents.

Good fit Use it to run unit, integration, and end-to-end tests, verify production builds and type checks, assess coverage, and create follow-up tasks for problems.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/vanzan01/claude-code-sub-agent-collective/tdd-validation-agent
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/vanzan01/claude-code-sub-agent-collective

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-validation-agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/vanzan01/claude-code-sub-agent-collective/tdd-validation-agent/github.svg)](https://agentmods.dev/agents/vanzan01/claude-code-sub-agent-collective/tdd-validation-agent)
Your own site
<a href="https://agentmods.dev/agents/vanzan01/claude-code-sub-agent-collective/tdd-validation-agent"><img src="https://agentmods.dev/badge/agents/vanzan01/claude-code-sub-agent-collective/tdd-validation-agent/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-validation-agent

Your own site · 80×15
<a href="https://agentmods.dev/agents/vanzan01/claude-code-sub-agent-collective/tdd-validation-agent"><img src="https://agentmods.dev/badge/agents/vanzan01/claude-code-sub-agent-collective/tdd-validation-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 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,385 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.00016 $0.01385
Opus 5.5 $0.00006 $0.00554
Sonnet 5.5 $0.00003 $0.00277
Haiku 4.5 $0.00002 $0.00138

Measured 3mo ago against content hash 642ac6ed52c7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

tdd-validation-agent 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 3mo 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.

templates/agents/tdd-validation-agent.md · 187 lines

How it starts

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

TDD Validation Agent

🧪 Purpose - TDD Quality Gates

Comprehensive TDD Validation - performs deterministic validation of Test-Driven Development methodology compliance with actual test execution, build verification, and quality assessment.

🎯 Core Specialization

TDD Methodology Enforcement:

  • Execute comprehensive test suites and analyze results
  • Validate build and compilation success across all targets
  • Verify TDD RED-GREEN-REFACTOR evidence and methodology compliance
  • Assess code quality, coverage, and integration patterns
  • Generate detailed remediation tasks for TDD violations

🧪 TDD Validation Protocol

PHASE 1: Test Execution Validation

# Comprehensive test validation
npm test                    # Full test suite execution
npm run test:unit          # Unit test validation  
npm run test:integration   # Integration test verification
npm run test:e2e          # End-to-end test validation (if exists)

PHASE 2: Build and Compilation Verification

# Multi-target build validation
npm run build             # Production build verification
npm run typecheck         # TypeScript strict mode validation
npm run lint              # Code quality and style validation

PHASE 3: TDD Methodology Assessment

  • RED Phase Evidence: Verify tests were written first and initially failed
  • GREEN Phase Evidence: Confirm tests now pass with minimal implementation
  • REFACTOR Phase Evidence: Validate code quality improvements without test regression

PHASE 4: Quality Gate Analysis

  • Test coverage analysis and adequacy assessment
  • Code quality metrics and best practices compliance
  • Integration patterns and architectural consistency
  • Performance regression detection and validation

🔍 Validation Triggers

Automatic Routing:

  • Orchestrator phase completion detection
  • Agent TDD checkpoint failures requiring detailed analysis
  • Critical task completion requiring comprehensive validation
  • Quality gate enforcement before production readiness

Read the full file on GitHub · 187 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. 3mo ago First seen · 187 lines · 16 tokens per session scan A 642ac6ed52c7

Subscribe to this mod's changes

tdd-validation-agent is an agent published in the GitHub repository vanzan01/claude-code-sub-agent-collective (525 stars, last pushed 7mo ago), licensed MIT. It adds 16 tokens to every session and 1,385 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-08-30.

Related

tdd-validation-agent compared with agents from other repositories

tdd-validation-agent next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tdd-validation-agentvanzan01/claude-code-sub-agent-collectiveAgent5257mo agoMITA16Claude Code
test-writerFlorianBruniaux/claude-code-pluginsAgent475d agoMITA15Claude Code
jira-task-runneratretyak1985/swarmeryAgent92d agoApache-2.0A42Claude Code
developeralvin-reyes/better-agentic-ideAgent3811d agoMITA30Claude Code
backend-goalvin-reyes/better-agentic-ideAgent3811d agoMITA43Claude Code
web3-solidityalvin-reyes/better-agentic-ideAgent3811d agoMITA43Claude Code
test-runnerFortiumPartners/ensembleAgent124d agoMITA16Claude Code