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 glebis/claude-skills --skill tddgit clone --depth 1 https://github.com/glebis/claude-skillsWrote 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/glebis/claude-skills/tdd)<a href="https://agentmods.dev/skills/glebis/claude-skills/tdd"><img src="https://agentmods.dev/badge/skills/glebis/claude-skills/tdd/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/glebis/claude-skills/tdd"><img src="https://agentmods.dev/badge/skills/glebis/claude-skills/tdd.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 7 findings, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Rogue Agent · line 228 Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
- medium Rogue Agent · line 454 Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
- medium MCP Rug Pull · line 601 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
- medium MCP Rug Pull · line 601 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
- medium Excessive Agency · line 689 Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
- medium MCP Rug Pull · line 738 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
- medium MCP Rug Pull · line 739 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
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.00092 | $0.08238 |
| Opus 5 | $0.00046 | $0.04119 |
| Sonnet 5 | $0.00018 | $0.01648 |
| Haiku 4.5 | $0.00009 | $0.00824 |
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 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 — 745 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Test-Driven Development — Multi-Agent Orchestration
Enforce disciplined RED-GREEN-REFACTOR cycles using separate subagents for test writing and implementation. The core innovation: the Test Writer never sees implementation code, and the Implementer never sees the specification. This prevents the LLM from leaking implementation intent into test design.
When to Use
- User requests TDD, test-first, or red-green-refactor workflow
- User says
/tddwith a feature description or bug report - User wants to add a feature with test coverage enforced from the start
- User wants to fix a bug by first writing a reproducing test
Invocation Modes
| Invocation | Behavior |
|---|---|
/tdd <feature> |
Interactive mode — pause for approval at slices and each RED checkpoint |
/tdd --auto <feature> |
Autonomous mode — run all slices without pausing; stop ONLY on unrecoverable errors |
/tdd --resume |
Resume from .tdd-state.json in project root |
/tdd --dry-run <feature> |
Validation mode — runs Phase 0 + Phase 1 fully, renders all prompts, but skips Task() calls. No code is written. |
In --auto mode, skip all [HUMAN CHECKPOINT] steps. Print status lines instead:
[auto] RED slice 1/4: "validates email format" — test failing as expected
[auto] GREEN slice 1/4: passing (attempt 1)
[auto] REFACTOR slice 1/4: 1 suggestion applied, 0 skipped
Stop and ask the user ONLY when:
- Implementation fails after 5 attempts
- Regressions cannot be auto-fixed after 3 attempts
- A script error makes it impossible to continue (missing binary, permission denied, etc.)
In --dry-run mode, validate the entire orchestration pipeline without executing any subagents or writing any code:
- Phase 0 runs fully: detect framework, verify baseline, extract API, discover docs, create state file
- Phase 1 runs fully: decompose into slices (still requires user approval)
- For each slice: render all three agent prompts (Test Writer, Implementer, Refactorer) with actual variables. Print rendered prompts to the user with character counts.
- No
Task()calls are made. No test files are written. No implementation code is generated. - Validate: check that all template variables resolve (no
{UNRESOLVED}placeholders), all scripts execute without error, and the state file is well-formed. - Report summary:
What ships with it
25 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.
- .claude-plugin/plugin.json 285 B
- README.md 6.1 KB
- references/agent_prompts.md 15 KB
- references/anti_patterns.md 11 KB
- references/framework_configs.md 8.0 KB
- references/layer_guide.md 4.0 KB
- scripts/discover_docs.sh 10 KB runs code
- scripts/extract_api.sh 7.5 KB runs code
- scripts/run_tests.sh 11 KB runs code
- tests/conftest.py 741 B runs code
- tests/fixtures/go_project/calculator.go 416 B
- tests/fixtures/python_project/docs/API.md 294 B
- tests/fixtures/python_project/docs/openapi.yaml 429 B
- tests/fixtures/python_project/README.md 331 B
- tests/fixtures/python_project/src/calculator.py 1.0 KB runs code
- tests/fixtures/python_project/src/models.py 252 B runs code
- tests/fixtures/ts_project/README.md 61 B
- tests/fixtures/ts_project/src/calculator.ts 723 B runs code
- tests/snapshots/implementer.txt 1.7 KB
- tests/snapshots/refactorer.txt 2.7 KB
- tests/snapshots/test_writer.txt 2.5 KB
- tests/test_discover_docs.py 4.0 KB runs code
- tests/test_extract_api.py 4.7 KB runs code
- tests/test_prompts.py 12 KB runs code
- tests/test_run_tests.py 7.1 KB runs code
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 · 745 lines · 92 tokens per session scan A 8ff431a11ab2
tdd is a skill published in the GitHub repository glebis/claude-skills (374 stars, last pushed 7d ago), licensed MIT. It adds 92 tokens to every session and 8,238 once invoked, about $0.0005 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
engram-testing-coverage
TDD and coverage standards for Engram. Trigger: When implementing behavior changes in any package.
iterative-development
TDD iteration loops using Claude Code Stop hooks - runs tests after each response, feeds failures back automatically.
python
Python development with ruff, mypy, pytest - TDD and type safety.
nw-fp-clojure
Clojure language-specific patterns, data-first modeling, REPL-driven development, and spec.
strict-tdd
Strict RED->GREEN->REFACTOR test-driven development with enforcement. Never write production code before a failing test. Atomic commits per TDD cycle.
mobiai-mobile-tdd
You MUST use this before writing any implementation code for a mobile feature, bug fix, refactor, or behavior change. Tests come before implementation — no exceptions.