Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/pantheon-org/tekhnenpx agentmods add skills/pantheon-org/tekhne/test-driven-developmentWrote 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.01293 |
| Opus 5 | $0.00044 | $0.00647 |
| Sonnet 5 | $0.00017 | $0.00259 |
| Haiku 4.5 | $0.00009 | $0.00129 |
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 6d 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/latest 10 B
- .tessl-plugin/plugin.json 456 B
- CHANGELOG.md 1.1 KB
- evals/scenario-01.md 3.7 KB
- evals/scenario-02.md 4.4 KB
- evals/scenario-03.md 3.9 KB
- evals/scenario-04.md 4.0 KB
- evals/scenario-05.md 4.3 KB
- 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
- references/isolate-deterministic-tests.md 2.1 KB
- references/isolate-mock-external-dependencies.md 1.8 KB
- references/isolate-no-shared-state.md 1.8 KB
- references/isolate-prefer-stubs-over-mocks.md 2.4 KB
- references/isolate-use-dependency-injection.md 2.5 KB
- references/org-file-structure.md 1.6 KB
- references/org-group-by-behavior.md 2.1 KB
- references/org-parameterized-tests.md 2.4 KB
- references/org-setup-teardown.md 2.3 KB
- references/org-test-utilities.md 2.3 KB
- references/perf-avoid-network-calls.md 2.0 KB
- references/perf-avoid-sleep.md 2.2 KB
- references/perf-fast-unit-tests.md 1.7 KB
- references/perf-fix-flaky-tests.md 2.2 KB
- references/perf-parallelize-tests.md 2.3 KB
- references/strat-coverage-targets.md 2.2 KB
- references/strat-e2e-critical-paths.md 2.5 KB
- references/strat-integration-boundaries.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.
- 6d 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 yesterday), licensed MIT. It adds 87 tokens to every session and 1,293 once invoked, about $0.0004 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-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 patterns with pytest: TDD loop, fixtures, parametrization, mocking, test organization, async testing, coverage, and CI hygiene. Use when writing or reviewing Python tests to improve correctness and reduce flakiness.
django-tdd
Django testing strategies with pytest-django, TDD methodology, factoryboy, mocking, coverage, and testing Django REST Framework APIs.
python-testing
Python testing strategies using pytest, TDD methodology, fixtures, mocking, parametrization, and coverage requirements.
tdd-guide
Test-driven development skill for writing unit tests, generating test fixtures and mocks, analyzing coverage gaps, and guiding red-green-refactor workflows across Jest, Pytest, JUnit, Vitest, and Mocha. Use when the user asks to write tests, improve test coverage, practice TDD, generate mocks or stubs, or mentions…
rspec-testing
This skill should be used when writing, reviewing, or improving RSpec tests for Ruby on Rails applications. Use this skill for all testing tasks including model specs, controller specs, system specs, component specs, service specs, and integration tests. The skill provides comprehensive RSpec best practices from…