No slash command · from maxi
Use when /maxi:implement delegates execution, or when executing a maxi plan via subagent-driven development
Ships in maxi. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Adapt Maxi's canonical TNNN task artifacts to
/maxi:subagent-driven-development. Upstream SDD owns task dispatch,
task review, fix rounds, its durable ledger, and the whole-branch review.
This skill owns projection, checkbox reconciliation, terminal evidence, and
the return boundary to /maxi:implement.
Announce at start: "I'm using Subagent-Driven Development to execute this plan."
Load skill-resolution.md. Run bash "$maxi_skills_root/using-maxi/resolve-skill.sh" "$maxi_owner_skill" subagent-driven-development and read the complete returned skill before SDD dispatch. Its prompts and helpers come from that same snapshot. On Codex, load codex-waiting.md before executing its task loop; this platform adaptation separates capped waits from the five-minute silent-child reconciliation interval.
Receive the exact canonical spec.md, plan.md, and tasks.md paths from
/maxi:implement. Before any SDD dispatch:
project-tasks.sh with those exact paths, an output below
.superpowers/sdd/projections/, and the selected spec's one
.superpowers/sdd/active-<slug> pointer. Use only the canonical absolute
projection path printed by the command.TNNN once in tasks-file order, followed by its canonical checkbox line and the complete mapped plan-task body. Retain the plan preamble.
Every canonical task, including checked tasks, requires exactly one terminal (plan Task N) mapping, bijective with the positive executable plan headings; missing, duplicate, non-positive, unknown, or unmapped entries require owner correction before publication.maxi-v2 projections; immutable maxi-v1 files remain verifiable historical predecessors. Create an immutable v2 projection once, or verify and reuse it when its plan
and tasks structural identity is unchanged. An owner-managed structural
correction starts a successor projection and workspace. Link that
successor to the prior projection. Recover a predecessor only from the validated active-projection pointer.Before any task dispatch, persist the exact initial selected-TNNN set in the ordinary SDD ledger as the immutable initial task-selection anchor. Write that anchor once from the source selection; do not create a sidecar. Completion reuse requires the latest selection of that TNNN to be complete, with an unchanged exact plan hash and canonical task line. A changed plan conservatively reexecutes completed tasks; a changed task line reexecutes that task. Older completions cannot override a newer pending selection. Reconciliation clears stale checked boxes for selected incomplete tasks before every dispatch. Every projection's exact distributed bytes are SHA-256-bound by its ordinary SDD ledger; missing, duplicate, malformed, or mismatched projection-byte anchors fail closed across the current and predecessor lineage. On every projection reuse and reconciliation, combine both anchors with the bound sources and validated lineage to distinguish tasks that were initially pre-checked from tasks completed later. A missing, malformed, duplicate, or mismatched selection anchor fails closed.
Reconstruct the canonical projection bytes from the bound spec, plan, tasks, and validated selection/lineage ledgers whenever an existing projection is reused. Compare those reconstructed bytes exactly; the projection's stored body hash can detect damage but can never attest its own rewritten content. Plans must end with LF so extraction preserves the final payload line. Closed three-character backtick or tilde fences, optionally indented, normalize to column-zero triple backticks in the preamble and task bodies while preserving payload bytes. Longer or unclosed delimiters and payload lines that would toggle upstream fence state reject; fenced Task-like headings never enter native selection or completion maps.
Only canonical annotated upstream completion records acquit tasks; bare or malformed completion lines fail closed. Both commit IDs must resolve unambiguously to commits, with base an ancestor of end and end an ancestor of current HEAD; unavailable or detached completion history fails before projection reuse, reconciliation, or terminal success. The two accepted forms are exactly Task N: complete (commits <7hex>..<7hex>, review clean) and Task N: complete (commits <7hex>..<7hex>, <positive K> parked). Reject duplicate records, unknown or non-positive task numbers, non-lowercase or non-seven-hex commit IDs, zero parked findings, free-form annotations, and suffixes.
For a successor, only the latest selected occurrence of a TNNN can acquit it, and only when its validated completion still binds the current plan hash and canonical task line. A checkbox alone never acquits a lineage task. Project every other TNNN, including an item whose Maxi checkbox is already checked.
A validated active v1 projection upgrades only through an ordinary projection call to a new <slug>-v2-p-<plan12>-t-<tasks12>-sdd.md successor; its file and ledger remain unchanged. --verify-only requires an existing current v2 identity and never creates project directories, evidence, or upgrades. Only an unchanged-source v1 upgrade completed by validated ledgers may create an empty successor, which still requires a fresh final review; structural changes that leave no work to reexecute reject.
Never infer a predecessor from chat, directory order, a historical annotation, or an arbitrary ledger.
Change directory to the bound physical Git worktree before every upstream SDD helper call. Pass the printed canonical absolute projection path verbatim to every upstream SDD helper.
Before dispatch, run upstream sdd-workspace with that projection and require its returned path to equal the bound .superpowers/sdd/<projection stem without .md> directory. project-tasks.sh validates the upstream plan-path owner before projection reuse or publication; --verify-only leaves a missing legacy marker untouched.
/maxi:subagent-driven-development with the
projection as its plan. Use upstream SDD without fix-loop overrides.reconcile-tasks.sh.
It synchronizes only the TNNN retained in that projected heading, checking completed tasks and unchecking selected incomplete tasks. This skill is
the sole incremental Maxi checkbox owner.execution_mode: final-review-only, skip task
dispatch and still run upstream's whole-branch review.Do not copy or restate upstream's implementer, reviewer, fix-loop, breaker, or final-review instructions here. Upstream SDD remains authoritative for them.
Use upstream's final review exactly once. Intercept immediately before upstream workspace deletion and /maxi:finishing-a-development-branch. Do not delete any workspace and do not finish the branch in this skill.
Before final-review work is dispatched, persist the harness-issued reviewer context as the sole reviewer_context: <context> line in final-reviewer-dispatch.identity beside the current ledger. For Codex, first allocate a fresh reviewer for an identity handshake only: do not send review content during allocation; capture the harness-returned canonical task path, persist it, then dispatch the review through a follow-up to that same reviewer. Require the final reviewer to return that exact context. Accept only a canonical Codex task path (/root/<lowercase-or-underscore segments>) or an existing opaque legacy context such as independent-reviewer. If the harness exposes no verifiable reviewer context, stop without a success token. Never invent, infer, or repair an identity.
In the existing reviewer's initial review dispatch, supply the complete exact canonical spec.md and plan.md, including Review Focus. Preserve every Declined to judge entry in the complete reviewer output. Before terminal recording, decide each declined behavior and record the controller's disposition as a complete Ruling: line in the ordinary SDD ledger; an unavailable host remains an explicit qualification limit.
Before substantive review dispatch, resolve both endpoints to full commit IDs with git rev-parse --verify <ref>^{commit}. For each nonempty ancestral Git range, use the bound upstream review-package helper and canonical projection to generate the persisted package and a separate candidate with those full IDs, then compare them byte-for-byte before dispatch. Supply that unchanged package to the reviewer. For an empty v2 selection after completed v1 migration, recover the recorded original implementation base and obtain a fresh review; if that range is unavailable, stop without terminal success. A range header and matching self-hash are not review evidence. A null fix package requires exactly **Ready to merge?** Yes; a non-null byte-exact fix package requires the initial **Ready to merge?** With fixes or **Ready to merge?** No plus exactly **Fix round:** All findings addressed, no new Critical/Important breakage. Reject No without a validated fix package and clean scoped re-review, a second Ready verdict after fixes, altered conclusions, duplicate or reordered conclusions, and every locally invented verdict.
Every TNNN in a predecessor selection anchor must remain in corrected source artifacts unless the validated lineage contains its canonical annotated completion. Removing an anchored incomplete TNNN during structural correction fails before successor creation and leaves the active-projection pointer unchanged. Complete ledger lines containing Ruling: are preserved byte-for-byte in lineage order and hash-bound by the terminal receipt. Collect and return them, including upstream parked and adjudication records whose line does not begin with Ruling:.
Persist every complete native final review, fix wave, re-review, and adjudication output verbatim, including every verdict line, without editing or omitting any response,
as maxi-final-review.md beside the current ledger. Its frontmatter is exactly:
worktree: <canonical physical Git worktree root>
merge_base: <full 40-hex commit>
reviewed_head: <full 40-hex commit>
reviewed_tree: <full 40-hex tree>
projection: <canonical absolute projection path>
projection_sha256: <64 lowercase hex>
full_review_package: <canonical absolute merge-base..initial-review-head package path>
full_review_package_sha256: <64 lowercase hex>
fix_review_package: <canonical absolute initial-review-head..reviewed-head package path or null>
fix_review_package_sha256: <64 lowercase hex or null>
spec: <canonical absolute spec.md path>
spec_sha256: <64 lowercase hex>
tasks: <canonical absolute tasks.md path>
tasks_sha256: <64 lowercase hex>
reviewer_context: <non-empty harness-issued context>
outcome: finish
Then:
record-terminal.sh with the bound worktree, merge base, projection,
ledger, persisted final review, exact spec/tasks paths, and a receipt beside
the current ledger. The receipt binds the persisted reviewer-dispatch file,
its SHA-256, and the exact returned reviewer context.result-contract.sh with the exact tasks path and terminal receipt.Ruling: lines only together with READY_TO_FINISH.If upstream SDD blocks, final evidence cannot be persisted, or receipt
validation fails, return without a success token. Never translate a Ruling:
line into a Maxi status or silently drop it.
When this skill emits prose that references another maxi artifact (an ADR, spec, plan, tasks, constitution, or repo file) — in an artifact body or in a chat report — render it as a relative Markdown link, not a bare slug/number/code span:
.md (an ADR slug like 0003-constitution-decoupled-from-claudemd; for generic spec artifacts use <feature-dir>/<name>, e.g. 0002-migrate-adr-review-fixes/spec; non-.md files keep their full name).related_adrs entries stay bare slugs) or within-document IDs (FR-012, section names).Load and follow the complete resolved /maxi:subagent-driven-development skill.
This adapter changes only runtime binding, Codex waiting, and the Maxi artifact
and terminal handoff boundaries named above.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
34 skills in this plugin
/analyzeUse when the user invokes /maxi:analyze or wants to audit spec/plan/tasks artifacts for quality issues — spec must be at status "tasked" or later; constitution is required/boardUse when the user invokes /maxi:board or wants a kanban overview of all specs and their pipeline status in the current project/brainstormingYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation)./cancelUse when the user invokes /maxi:cancel, says a feature is abandoned, dead, or will never ship — requires active spec status, explicit reason, and explicit yes/no confirmation before writing anything./clarifyUse when the user invokes /maxi:clarify or when a spec.md has open questions, [NEEDS CLARIFICATION] markers, or ambiguous FRs — status must be "specified"/constitutionUse when the user invokes /maxi:constitution, wants to establish or amend project principles, or when docs/maxi/constitution.md does not yet exist and needs to be creatednpx claudepluginhub amoutiers/maxi-superpowers --plugin maxi