tdd

tdd is a skill for Claude Code, Codex from burhankhatri/e2e-testing. It costs 83 tokens per session (2,812 once invoked), scanned A, original, no licence file.

A strict test-first development procedure. TDD means writing a test for a change before writing the code that makes the test pass.

In plain words
What is it for?
Use it before implementing a feature, bug fix, or refactor, or when adding tests.
Why use it?
It helps define expected behaviour early and reduces the risk of making changes without adequate tests.

Skill for Claude CodeCodex

Install

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.

agentmods
npx agentmods add skills/burhankhatri/e2e-testing/tdd
Any agent
npx skills add burhankhatri/e2e-testing --skill tdd
Clone the repo
git clone --depth 1 https://github.com/burhankhatri/e2e-testing

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for tdd

README.md
[![agentmods](https://agentmods.dev/badge/skills/burhankhatri/e2e-testing/tdd.svg)](https://agentmods.dev/skills/burhankhatri/e2e-testing/tdd)
Your own site
<a href="https://agentmods.dev/skills/burhankhatri/e2e-testing/tdd"><img src="https://agentmods.dev/badge/skills/burhankhatri/e2e-testing/tdd.svg" alt="Measured on agentmods" height="20"></a>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,812 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00083 $0.02812
Opus 5 $0.00042 $0.01406
Sonnet 5 $0.00017 $0.00562
Haiku 4.5 $0.00008 $0.00281

Measured 4d ago against content hash 765c7ba73b8f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

tdd 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.

skills/tdd/SKILL.md · 282 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Files

What ships with it

5 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.

Changes

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.

  1. 4d ago First seen · 282 lines · 83 tokens per session scan A 765c7ba73b8f

Subscribe to this mod's changes

tdd is a skill published in the GitHub repository burhankhatri/e2e-testing (15 stars, last pushed 1mo ago), with no licence file. It adds 83 tokens to every session and 2,812 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-08-30.

Related

Other skills, from other repositories

release-process

End-to-end release runbook for playwright-rust — version bump, supply-chain refresh, per-crate CHANGELOGs, tag-prefix routing for the three workspace crates, the safer push-then-tag workflow that waits for CI before publishing, and the post-release follow-ups.

padamson/playwright-rust · 58 tokens

playwright-rs-usage

Procedural reference for using playwright-rs in Rust browser-automation code — object model (Browser/Context/Page/Locator), the locator!() macro, builder pattern for options, auto-wait semantics, adding the crate and installing its browsers, and how to capture / inspect traces for failure diagnosis. Use when writing…

padamson/playwright-rust · 98 tokens

doctest-conventions

Conventions for authoring rustdoc doctests in playwright-rust — the norun annotation, module-level placement, hidden scaffolding lines, and how doctests are exercised in CI vs pre-commit.

padamson/playwright-rust · 49 tokens

supply-chain

Procedure for keeping playwright-rust's cargo audit / cargo deny / cargo vet checks green when bumping the project's own version, when external crates change, and when a security advisory drops.

padamson/playwright-rust · 41 tokens

code-reviewer

Acts as a Senior QA Lead to review Playwright-Java code, ensuring architectural integrity and test stability using static analysis and live MCP verification.

Tahanima/playwright-java-test-automation-architecture · 32 tokens

healing-agent

Expert in diagnosing Playwright failures. Uses the @playwright MCP to verify live DOM state.

Tahanima/playwright-java-test-automation-architecture · 23 tokens