Borrowing it
Nothing to install: this file belongs to Kewton/CommandMate. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/Kewton/CommandMate/main/.claude/commands/tdd-impl.mdgit clone --depth 1 https://github.com/Kewton/CommandMateWrote 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/commands/kewton/commandmate/tdd-impl)<a href="https://agentmods.dev/commands/kewton/commandmate/tdd-impl"><img src="https://agentmods.dev/badge/commands/kewton/commandmate/tdd-impl/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.
<a href="https://agentmods.dev/commands/kewton/commandmate/tdd-impl"><img src="https://agentmods.dev/badge/commands/kewton/commandmate/tdd-impl.svg" alt="Reviewed on agentmods" width="80" 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.00014 | $0.00430 |
| Opus 5.5 | $0.00006 | $0.00172 |
| Sonnet 5.5 | $0.00003 | $0.00086 |
| Haiku 4.5 | $0.00001 | $0.00043 |
Grade B, and why
tdd-impl scanned grade B with 1 finding 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 1mo 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
cat .claude/prompts/tdd-impl-core.md What it actually says
TDD実装スキル
概要
テスト駆動開発(Test-Driven Development)の手法に従って、高品質なコードを実装するスキルです。
このスキルはスラッシュコマンドモードで動作します(ユーザーが直接実行)。
使用方法
/tdd-impl [機能名]- 「[機能名]をTDD実装してください」
- 「テスト駆動開発で[機能名]を実装してください」
実行内容
共通プロンプトを読み込んで実行します:
cat .claude/prompts/tdd-impl-core.md
↑ このプロンプトの内容に従って、TDD実装を実行してください。
動作モード
スラッシュコマンドモード:
- ユーザーから対話的に情報を取得
- Issue番号、受入条件、実装タスクなどを確認
- 結果をターミナルに表示
完了条件
以下をすべて満たすこと:
- すべてのテストが成功(Red → Green サイクル完了)
- カバレッジが目標値以上(デフォルト: 80%)
- 静的解析エラーがゼロ(ESLint, TypeScript)
- コミットが完了
サブエージェントモード
サブエージェントとして呼び出す場合は、PM Auto-Devが以下のように実行します:
Use tdd-impl-agent to implement Issue #166 with TDD approach.
この場合、.claude/agents/tdd-impl-agent.md が使用されます。
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.
- 1mo ago First seen · 60 lines · 14 tokens per session scan B d1b358fe9188
tdd-impl is a command published in the GitHub repository Kewton/CommandMate (44 stars, last pushed today), licensed MIT. It adds 14 tokens to every session and 430 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
pair
AI pair programming — switch between Driver, Navigator, TDD, Review, and Debug modes.
bug
Reproduce then TDD-fix a ready-for-agent bug ticket in this checkout. Web bugs get a browser repro first.
run
Comprehensive code review using specialized agents — orchestrates code, comments, tests, errors, types, and simplify agents sequentially.
arckit.traceability
Generate requirements traceability matrix from requirements to design to tests.
develop-staged-tdd
Orchestrate multi-agent staged development with TDD and quality gates.
test
Run TDD workflow — write failing tests, implement, verify. For bugs, use the Prove-It pattern.