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 pantheon-org/tekhne --skill test-driven-developmentgit clone --depth 1 https://github.com/pantheon-org/tekhneWrote 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/pantheon-org/tekhne/test-driven-development)<a href="https://agentmods.dev/skills/pantheon-org/tekhne/test-driven-development"><img src="https://agentmods.dev/badge/skills/pantheon-org/tekhne/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/pantheon-org/tekhne/test-driven-development"><img src="https://agentmods.dev/badge/skills/pantheon-org/tekhne/test-driven-development.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00087 | $0.01278 |
| Opus 5.5 | $0.00035 | $0.00511 |
| Sonnet 5.5 | $0.00017 | $0.00256 |
| Haiku 4.5 | $0.00009 | $0.00128 |
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 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.
How it starts
The opening of the file, as written. The whole thing — 196 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Test-Driven Development
Navigation hub for applying TDD in day-to-day implementation work.
When to Use
- "Write tests first for this feature."
- "How should I do red-green-refactor here?"
- "I need to reproduce a bug with a failing test first."
- "I want to refactor safely while preserving behavior."
When Not to Use
- End-to-end scenario design across full systems.
- Performance benchmarking and load testing.
- Security testing workflows.
Scope
In Scope
- Unit test design and behavior-driven assertions.
- Red-Green-Refactor cycle execution.
- Mock/stub isolation strategy.
- Naming and organization conventions for maintainable tests.
Out of Scope
- Full E2E harness setup and browser automation pipelines.
- Infra-only test framework bootstrapping.
- Non-deterministic perf profiling.
Workflow
- Write the smallest failing test that expresses one behavior.
- Run tests and verify failure is for the expected reason.
- Implement minimal code to make the test pass.
- Refactor while keeping the suite green.
- Repeat for next behavior/edge case.
Example: Red-Green-Refactor Cycle (TypeScript)
RED — write the failing test first:
// add.test.ts
import { add } from "./add";
test("add returns the sum of two numbers", () => {
expect(add(2, 3)).toBe(5);
});
// ❌ Fails: cannot find module './add'
GREEN — implement the minimum code to pass:
// add.ts
export function add(a: number, b: number): number {
return a + b;
}
// ✅ Test passes
REFACTOR — improve without breaking green:
// add.ts — no logic change needed here, but you might rename,
// extract constants, or improve types while the suite stays green.
export const add = (a: number, b: number): number => a + b;
// ✅ Still green
Example: Elixir variant
# test/math_test.exs (RED)
test "add/2 returns the sum" do
assert Math.add(2, 3) == 5
end
# lib/math.ex (GREEN)
defmodule Math do
def add(a, b), do: a + b
end
What ships with it
60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- .audits/2026-02-21/analysis.md 8.2 KB
- .audits/2026-02-21/audit.json 149 B
- .audits/2026-02-21/remediation-plan.md 242 B
- .audits/2026-02-22/analysis.md 8.2 KB
- .audits/2026-02-22/audit.json 149 B
- .audits/2026-02-22/remediation-plan.md 242 B
- .audits/2026-02-23/analysis.md 8.2 KB
- .audits/2026-02-23/audit.json 150 B
- .audits/2026-02-23/remediation-plan.md 238 B
- .audits/2026-03-02/analysis.md 1.0 KB
- .audits/2026-03-02/audit.json 423 B
- .audits/2026-03-02/remediation-plan.md 2.1 KB
- .audits/2026-10-02/Analysis.md 484 B
- .audits/2026-10-02/audit.json 547 B
- .audits/2026-10-02/Remediation.md 1.2 KB
- .audits/2026-10-03/Analysis.md 484 B
- .audits/2026-10-03/audit.json 547 B
- .audits/2026-10-03/Remediation.md 1.2 KB
- .audits/latest 10 B
- .tekhne/plugin.json 448 B
- CHANGELOG.md 1.1 KB
- evals/instructions.json 2.5 KB
- evals/scenario-1/capability.txt 28 B
- evals/scenario-1/criteria.json 3.6 KB
- evals/scenario-1/task.md 1.3 KB
- evals/scenario-2/capability.txt 22 B
- evals/scenario-2/criteria.json 3.6 KB
- evals/scenario-2/task.md 1.2 KB
- evals/scenario-3/capability.txt 35 B
- evals/scenario-3/criteria.json 3.7 KB
- evals/scenario-3/task.md 1.5 KB
- evals/scenario-4/capability.txt 29 B
- evals/scenario-4/criteria.json 3.7 KB
- evals/scenario-4/task.md 1.6 KB
- evals/scenario-5/capability.txt 35 B
- evals/scenario-5/criteria.json 3.7 KB
- evals/scenario-5/task.md 1.7 KB
- evals/summary.json 820 B
- references/assert-custom-matchers.md 2.3 KB
- references/assert-error-messages.md 1.8 KB
- references/assert-no-assertions-antipattern.md 2.2 KB
- references/assert-snapshot-testing.md 2.1 KB
- references/assert-specific-assertions.md 1.9 KB
- references/cycle-maintain-test-list.md 2.0 KB
- references/cycle-minimal-code-to-pass.md 1.8 KB
- references/cycle-refactor-after-green.md 1.8 KB
- references/cycle-small-increments.md 2.1 KB
- references/cycle-verify-test-fails-first.md 1.8 KB
- references/cycle-write-test-first.md 2.0 KB
- references/data-avoid-mystery-guests.md 2.0 KB
- references/data-builder-pattern.md 2.6 KB
- references/data-minimal-setup.md 1.8 KB
- references/data-unique-identifiers.md 2.3 KB
- references/data-use-factories.md 2.3 KB
- references/design-aaa-pattern.md 2.0 KB
- references/design-avoid-logic-in-tests.md 2.3 KB
- references/design-descriptive-test-names.md 1.7 KB
- references/design-one-assertion-per-test.md 2.2 KB
- references/design-test-behavior-not-implementation.md 2.0 KB
- references/design-test-edge-cases.md 2.4 KB
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 Changed 5d5ff1f7d349
- 21d ago Changed f94ea34583ed
- 1mo ago First seen · 196 lines · 87 tokens per session scan A b20d3cfc874a
test-driven-development is a skill published in the GitHub repository pantheon-org/tekhne (10 stars, last pushed 5d ago), licensed MIT. It adds 87 tokens to every session and 1,278 once invoked, about $0.0003 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-09-03.
Other skills, from other repositories
testing-expert
Ultimate Kotlin testing skill. Use this whenever writing, reviewing, or debugging ANY Kotlin test — unit, integration, property-based, or coroutine. Covers TDD (RED/GREEN/REFACTOR), Kotest + MockK + Kover, anti-pattern detection, and four-pillar quality framework. Triggers on: write a test, add coverage, why is this…
python-testing
Python testing with pytest: TDD loop, fixtures, parametrization, mocking, test organization, async tests, Hypothesis, ExceptionGroup, free-threaded caveats, coverage, and CI hygiene. Use when writing or reviewing Python tests to improve correctness and reduce flakiness.
python-testing
Python testing strategies using pytest, TDD methodology, fixtures, mocking, parametrization, and coverage requirements.
bats-testing-patterns
Master Bash Automated Testing System (Bats) for comprehensive shell script testing. Use when writing tests for shell scripts, CI/CD pipelines, or requiring test-driven development of shell utilities.
python-testing
Python testing strategies using pytest, TDD methodology, fixtures, mocking, parametrization, and coverage requirements.
django-tdd
Django testing strategies with pytest-django, TDD methodology, factoryboy, mocking, coverage, and testing Django REST Framework APIs.