claude-code-orchestra: Skill for Claude Code

.claude/skills/tdd/SKILL.md

tdd is a skill for Claude Code from DeL-TaiseiOzaki/claude-code-orchestra. It costs 23 tokens per session (2,579 once invoked), scanned A, original, MIT.

A coding method called Test-Driven Development (TDD), where tests are written before the code they check. It repeats three steps: write a failing test, make it pass, then clean up the code.

In plain words
What is it for?
Use it when implementing features or fixing behavior that should be described by tests. It covers test cases, production code, edge values, debugging, and review of risky changes.
Why use it?
It gives each change a clear expected result and catches regressions as the code evolves. Test runs are checked consistently so failure and success are explicit.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: reads .claude/ paths; names the TodoWrite tool; mentions Codex.

This is DeL-TaiseiOzaki/claude-code-orchestra's own configuration. It tells Claude Code how to work on claude-code-orchestra itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claude-code-orchestra configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 .claude/skills/_shared/run_tests.py \.

Reuse

Borrowing it

Nothing to install: this file belongs to DeL-TaiseiOzaki/claude-code-orchestra. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/DeL-TaiseiOzaki/claude-code-orchestra/main/.claude/skills/tdd/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/DeL-TaiseiOzaki/claude-code-orchestra

Made for: Claude Code.

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/del-taiseiozaki/claude-code-orchestra/tdd/github.svg)](https://agentmods.dev/skills/del-taiseiozaki/claude-code-orchestra/tdd)
Your own site
<a href="https://agentmods.dev/skills/del-taiseiozaki/claude-code-orchestra/tdd"><img src="https://agentmods.dev/badge/skills/del-taiseiozaki/claude-code-orchestra/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.

agentmods 80×15 button for tdd

Your own site · 80×15
<a href="https://agentmods.dev/skills/del-taiseiozaki/claude-code-orchestra/tdd"><img src="https://agentmods.dev/badge/skills/del-taiseiozaki/claude-code-orchestra/tdd.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,579 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original 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.1 $0.00023 $0.02579
Opus 5 $0.00012 $0.01290
Sonnet 5 $0.00005 $0.00516
Haiku 4.5 $0.00002 $0.00258

Measured 5d ago against content hash e36b566472af, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, 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 5d 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.

.claude/skills/tdd/SKILL.md · 271 lines

How it starts

The opening of the file, as written. The whole thing — 271 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Test-Driven Development

Implement $ARGUMENTS using Test-Driven Development (TDD).

TDD Cycle

Repeat: Red → Green → Refactor

1. Red:    Write a failing test
2. Green:  Write minimal code to pass the test
3. Refactor: Clean up code (tests still pass)

Which test cases matter, and when to refactor, is judgment. The one thing that is not judgment is whether a run came out the way you expected: every test run in this skill goes through .claude/skills/_shared/run_tests.py, which turns "confirm failure" / "confirm success" into an exit code.

Who Does What (delegation-first)

Per .claude/rules/delegation.md, the lead does not write the cycles by hand. The split is fixed:

Work Owner
Requirement clarification, test-case list, boundary values Lead (judgment, Self-Handle List item 5)
Writing the tests and the production code, cycle by cycle general-purpose-sonnet
Cycles with ambiguous design, cross-cutting invariants, or security / concurrency / data-integrity risk general-purpose-opus
A Red that is red for the wrong reason, or a Green that will not go green after one retry codex-debugger
Every run_tests.py / verify.sh gate and the final report Lead — verification never delegates

Only a single trivial cycle on a file already open in context stays with the lead (Self-Handle List item 2). Two or more cycles, or a module the lead has not read, is delegated. Independent modules are delegated in parallel in one message; they share no test file, so nothing serializes them.

The Red/Green Invariant

python3 .claude/skills/_shared/run_tests.py \
  --target tests/test_{module}.py --expect fail --label red-1

--expect fail|pass (required) and --target PATH (repeatable, at least one) are the whole interface; --label names the log file under .claude/logs/ (default run-tests), so a later cycle does not overwrite an earlier log.

Read observed in the JSON — a non-zero exit is not all the same red:

Read the full file on GitHub · 271 lines

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. 5d ago Changed e36b566472af
  2. 10d ago First seen · 271 lines · 23 tokens per session scan A 17240fece7f5

Subscribe to this mod's changes

tdd is a skill published in the GitHub repository DeL-TaiseiOzaki/claude-code-orchestra (195 stars, last pushed today), licensed MIT. It adds 23 tokens to every session and 2,579 once invoked, about $0.0001 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.