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 skills add laonayan/tdd-mcp-server --skill tdd-workflowgit clone --depth 1 https://github.com/laonayan/tdd-mcp-serverWrote 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/skills/laonayan/tdd-mcp-server/tdd-workflow)<a href="https://agentmods.dev/skills/laonayan/tdd-mcp-server/tdd-workflow"><img src="https://agentmods.dev/badge/skills/laonayan/tdd-mcp-server/tdd-workflow/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/skills/laonayan/tdd-mcp-server/tdd-workflow"><img src="https://agentmods.dev/badge/skills/laonayan/tdd-mcp-server/tdd-workflow.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.00045 | $0.00620 |
| Opus 5.5 | $0.00018 | $0.00248 |
| Sonnet 5.5 | $0.00009 | $0.00124 |
| Haiku 4.5 | $0.00005 | $0.00062 |
Grade A, and why
tdd-workflow 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 4d 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 工作流:{{FEATURE_DESCRIPTION}}
项目配置
- 编程语言: {{LANGUAGE}}
- 测试框架: {{TEST_FRAMEWORK}}
- 复杂度: {{COMPLEXITY_LEVEL}}
纪律总纲(Evidence over Claims)
- 每一步必须有真实证据:测试输出、命令退出码、覆盖率数字——而不是"应该没问题"
- 先看测试失败,再写实现:没见过 RED 的测试不可信
- 最小实现:只写让测试通过所需的最少代码
- 实现先于测试编写的代码应删除重来
Phase 1: RED — 写失败的测试 🔴
1.1 分析需求
- 识别主要功能与输入/输出
- 列出边界条件与错误场景
- 定义验收标准
1.2 设计测试策略
- 简单功能:单元测试 + happy path 优先
- 中等复杂度:补集成测试与错误处理
- 复杂功能:加 e2e 与性能基线
1.3 编写并运行测试
npm test -- --watch # 或对应框架命令
必须确认测试失败,并记录失败信息(这是 RED 证据)。
Phase 2: GREEN — 最小实现 🟢
- 只写让失败测试通过所需的代码
- 不做提前优化、不加未要求的功能
- 运行测试确认全部通过(GREEN 证据)
- 提交:
git commit -m "feat: ... (RED->GREEN)"
Phase 3: REFACTOR — 重构 ♻️
- 消除重复、提升可读性,不改变行为
- 每次重构后重新运行测试确认仍绿
- 重构中测试变红 = 立即停下修复或回滚
常见反模式(禁止)
| 反模式 | 正确做法 |
|---|---|
| 测试和实现一起写 | 先写测试看它失败 |
| 实现写完再补测试 | 删掉实现,从 RED 开始 |
| 断言写死返回值不看真实输出 | 先跑起来观察实际行为 |
| "测试通过了"但没贴输出 | 展示命令输出与退出码 |
下一循环
回到 Phase 1 处理下一个最小增量。保持每轮 2-5 分钟粒度。
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.
- 4d ago First seen · 64 lines · 45 tokens per session scan A d4a6eb65379b
tdd-workflow is a skill published in the GitHub repository laonayan/tdd-mcp-server (2 stars, last pushed yesterday), licensed MIT. It adds 45 tokens to every session and 620 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-11-12.
tdd-workflow compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| tdd-workflowlaonayan/tdd-mcp-server | Skill | 2 | yesterday | MIT | A | 45 | Claude Code, Codex |
| engram-testing-coverageGentleman-Programming/engram | Skill | 8.2k | 2d ago | MIT | A | 25 | Claude Code, Codex |
| principle-test-behavior-not-implementationmichael-denyer/pstack-claude | Skill | 4.4k | 3d ago | MIT | A | 50 | Claude Code |
| nw-ddd-eventsourcingnWave-ai/nWave | Skill | 635 | yesterday | MIT | A | 38 | Claude Code |
| nw-fp-clojurenWave-ai/nWave | Skill | 635 | yesterday | MIT | A | 25 | Claude Code |
| nw-leanux-methodologynWave-ai/nWave | Skill | 635 | yesterday | MIT | A | 37 | Claude Code |
| tddcodewithmukesh/dotnet-claude-kit | Skill | 836 | 12d ago | MIT | A | 81 | Claude Code |