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 skills/andreymudri/claude-teammates/test-driven-developmentnpx skills add andreymudri/claude-teammates --skill test-driven-developmentgit clone --depth 1 https://github.com/andreymudri/claude-teammatesWrote 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/andreymudri/claude-teammates/test-driven-development)<a href="https://agentmods.dev/skills/andreymudri/claude-teammates/test-driven-development"><img src="https://agentmods.dev/badge/skills/andreymudri/claude-teammates/test-driven-development.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.00032 | $0.00783 |
| Opus 5 | $0.00016 | $0.00392 |
| Sonnet 5 | $0.00006 | $0.00157 |
| Haiku 4.5 | $0.00003 | $0.00078 |
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 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 — 71 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Test-Driven Development (TDD)
Adapted from the MIT-licensed superpowers plugin by Jesse Vincent. See NOTICE.md.
Overview
Write the test first. Watch it fail. Write minimal code to pass.
Core principle: if you didn't watch the test fail, you don't know if it tests the right thing.
The Cycle
One action per step. Do not merge steps or skip ahead.
- RED — write one failing test for one behavior.
- Verify RED — run it. Confirm it fails, and check why it fails.
- GREEN — write the minimal code to pass that test.
- Verify GREEN — run the full suite. Confirm it passes and nothing else broke.
- REFACTOR — clean up duplication and naming while staying green.
- COMMIT — commit the change, then start the next RED.
Verify RED means checking the failure message, not just the exit code
A red exit code alone proves nothing. Read the failure message before moving on:
- Correct reason: the assertion fails because the behavior doesn't exist yet — e.g.
AssertionError: expected undefined to equal 'success'. - Wrong reason: a typo in the import path, a missing file, a syntax error, a test that throws before it reaches the assertion. These also turn the run red, but they say nothing about the code under test — a fix that turns this red green afterward proves nothing either, because the test was never exercising the real behavior.
If the failure isn't the expected one, fix the test (or the setup) and rerun until the failure is the one you intended, before writing any implementation code.
GREEN: minimal code only
Write just enough to pass the test that's currently red. Don't add options, branches, or handling for cases no test asks for yet. Extra behavior written now is behavior no test has watched fail — it's exactly the kind of code this discipline exists to prevent.
Red Flags
Any of these thoughts, mid-task, means stop and go back to RED:
| Rationalization | Reality |
|---|---|
| "This is too obvious to test" | Obvious code is exactly the code that breaks silently. Writing the test takes seconds; it's the only proof the obvious thing is actually true. |
| "I'll write tests after" | A test written after the code it verifies always passes on the first run. A test that has never failed has never proven it can catch a bug — you've written documentation, not a test. |
| "The test is trivial" | Trivial to write is not the same as unnecessary. If the assertion is trivial, writing it first costs nothing; skipping it saves nothing either. |
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 · 71 lines · 32 tokens per session scan A 1395f5b79535
test-driven-development is a skill published in the GitHub repository andreymudri/claude-teammates (2 stars, last pushed 4d ago), licensed MIT. It adds 32 tokens to every session and 783 once invoked, about $0.0002 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 skills, from other repositories
hatch3r-bug-fix
Step-by-step bug fix workflow. Diagnose root cause, implement minimal fix, write regression test. Use when fixing bugs, working on bug report issues, or when the user mentions a bug.
agent-development-pack
Curated bundle for building, testing, and coordinating AI agent systems. Includes multi-agent orchestration, agent testing, cross-agent handoff, MCP server building, and prompt engineering. Use when developing AI agent workflows or multi-agent systems.
tdd
Use when implementing features or bug fixes test-first.
teet-verify
Use only after the user has approved the GREEN screenshot. Performs True End-to-End Testing across backend, frontend, DB, and external services with computed-style and boundingBox assertions, producing the final wave evidence pack.
ac-writer
Use as the first phase of a wave. Drafts brutal, testable acceptance criteria for a feature. Each AC must be falsifiable by a real-world test. Output written to .wave/ac.md.
writing-skills
Use when creating a new forge-skill, editing an existing skill, when planning to contribute to forge-skills, when a session has produced a one-off prompt that should be promoted to a skill, or when verifying a skill works before deployment.