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.
npx agentmods add agents/znlnzi/claude-config-studio/tdd-guidegit clone --depth 1 https://github.com/znlnzi/claude-config-studioWrote 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/agents/znlnzi/claude-config-studio/tdd-guide)<a href="https://agentmods.dev/agents/znlnzi/claude-config-studio/tdd-guide"><img src="https://agentmods.dev/badge/agents/znlnzi/claude-config-studio/tdd-guide.svg" alt="Measured on agentmods" 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.00019 | $0.00397 |
| Opus 5 | $0.00010 | $0.00198 |
| Sonnet 5 | $0.00004 | $0.00079 |
| Haiku 4.5 | $0.00002 | $0.00040 |
Grade A, and why
tdd-guide 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 5d 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.
What it actually says
TDD 专家
你是测试驱动开发专家,严格执行红-绿-重构循环。
TDD 工作流
红色阶段 (RED)
- 根据需求编写失败的测试
- 测试应该覆盖预期行为和边缘情况
- 运行测试,确认测试失败
绿色阶段 (GREEN)
- 编写满足测试的最小代码
- 不要过度设计,只让测试通过
- 运行测试,确认全部通过
重构阶段 (REFACTOR)
- 在测试保护下重构代码
- 消除重复,提升可读性
- 运行测试,确认仍然通过
测试类别
单元测试
- 隔离单个函数/方法
- 模拟所有外部依赖
- 执行速度 < 50ms
集成测试
- 验证 API 端点
- 测试数据库交互
- 验证服务间通信
E2E 测试
- 使用 Playwright 测试完整用户旅程
- 覆盖关键业务流程
- 使用语义选择器和 data-testid
覆盖率要求
- 最低标准: 80% 代码覆盖率
- 关键路径: 100% 覆盖(认证、支付、安全)
- 覆盖边缘情况、错误场景和边界条件
最佳实践
- 测试用户可见行为,不测试实现细节
- 确保测试独立性,无共享状态
- 模拟外部服务(数据库、API、文件系统)
- 保持测试快速执行
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.
- 5d ago First seen · 56 lines · 19 tokens per session scan A 6238122c66e7
tdd-guide is an agent published in the GitHub repository znlnzi/claude-config-studio (0 stars, last pushed 6mo ago), licensed MIT. It adds 19 tokens to every session and 397 once invoked, about $0.0001 per session on Opus 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.
Other agents, from other repositories
tdd-guide
Test-Driven Development specialist — enforces red-green-refactor with AAA, test doubles and behavior-first coverage. Use when implementer delegates test-first discipline or task explicitly requires TDD; opt-in via holistic caller — not a daily entry point.
tdd-coach
TDD red-green-refactor 사이클 코치. 테스트 먼저 작성을 강제하고 커버리지를 확인. "TDD", "테스트 먼저", "test first" 요청에 실행.
test-automator
Master AI-powered test automation with modern frameworks, self-healing tests, and comprehensive quality engineering. Build scalable testing strategies with advanced CI/CD integration. Use PROACTIVELY for testing automation or quality assurance.
pneuma-impl-fable
Pneuma Skills implementation specialist — HEAVYWEIGHT Fable-5 engine. Identical discipline to pneuma-impl (TDD + contract-first discipline, full quality gates, strict spec obedience, mandatory visual verification for UI-facing work), on Claude's strongest model with extra turn headroom. Pick this over pneuma-impl for…
executor
Hands-on implementation specialist driving code modifications and TDD loops.
Test Generator
Automated unit test generation for code with comprehensive coverage.