Use when an approved design or a clear ticket has more than one task and must become ordered tasks, each with the files it touches and the test that proves it, before any code is written. Not for one change that fits in one commit, and not before the design is approved.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Maestro Plan?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/ddtcorex-maestro-plan)
---
name: maestro-plan
description: Use when an approved design or a clear ticket has more than one task and must become ordered tasks, each with the files it touches and the test that proves it, before any code is written. Not for one change that fits in one commit, and not before the design is approved.
compatibility: claude, codex, opencode, copilot, dsh
---
# Writing plans
Write the plan for an engineer who has not seen this codebase or this design and who writes idiomatic code once they know the exact interface and the exact test. A plan is the set of decisions they cannot make alone: which files, which names and signatures, which values the design pins, which tests prove each task.
## When not to use
- One change that fits in one commit: just do it test-first.
- No approved design yet: brainstorm first, a plan built on a guess is rework.
- Exploration or a spike: nothing to plan.
## Where it goes
Where the project keeps plans, otherwise `docs/plans/YYYY-MM-DD-<topic>.md`, in English. A medium change may keep its plan in the chat. Plans are working files: delete them once the work ships, the design record stays.
## Plan header
Goal in one sentence, approach in two or three, the design it implements (path), and the global constraints copied from the design, one line each with exact values.
## Tasks
A task is the smallest unit that has its own test cycle and ends in one commit. Fold setup, config and docs into the task whose result needs them. Split only where a reviewer could reject one task and approve its neighbour.
Each task lists:
- **Files:** created, modified (with line ranges), tested.
- **Interfaces:** what it consumes from earlier tasks and what later tasks rely on, as exact names and types. An implementer sees only their task, so this block is how they learn the neighbours' names.
- **Steps**, each one action with a checkable result: write the failing test, run it and see it fail, implement, run it and see it pass, commit.
## What a step contains
A step is done when the implementer can write exactly one reasonable thing from it.
- Test step: the test name and its assertions as code, with the design's exact values.
- Code step: the signature, the file, and the values the design pins. The body appears only for an algorithm the signature and tests do not decide.
- Verification step: the command and the output that means it passed (an `Expected:` line).
- Reference to another task: point to its Interfaces, do not repeat its code.
The plan records decisions, not code. Lines that decide nothing ("handle edge cases", "add validation", "write tests for the above") are the opposite failure.
## Review focus
List up to five inputs or failure modes the design implies but no task tests, most likely to bite first, one line each with the behaviour a reasonable person expects. Then add the test that pins each to the task that owns the code.
## Self-review
Run this yourself, no subagent: every design requirement maps to a task; every step passes the "one reasonable thing" test; names and types in later tasks match earlier ones; each review-focus line has a test. Proportion: a plan several times longer than its design is a transcript of the program, so replace bodies with signatures, test names and assertions.
## Hand-off
Save it, link it, and ask whether it captures what they want. Say in one line that `maestro-execute` runs it, and wait for the user's go before any implementation.