maestro-tdd

maestro-tdd is a skill for Claude Code from ddtcorex/maestro-skills. It costs 63 tokens per session (829 once invoked), scanned A, original, MIT.

A test-first development workflow, commonly called TDD, where a failing test is written before the code that makes it pass.

In plain words
What is it for?
Use it for logic such as business rules, calculations, validation, parsers, access checks, and bug fixes.
Why use it?
Starting with a failing test confirms that the test checks the missing behaviour and helps keep the implementation focused.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Codex; mentions OpenCode.

Part of the maestro-process plugin — 4 skills, 1 hook shipped together

Good fit Use it for logic such as business rules, calculations, validation, parsers, access checks, and bug fixes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ddtcorex/maestro-skills/maestro-tdd
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.

Any agent
npx skills add ddtcorex/maestro-skills --skill maestro-tdd
Clone the repo
git clone --depth 1 https://github.com/ddtcorex/maestro-skills

Made for: Claude Code.

Or install maestro-process, the plugin that ships this one along with the rest of its 4 skills, 1 hook.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/ddtcorex/maestro-skills/maestro-tdd/github.svg)](https://agentmods.dev/skills/ddtcorex/maestro-skills/maestro-tdd)
Your own site
<a href="https://agentmods.dev/skills/ddtcorex/maestro-skills/maestro-tdd"><img src="https://agentmods.dev/badge/skills/ddtcorex/maestro-skills/maestro-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 maestro-tdd

Your own site · 80×15
<a href="https://agentmods.dev/skills/ddtcorex/maestro-skills/maestro-tdd"><img src="https://agentmods.dev/badge/skills/ddtcorex/maestro-skills/maestro-tdd.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 829 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.
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.00063 $0.00829
Opus 5.5 $0.00025 $0.00332
Sonnet 5.5 $0.00013 $0.00166
Haiku 4.5 $0.00006 $0.00083

Measured yesterday against content hash a6090d68a234, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

maestro-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 yesterday.

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.

plugins/maestro-process/skills/maestro-tdd/SKILL.md · 58 lines

How it starts

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

Test-driven development

Write the test first, watch it fail, write the minimum code to pass. If you did not watch the test fail, you do not know it tests the right thing.

When not to use

  • Templates, styling, config, wiring and generated code: check instead (the page renders, lint passes, the console is clean).
  • A throwaway prototype the user agreed is throwaway.
  • A bug you cannot reproduce in a test (display only, browser only): say so and write the manual steps that reproduce it.

The rule

No production code for logic without a failing test first. Code written before its test is deleted and rewritten from the test: not kept as reference, not adapted.

The cycle

  1. Red. One test, one behaviour, named after the behaviour, real code and no mocks unless unavoidable.
  2. Watch it fail. Run it with the project's own test command. It must fail because the behaviour is missing, not because of a typo or an error. A test that passes immediately tests existing behaviour: fix the test.
  3. Green. The simplest code that passes. No options, no extra features, no cleanup of other code.
  4. Watch it pass. The test passes, the output has no errors or warnings, and the other tests still pass.
  5. Refactor only while green: remove duplication, improve names, add no behaviour.

Before calling the change done, run the project's whole test suite, not just your file, even when the task named one file. Report every failure by name, including ones you did not cause. A red test you watched scroll past and did not mention is a false report.

When you cannot run the tests (no approval for the command, no runner installed), do not leave the code unwritten. Write the test and then the implementation, say plainly that the red and the green were not watched, and give the exact command that runs them. Unverified is a statement you make, never a reason to stop.

Bug fixes

Write the test that reproduces the bug first, watch it fail for that reason, then fix. Never fix a bug without a test.

Read the full file on GitHub · 58 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. yesterday First seen · 58 lines · 63 tokens per session scan A a6090d68a234

Subscribe to this mod's changes

maestro-tdd is a skill published in the GitHub repository ddtcorex/maestro-skills (5 stars, last pushed yesterday), licensed MIT. It adds 63 tokens to every session and 829 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-12-03.

Related

maestro-tdd compared with skills from other repositories

maestro-tdd next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
maestro-tddddtcorex/maestro-skillsSkill5yesterdayMITA63Claude Code
executedatit309/supergraphSkill239d agoMITA26Claude Code
tdddatit309/supergraphSkill239d agoMITA29Claude Code
sdlc-bugfixBlueSkyXN/Codex-is-all-you-needSkill2221d agoGPL-3.0A76Claude Code, Codex
sdlc-test-firstBlueSkyXN/Codex-is-all-you-needSkill2221d agoGPL-3.0A66Claude Code, Codex
tests-purge-unneededOutlineDriven/odin-codex-pluginSkill145mo agoApache-2.0A68Claude Code, Codex
tddtsai09495/matt-pocock-engineeringSkill23mo agoMITA38Codex