/maxi:implementfrom maxi
Use when the user invokes /maxi:implement or wants to start coding from an existing tasks.md — spec must be at status "analyzed"
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.
None: SKILL.md is the whole skill.
Execute the implementation plan from tasks.md. Delegates to /maxi:x-develop. Transitions spec through implementing to done.
docs/maxi/constitution.md must exist — hard stopdocs/maxi/specs/. Status rules:
drafting / specified / clarified / planned / tasked: stop — "Cannot implement — spec must reach analyzed status first. Run /maxi:analyze. If the spec has no issues, analysis completes quickly and confirms this."analyzed: proceed without warningimplementing: resume from last incomplete task in tasks.mdparked: stop — "Spec is parked. Run /maxi:resume first."cancelled: stop — "Spec is cancelled (terminal) and cannot be implemented."done: stop — "Implementation complete. All tasks are done."Load skill-resolution.md. Resolve analyze, x-develop, and finishing-a-development-branch with bash "$maxi_skills_root/using-maxi/resolve-skill.sh" "$maxi_owner_skill" NAME before their handoffs, and read the complete returned instructions. The readiness verifier remains adjacent to the loaded, snapshot-bound analyze skill.
Verify readiness review — first resolve the verifier from the installed plugin snapshot. Load analyze by its registered skill name and take the exact loaded analyze/SKILL.md path reported by the skill loader. Canonicalize its containing directory to a physical absolute path and set the canonical absolute readiness_contract path to the adjacent readiness-contract.sh. Require it to resolve to a regular, non-symlink file (-f and not -L); otherwise stop before any write or /maxi:x-develop dispatch. Do not search from the project root or use a project-relative fallback.
Bind the explicit physical project_root. The installed verifier resolves its sibling review-input helper; missing or symlinked helpers fail closed. Legacy v1 evidence and constitution/ADR changes require a new actual /maxi:analyze, never restamping old evidence.
analysis.md is the required readiness review of the current design and tasks before code begins. Resolve the selected root's canonical analysis.md, spec.md, plan.md, and tasks.md paths, then run the bound verifier:
bash "$readiness_contract" verify \
"$analysis_path" "$spec_path" "$plan_path" "$tasks_path" "$project_root"
Require exit 0 and exactly one stdout line: READINESS_VERIFIED. On any failure, stop before any write or /maxi:x-develop dispatch, report that the readiness evidence is missing, malformed, blocked, unsupported, or stale, and instruct the user to run /maxi:analyze.
Bind artifacts — load the selected root's canonical spec.md, plan.md, and tasks.md. Identify - [ ] (pending) and - [x] (complete) tasks. Pass the exact canonical spec.md, plan.md, and tasks.md paths to /maxi:x-develop.
Transition to implementing — update spec.md frontmatter status: → implementing; also set updated: [today's ISO date] on spec.md. Do this before first task begins.
Delegate to /maxi:x-develop — REQUIRED SUB-SKILL. Pass those three paths. Do NOT implement tasks directly in this session. x-develop owns projection, incremental reconciliation, upstream SDD, and the whole-branch review.
Consume the result — Do not tick task checkboxes in this skill; x-develop is the one incremental checkbox owner. Do not dispatch another code review; upstream SDD already owns the final review. Accept only the exact READY_TO_FINISH token together with its projection lineage and aggregated Ruling: lines. Any other result leaves the spec at implementing and stops without branch finishing.
ADR nudge on rulings — for a returned Ruling: that records an architectural choice absent from plan.md, invoke /maxi:x-adr. The ADR skill drafts and requests its own consent. Do not rewrite the ruling or its SDD evidence.
Transition to done — after READY_TO_FINISH, reread tasks.md and require every canonical task to be checked. Count remaining - [ ] items. If any remain, stop. Otherwise persist status: implementing → done and today's updated: value.
Finish the branch: retain the returned projection lineage and aggregated Ruling: lines until branch/worktree completion, and invoke /maxi:finishing-a-development-branch only after the done write is persisted.
Report — "Implementation complete. All tasks done. Status: done." Include the retained lineage and rulings in the finishing handoff. Apply the Git Closure contract in using-maxi to the result of the existing finishing call. The report MUST fill every slot below with the actual result; a blocked or failed combined check is not successful integration.
Git outcome: integrated | awaiting decision | deliberately retained | blocked
Scope: exact branch/worktree and local batch
Evidence/next action: verified result, pending decision, keep condition, or blocker
For a failed combined check after local integration, include the failing command and both actual main and batch commit IDs. Preserve the work for correction. A decision request alone does not authorize merge, push, or publication.
x-develop reconciles tasks.md incrementally from the upstream ledger. Do not tick task checkboxes in this skill.implementing during work; done only when ALL - [ ] items become - [x].- [ ] items before transitioning to done. If any remain, do not set done.implement.READY_TO_FINISH authorizes implementing → done.done is persisted.If status is already implementing:
readiness-contract.sh verify against the current artifacts:
bash "$readiness_contract" verify \
"$analysis_path" "$spec_path" "$plan_path" "$tasks_path" "$project_root"
Require exit 0 and exactly one stdout line, READINESS_VERIFIED; otherwise stop before any write or /maxi:x-develop dispatch and instruct the user to run /maxi:analyze because the readiness evidence is missing, malformed, blocked, unsupported, or stale.- [ ] (unchecked) taskx-develop must reconcile the current selection against content-bound completion history before dispatch, including clearing stale checks.x-develop, then complete the receipt-gated process normallyWhen 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).- [ ] vs - [x] → read tasks.md first/maxi:x-develop → delegate; never inlinestatus: done before counting - [ ] items → count first, transition only if count is 0implementing before first task → set it immediately before any code is written| Rationalization | Counter |
|---|---|
| "I know this code works, we can skip the review" | Upstream SDD's whole-branch review and hash-bound receipt are mandatory. No chat assertion replaces them. |
| "x-develop is too slow / heavyweight for this task" | There is no lightweight path. x-develop is the only acceptable delegation. Inline implementation is a violation. |
| "The user told me all tasks are done, I'll just set status to done" | You must count - [ ] items in tasks.md yourself. User assertion is not sufficient. If count > 0, do not transition. |
| "I'll tick tasks here too for safety" | Two checkbox owners race. Only x-develop reconciles upstream ledger completion into tasks.md. |
| "Status is already implementing, I'll restart from T001 to be safe" | Resuming uses the validated current ledger. Reexecute changed requirements; preserve only content-bound completions still present in Git. |
| "The user says analyze would find nothing, so I can skip it" | User predictions don't replace the analysis phase. /maxi:analyze is fast and non-destructive — run it. The pipeline is strict precisely to prevent this class of shortcut. |
| "The plan looks solid, analyze is just ceremony here" | If a phase has its own skill, it has its own responsibility. The plan looking solid is not a substitute for the audit. |
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub amoutiers/maxi-superpowers --plugin maxi34 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 created