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 wsauret/flywheel --skill test-driven-developmentgit clone --depth 1 https://github.com/wsauret/flywheelWrote 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/wsauret/flywheel/test-driven-development)<a href="https://agentmods.dev/skills/wsauret/flywheel/test-driven-development"><img src="https://agentmods.dev/badge/skills/wsauret/flywheel/test-driven-development/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/wsauret/flywheel/test-driven-development"><img src="https://agentmods.dev/badge/skills/wsauret/flywheel/test-driven-development.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.00016 | $0.00522 |
| Opus 5.5 | $0.00006 | $0.00209 |
| Sonnet 5.5 | $0.00003 | $0.00104 |
| Haiku 4.5 | $0.00002 | $0.00052 |
Grade A, and why
test-driven-development 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 16d 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 — 39 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Test-Driven Development
A behavior change is complete only when a public-behavior test fails for the intended reason, passes after the least implementation, and remains green through refactoring.
Input and method
Start with one behavior change or regression and an executable test seam.
- Find the owner. Search the tests for the one that already asserts this behavior at the strongest boundary. Extend that test or its table when it exists; add a new test only for behavior no existing test asserts. Test the same contract at another layer only for a distinct risk the owner cannot reach, such as transport or lifecycle.
- Write the smallest test through the public surface.
- Run RED and confirm the intended failure rather than a typo, missing import, or unrelated setup failure. A negative test must fail for the reason its name states, not for a missing field or another guard.
- Write the least code that makes the test pass and run GREEN.
- Refactor only while GREEN remains preserved.
- Add only contract-relevant edge cases: the implementation's real empty, missing, malformed, duplicate, or boundary branches.
Do not write a test that:
- greps imports or restates a declared type, registration, or flag;
- computes its expected value with the code under test;
- replays a shared helper's generic behavior in every caller's suite;
- carries a name that promises more than its assertions check.
When implementation already exists, establish RED against the unchanged baseline or safely isolate only your own change. Never discard other work or reconstruct unavailable history to manufacture evidence. If no test framework exists, use the narrowest repeatable executable behavior check.
Unit tests stay fast and hermetic. Place persistent regression tests according to existing test conventions.
Result
Stop with exactly one result:
completed: report test location, the owner test you checked and whether you extended it, exact RED and GREEN commands, exit codes, intended RED reason, passing evidence, and refactor outcome.skipped: name one allowed category, such as pure refactor with existing coverage, documentation, configuration, or no useful test seam; provide evidence and the narrowest substitute behavior check.blocked: report why honest RED cannot be established or GREEN cannot be reached, with observed output.
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.
- 16d ago Changed · -2 lines a0f82aa315c1
- 28d ago First seen · 41 lines · 16 tokens per session scan A 9cfa7df91af6
test-driven-development is a skill published in the GitHub repository wsauret/flywheel (19 stars, last pushed today), licensed Apache-2.0. It adds 16 tokens to every session and 522 once invoked, about $0.0001 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-03.
test-driven-development compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| test-driven-developmentwsauret/flywheel | Skill | 19 | today | Apache-2.0 | A | 16 | Claude Code, Codex |
| codew-release-qa-sweepHmbown/CodeWhale | Skill | 41k | 2d ago | MIT | A | 31 | Claude Code, Codex |
| gh-find-prsHmbown/CodeWhale | Skill | 41k | 2d ago | MIT | A | 27 | Claude Code, Codex |
| contributor-onboardingHmbown/CodeWhale | Skill | 41k | 2d ago | MIT | A | 57 | Claude Code, Codex |
| fleet-managerHmbown/CodeWhale | Skill | 41k | 2d ago | MIT | A | 25 | Claude Code, Codex |
| handoffHmbown/CodeWhale | Skill | 41k | 2d ago | MIT | A | 70 | Claude Code, Codex |
| skill-creatorHmbown/CodeWhale | Skill | 41k | 2d ago | MIT | A | 51 | Claude Code |