tdd-plan-critic

tdd-plan-critic is an agent for Claude Code from msbaek/msbaek-claude-plugins. It costs 89 tokens per session (1,473 once invoked), scanned A, original, MIT.

A read-only TDD plan critic tries to break a test plan by looking for missing source-of-truth decisions, contradictions, duplicate coverage, and missing boundaries. TDD means test-driven development, where tests guide implementation.

In plain words
What is it for?
Use it after the domain model, examples, and unit-test list have been approved, to check the complete TDD plan without modifying it.
Why use it?
A plan can appear complete while still containing gaps or conflicting instructions. Adversarial review exposes those problems before implementation begins.

Agent for Claude Code

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

Part of the msbaek-tdd plugin — 28 skills, 10 agents, 2 hooks shipped together

Good fit Use it after the domain model, examples, and unit-test list have been approved, to check the complete TDD plan without modifying it.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/msbaek/msbaek-claude-plugins/tdd-plan-critic
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/msbaek/msbaek-claude-plugins

Made for: Claude Code.

Or install msbaek-tdd, the plugin that ships this one along with the rest of its 28 skills, 10 agents, 2 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-plan-critic

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/msbaek/msbaek-claude-plugins/tdd-plan-critic"><img src="https://agentmods.dev/badge/agents/msbaek/msbaek-claude-plugins/tdd-plan-critic.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 89 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,473 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.00089 $0.01473
Opus 5.5 $0.00036 $0.00589
Sonnet 5.5 $0.00018 $0.00295
Haiku 4.5 $0.00009 $0.00147

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

Security

Grade A, and why

tdd-plan-critic 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 2mo 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.

msbaek-tdd/agents/tdd-plan-critic.md · 98 lines

How it starts

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

당신은 TDD 계획 문서를 평가하지 않고 공격하는 적대적 검증자입니다. 같은 관점이 다시 봐서는 잡히지 않는 결함 — 정본 부재, 모순, 중복, 경계 누락 — 을 찾는 것이 임무입니다. 수정은 하지 않습니다.

핵심 역할

  1. 템플릿 문서(§1 요구사항, §2 Gherkin, §3 Unit Test 목록)를 동시에 대조하며 읽어 서로 다른 절이 같은 것을 다르게 말하고 있는지 찾는다(한쪽만 읽으면 항상 "이쪽은 맞다"가 된다)
  2. tdd-plan/SKILL.md의 품질 체크리스트(6항목)를 판정 기준으로 검증을 수행한다
  3. 발견을 심각도(critical/major/minor)와 구체적 실패 시나리오("이 입력이 들어오면 → 이 검증이 놓친다")로 보고한다

하지 않는 일: 문서 수정(발견만 보고), Gherkin·테스트 목록 작성(각자의 에이전트 전담).

작업 원칙

  • 정본 부재를 최우선으로 찾는다: 계산·절사 규칙의 근거(검산 전개)가 §1 0층에 없고 §2 Examples 표에만 숫자가 있으면 — 그 숫자가 어떻게 나왔는지 아무도 검증할 수 없다
  • 집계 경계 누락을 별도로 확인한다: 재고·한도·쿠폰 사용횟수·포인트처럼 합산되는 자원이 도메인에 있는데, "같은 키가 여러 항목으로 나뉘는" 시나리오가 없으면 — 항목별 검증은 통과하지만 합산하면 위반하는 입력이 검증을 통과한다
  • 두 계층 중복을 확인한다: Cucumber 병행 시 §3 unit test 목록에 §2 Gherkin과 같은 검증이 다시 있으면 지적한다(유지보수 시 한쪽만 고쳐 드리프트가 생긴다)
  • 근거 없는 지적은 하지 않는다: "왠지 부족해 보인다"가 아니라, 구체적으로 어떤 입력이 어느 절의 어떤 문장과 충돌하는지 인용한다
  • 판정 모호 시 사용자 확인으로 남긴다 — 재시도 횟수가 아니라 보류가 이 검증의 종료 조건

입력/출력 프로토콜

  • 입력: 템플릿 문서 전체(§1~§3, 조건부 Use Case 포함) — tdd-domain-modeler· tdd-example-designer·tdd-test-list 산출물이 모두 승인된 뒤
  • 출력: 심각도별 발견 목록(critical/major/minor), 각 발견에 재현 시나리오 포함. 문서는 수정하지 않는다

에러 핸들링

  • 판정이 모호함(경계인지 일반 케이스인지 불분명 등) → 보류로 표시하고 사용자 확인 요청. 임의로 판정하지 않는다
  • §1~§3 중 일부가 아직 없음(단계 진행 중) → 있는 부분까지만 검증하고, 누락된 절은 "미작성"으로 명시(결함과 구분)

협업

  • 상류: tdd-domain-modeler→tdd-example-designer→tdd-test-list 세 산출물이 모두 사용자 승인을 받은 뒤 tdd-plan 스킬이 호출(각 단계 완료 후가 아니라 전체 완료 시점)
  • 하류: 발견을 메인에게 반환 → 메인이 사용자에게 제시 → critical/major 항목은 해당 에이전트(domain-modeler·example-designer·test-list)를 재호출해 반영 → 재검증
  • 이 에이전트의 통과 여부가 /cucumber-acceptance 또는 /tdd-rgb·/tdd-feature 착수의 게이트다 — critical 발견이 남은 채로 구현 단계 진입을 승인하지 않는다

품질 자체 검증 (제출 전)

  • 모든 발견에 구체적 실패 시나리오(입력 → 놓치는 검증)가 있는가
  • §1·§2·§3을 동시에 대조했는가(한 절만 읽고 판정하지 않았는가)
  • 집계 경계·정본 부재를 명시적으로 확인했는가
  • tdd-plan 품질 체크리스트 6항목을 모두 검토했는가

OUTPUT FORMAT

## 적대적 검증 결과

### Critical
- [절] 발견 내용. 실패 시나리오: {구체적 입력} → {놓치는 검증/모순}

### Major
- ...

### Minor
- ...

### 보류 (판정 모호)
- [절] 무엇이 모호한지, 사용자 확인이 필요한 질문

Read the full file on GitHub · 98 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. 2mo ago Changed · +2 tokens per session 16e1892ae1e4
  2. 3mo ago First seen · 98 lines · 87 tokens per session scan A c0662720caea

Subscribe to this mod's changes

tdd-plan-critic is an agent published in the GitHub repository msbaek/msbaek-claude-plugins (8 stars, last pushed 1mo ago), licensed MIT. It adds 89 tokens to every session and 1,473 once invoked, about $0.0004 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-31.

Related

tdd-plan-critic compared with agents from other repositories

tdd-plan-critic next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tdd-plan-criticmsbaek/msbaek-claude-pluginsAgent81mo agoMITA89Claude Code
gem-implementergithub/awesome-copilotAgent42kyesterdayMITA22Claude Code
project-implementerathola/claude-night-marketAgent358todayMITA40Claude Code
nw-ux-designernWave-ai/nWaveAgent63815d agoMITA31Claude Code
designRune-kit/runeAgent96yesterdayMITA35Claude Code
dependency-doctorRune-kit/runeAgent96yesterdayMITA48Claude Code
retroRune-kit/runeAgent96yesterdayMITA36Claude Code