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 oleg494/coding-kit --skill test-driven-developmentgit clone --depth 1 https://github.com/oleg494/coding-kitWrote 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/oleg494/coding-kit/test-driven-development)<a href="https://agentmods.dev/skills/oleg494/coding-kit/test-driven-development"><img src="https://agentmods.dev/badge/skills/oleg494/coding-kit/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/oleg494/coding-kit/test-driven-development"><img src="https://agentmods.dev/badge/skills/oleg494/coding-kit/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.00050 | $0.01201 |
| Opus 5.5 | $0.00020 | $0.00480 |
| Sonnet 5.5 | $0.00010 | $0.00240 |
| Haiku 4.5 | $0.00005 | $0.00120 |
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 2d 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 — 98 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Test-Driven Development
Overview
Define acceptance and a behavior check before implementation. For bug fixes, reproduce the failure where reproduction is needed for diagnosis or regression defense; a user-supplied failure report is ground truth for the symptom, and prior failure evidence remains valid for an unchanged state. Show the reproduction (or the valid prior evidence) passes after the fix. Existing contract tests, isolated smoke probes and actual rendered UI checks can provide appropriate evidence; a permanent test must defend a plausible failure. State explicitly when reproduction is unavailable rather than claiming an unrun one.
The TDD Cycle
RED GREEN REFACTOR
Write a test Write minimal code Clean up the
that fails ──→ to make it pass ──→ implementation ──→ (repeat)
│ │ │
▼ ▼ ▼
Test FAILS Test PASSES Tests still PASS
Step 1: RED — Write a Failing Test
For a bug or new missing behavior, observe the check fail for the intended reason before the fix — freshly, or by reusing prior failure evidence valid for the unchanged state. A passing check can establish existing behavior, but cannot establish that it reproduced the reported bug; a user-supplied failure report is ground truth for the symptom. Do not manufacture failures in unrelated behavior.
Step 2: GREEN — Make It Pass
Write the smallest correct implementation of the full request, not just the subset exercised by the current test. Don't over-engineer or drop acceptance criteria.
GREEN is Two Claims: Targeted and Suite
A green run of the check you wrote (targeted green) is not the same claim as the project's checks passing on your final state (suite green). Both are evidence, at different scopes:
- Targeted green (always): the behavior check for this task passes after the change.
- Suite green (scaled to risk, per OPS §3): applicable existing checks pass on the final state. Run the affected suite(s) — not only your file — when the change touches shared code, public contracts or an exposed failure, or when a named concern requests it; a self-contained change with a scoped probe may not need the full project suite. Reuse valid prior evidence instead of rerunning when state, command and environment are unchanged.
- Reporting failures: name every failure you observed, including preexisting ones you did not cause. A red check watched scrolling past and left unmentioned is a report falsified by omission. Distinguish "caused by this change" from "present before" when you know, and say when you don't.
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.
- 2d ago Changed · +9 lines bda79d043f1b
- 8d ago Changed f4d81c6f21f9
- 11d ago Changed 8fb7215f04e6
- 25d ago Changed 14771f311546
- 26d ago Changed 7e5f2847a967
- 1mo ago Changed abae8506a446
- 1mo ago Changed · +1 lines f39423377a59
- 1mo ago Changed 355515b9d429
- 1mo ago Changed a0ee4ef2291e
- 1mo ago First seen · 88 lines · 50 tokens per session scan A be5dab2badb2
test-driven-development is a skill published in the GitHub repository oleg494/coding-kit (3 stars, last pushed 2d ago), licensed MIT. It adds 50 tokens to every session and 1,201 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-08-31.
Other skills, from other repositories
writing-skills
Use when creating a new skill, editing an existing skill, or verifying skills work before deployment.
repro-first
Bug-fix mode that reproduces a bug in a failing test before changing any code. Entered with /repro-first.
tdd-implement
Implements a feature or fix test-first: write failing tests, make them pass with the least code, then refactor. Tests track acceptance criteria, not implementation details. Trigger on: "implement with TDD", "write the tests first", "TDD workflow", "red-green-refactor".
tdd-dev-cycle
A test-driven development workflow, meaning developers write automated tests for expected behavior before implementing the code. It defines stages for analysis, testing, development, verification, commits, and repeated fixes.
test-driven-development
Use when implementing new features or fixing bugs. Write tests before implementation following Red-Green-Refactor. Covers JUnit5, MockK, Compose test rules, and the Prove-It pattern for bugs.
python-testing
Python testing strategies using pytest, TDD methodology, fixtures, mocking, parametrization, and coverage requirements.