Maestro Design
Use this when the deliverable is the design of record, not code. The feature
stays proposed while the contract is still editable; feature finalize
writes the clean continuation handoff, and feature accept later freezes the
contract.
Maestro work has three levels:
High = Card
Mid = CardKind / workflow kind
Low = Task
Card is the only high-level durable work object. Feature, Bug, Chore, Custom,
Decision, Idea, and Progress are CardKinds / workflow kinds on cards. A Task is
the low executable unit, not a CardType in the target model; legacy type: task
cards stay readable for compatibility. For tiny same-session work, design
toward the low-ceremony task add/start/done/list surface backed by a Progress
card's progress.yml. Use facets (spec.md, qa.md, notes.md) for any card
type that needs contract, evidence, or history, not only features.
Activate with a known session id:
maestro hook record --event skill_activation --skill maestro-design --session <session_id>
Exact command signatures live in reference/cli.md,
generated from the binary. A verb or flag not listed there does not exist;
read it instead of probing --help. Never chain a guessed id: use only ids
read from verb output, and when a lookup misses, re-list instead of retrying
spelling variations.
Native Maestro MCP tools may be used for supported orientation reads
(maestro_status, maestro_feature_show, maestro_card_list, and related
list/show tools) when the host exposes them. Design authoring still uses the
CLI because feature spec, feature set, and decision lock are not MCP
tools yet. After the design hand-off, maestro-card prefers MCP for supported
work-card and feature-lifecycle steps.
Routing: external PRD with open forks -> decide forks in design, then intake per maestro-card.
First step in a session: run maestro active (pull-only) to see what other
live sessions are working on -- their card, mode, and progress -- before you
open anything. If a peer session is on a related card, connect yours with
maestro link add <your-card> <their-card> once you have created it; maestro
never auto-links. Linked cards exchange messages with maestro msg send <their-card> "<text>" and maestro msg read; an [inbox] N new line on
STDERR before any command means a linked peer is waiting. Act on the banner
before unrelated work and run maestro msg read, as maestro-card already does.
Inbox is advisory coordination: it can suggest a cross-card Task dependency,
but it never blocks execution by itself. Record explicit Task
blockers/dependencies when ordering matters. Reply when the message poses a
question or needs a decision; an FYI needs no reply.
maestro never auto-reads or auto-replies; you do.
Do
- Open one feature for the topic:
maestro feature new "<topic>", seeding--descriptionwith the problem. - Map the current state from real evidence before options:
files, commands, outputs, screenshots, or repo artifacts with
file:linewhere code is involved. Write what you map into the spec as you go:maestro feature spec <id> --section "Current state" --append "<finding>". The same verb fillsProblemand creates any new section;--replacerewrites a section wholesale. For a complex core domain, model it here: run the DDD fitness gate in reference/ddd.md before reaching for domain-driven design (most cards do not need it; stop at the first NO). - Put the problem and open questions on the feature:
maestro feature set <id> --description "<problem>" --question "<loose question>". - Decide one fork at a time. For each fork, give the concrete example, the options, the tradeoff, and the chosen answer. Sketch every option inline as ASCII before asking, so the preview is readable in the terminal.
- Lock each decision durably:
maestro decision new(with--featureand--context) opens the fork;maestro decision lockrecords the chosen answer, the rejected options, and optionally a preview and superseded decisions. A fork the user already settled opens and locks in one call:maestro decision new --lock --decision "<chosen>". Put the chosen ASCII sketch into--previewas multiline text. The lock echoes the entry and appends the dated feature-note pointer automatically; do not add a manual duplicate note. - If a chosen answer removes a field, file, command, behavior, or workflow, enumerate consumers before locking the removal.
- Before locking a material or hard-to-reverse fork, get an independent adversarial review from a fresh context. Use an advisor-class tool or a skeptic sub-agent as peers, then incorporate or explicitly rebut its points in the lock context.
- Keep feature questions current: open decisions are for real forks;
--questionis for loose questions not yet forks. A question that becomes a fork is opened as a decision and removed from questions. - Author the implementation contract only after decisions are stable:
maestro feature set <id> --acceptance "<observable behavior>" --area "<surface>". - When design is done, write the canonical clean handoff:
maestro feature finalize <id>. The next agent starts at.maestro/cards/<id>/handoff.md; rawspec.md,notes.md, and decision cards stay preserved for audit.
Taste Forks
Use a generate-and-filter pass for naming, UX wording, API shape, report
structure, or other judgment-heavy forks. Full orchestration HOW (generator
angles, judge, pairwise): maestro loop show generate-and-filter.
- Write a 3-5 point rubric into
notes.mdbefore generating options. - Ask 3-5 fresh-context generators for one concrete option each from different angles, such as minimal, user-first, or consistency-first.
- Use a fresh judge to score against the rubric and remove duplicates.
- If scores cluster, run pairwise matches until one option survives.
- Lock the survivor with
maestro decision newthenmaestro decision lock; record why rejected options lost. Generators do not become durable outputs. Only the conductor locks, one decision at a time: paralleldecision lockcalls on one feature collide on the shareddecisions.yaml(HARNESS Orchestration). Generators return their option as data; they never lock.
Probe Forks
When a fork hinges on runtime or state-machine behavior you cannot settle by
reading, build a throwaway runnable harness, drive it through the edge cases,
record the answer in the decision context or notes.md, then delete the
harness. Preserve the answer, not the code.
Stop
- Do not implement from this skill.
- Do not batch unrelated decisions into one lock.
- Do not keep a contradicted locked decision silently. To reopen a locked
ruling, supersede it with
maestro decision supersede; never edit or unlock the locked Decision record. - Do not resume from chat memory. Resume from
maestro feature spec <id>,.maestro/cards/<id>/handoff.mdfirst when it exists, then rawspec.md,notes.md, andmaestro decision list --feature <id>for audit or deeper context (the bare list windows to recent decisions, so scope it to your feature).
Hand-off
Pipeline: [maestro-design: feature finalize] -> maestro-card (qa-baseline -> feature accept -> prepare -> work -> verify -> qa-slice -> feature close)
Next: decisions locked and contract authored -> run maestro feature finalize <id>, then hand to maestro-card (its qa-baseline reference, then
feature accept). The hand-off is a lifecycle gate: feature accept and
feature prepare fail when .maestro/cards/<id>/handoff.md is missing or
stale. When the user authorizes building, do not re-ask -- flow straight
through finalize -> qa-baseline -> accept -> prepare -> work.
If another session is live as you cross into implementation, follow the
conflict-handoff protocol in HARNESS.md (worktree-isolate; link + maestro conflict on a shared file; merge back then --clear); maestro loop show conflict-handoff is the full dance.
Source: ReinaMacCredy/maestro — distributed by TomeVault.