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 FlorianBruniaux/claude-code-plugins --skill tdd-workflowgit clone --depth 1 https://github.com/FlorianBruniaux/claude-code-pluginsWrote 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/florianbruniaux/claude-code-plugins/tdd-workflow)<a href="https://agentmods.dev/skills/florianbruniaux/claude-code-plugins/tdd-workflow"><img src="https://agentmods.dev/badge/skills/florianbruniaux/claude-code-plugins/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/florianbruniaux/claude-code-plugins/tdd-workflow"><img src="https://agentmods.dev/badge/skills/florianbruniaux/claude-code-plugins/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.00044 | $0.00811 |
| Opus 5.5 | $0.00018 | $0.00324 |
| Sonnet 5.5 | $0.00009 | $0.00162 |
| Haiku 4.5 | $0.00004 | $0.00081 |
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 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.
How it starts
The opening of the file, as written. The whole thing — 143 lines — stays where its author put it; the contents beside it link to each section on GitHub.
TDD workflow skill
The TDD cycle
RED → GREEN → REFACTOR
↑__________________|
1. RED: Write a failing test
- Write the smallest test that fails
- Test should fail for the right reason
- Ensure the test actually runs
2. GREEN: Make it Pass
- Write minimal code to pass the test
- Don't optimize yet
- It's okay if the code is ugly
3. REFACTOR: Clean up
- Improve code structure
- Remove duplication
- Keep tests passing
TDD best practices
Test naming convention
should_[expected behavior]_when_[condition]
Examples:
should_return_empty_array_when_no_itemsshould_throw_error_when_invalid_inputshould_calculate_total_when_items_present
Test structure (AAA)
it('should calculate discount when coupon applied', () => {
// Arrange - Set up test data
const cart = new Cart();
cart.addItem({ price: 100 });
const coupon = new Coupon('10OFF', 10);
// Act - Execute the behavior
cart.applyCoupon(coupon);
// Assert - Verify the result
expect(cart.total).toBe(90);
});
Test isolation
- Each test should be independent
- No shared state between tests
- Use
beforeEachfor common setup - Clean up in
afterEach
TDD workflow example
Feature: Add item to cart
Step 1: RED
describe('Cart', () => {
it('should add item to cart', () => {
const cart = new Cart();
cart.addItem({ id: 1, name: 'Book', price: 29.99 });
expect(cart.items).toHaveLength(1);
});
});
Run test → FAILS (Cart doesn't exist)
Step 2: GREEN
class Cart {
items = [];
addItem(item) {
this.items.push(item);
}
}
Run test → PASSES
Step 3: REFACTOR
class Cart {
private _items: CartItem[] = [];
get items(): ReadonlyArray<CartItem> {
return this._items;
}
addItem(item: CartItem): void {
this._items.push(item);
}
}
Run test → Still PASSES
Next iteration: Calculate total
Repeat the cycle for each new behavior.
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 · 143 lines · 44 tokens per session scan A fe2a8f6b6867
tdd-workflow is a skill published in the GitHub repository FlorianBruniaux/claude-code-plugins (47 stars, last pushed 5d ago), licensed MIT. It adds 44 tokens to every session and 811 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-26.
tdd-workflow compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| tdd-workflowFlorianBruniaux/claude-code-plugins | Skill | 47 | 5d ago | MIT | A | 44 | Claude Code |
| agent-test-generatortravisjneuman/.claude | Skill | 115 | yesterday | MIT | A | 36 | Claude Code |
| app-store-screenshotsfatihkan/badi | Skill | 8 | 1mo ago | MIT | A | 68 | Claude Code |
| contentfatihkan/badi | Skill | 8 | 1mo ago | MIT | A | 0 | Claude Code |
| expo-app-configfatihkan/badi | Skill | 8 | 1mo ago | MIT | A | 86 | Claude Code |
| expo-config-pluginfatihkan/badi | Skill | 8 | 1mo ago | MIT | A | 85 | Claude Code |
| expo-eas-updatefatihkan/badi | Skill | 8 | 1mo ago | MIT | A | 65 | Claude Code |