mach6-implement
FreeNo executable scriptsNot checkedImplement a plan from a PR, or fix review findings / CI failures. Usage: mach6-implement 42 [finding-numbers] or mach6-implement 42 ci
by aebrer★ 34 GitHub starsAbout this skill
mach6-implement — Implement Plans, Fix Findings, or Fix CI
User input: $ARGUMENTS
This skill has two modes:
- Implement mode (just a PR number): reads the plan comment and implements it
- Fix mode (with finding numbers or
ci): fixes specific review findings or CI failures
Global Rules
- GitHub as shared memory — Plans, reviews, and assessments are on the PR as comments with HTML markers.
- No
#Nin comment bodies — Use "finding 3", "item 3" etc. instead. - Safe git — Never use
git add -Aorgit add .. Stage files by name. Never stage secrets. - Task tracking — Use the
tasks_updatetool to show progress. - Non-interactive
gh— SetGH_PAGER=catandGH_EDITOR=catbefore allghcommands to prevent interactive prompts from hanging the agent. Use--body-fileinstead of inline--bodyfor allgh pr comment,gh pr create, andgh issue createcalls to avoid shell interpretation of backticks. Write each body to a unique per-invocation temp file viamktemp(e.g.GH_BODY="$(mktemp /tmp/gh-comment.$$.XXXXXXXX)") — never a fixed path like/tmp/gh-comment.md, which concurrent mach6 sessions on the same machine would clobber, cross-posting one session's body to another's PR/issue.
Parent ownership and the formal-review checkpoint
These rules apply in both implement and fix modes, even if you never load the mach6-push or mach6-review skills:
- The parent model owns implementation reasoning. You decide the design, decomposition, exact changes, constraints, and verification strategy. Do not use a subagent as a substitute for thinking through the implementation.
- Direct implementation is generally acceptable. The parent may implement any deliverable or fix directly; this is not limited to trivial work.
- Delegate execution, not unresolved design.
feature-devis optional and is most useful for high-volume, repetitive, mechanically scoped grunt work after you have settled the rules—for example, applying a content-dependent transformation across dozens of files. Ordinary reading and writing alone is not a reason to delegate. - Every delegated task must be clear, detailed, and specific. Give the agent the intended changes, exact relevant files, existing patterns to follow, decision rules, constraints, required tests, and expected verification. Resolve ambiguity yourself before delegation; never hand off a vague deliverable and ask the agent to design it.
- Focused checks remain allowed. You may launch a focused, one-off reviewer or checker subagent for a narrow correctness question or second opinion. Do not turn that into the formal mach6 multi-agent review/assessment workflow or an autonomous review-fix-review loop.
- Save work before formal review. A successful implementation is not yet durable shared work. Committing, pushing, and posting a GitHub progress comment creates the accountability and recovery boundary, reducing the risk that unsupervised review cycles repeatedly rewrite or destroy work before it is saved.
- Only the user starts formal
mach6-review. After implementation and direct verification, do not invokemach6-reviewand do not begin a review cycle. Usesuggest_nextto offer/skill:mach6-push, then stop. After the push is complete, the user decides whether to explicitly invoke review.
Step 1: Parse input
Extract:
- PR number (required)
- Finding numbers to fix (optional — e.g.,
1,2,3) ciflag (optional — fix CI failures instead of review findings)
If only a PR number is given → implement mode.
If finding numbers or ci → fix mode.
Step 2: Checkout
gh pr checkout <pr-number>
git pull
Implement Mode (PR number only)
Step 3i: Read the plan and full PR context
Read ALL PR comments and the PR body to get complete context:
gh pr view <pr-number> --json title,body,comments
Find the plan comment (contains <!-- mach6-plan --> marker) from the comments. If no plan comment exists, tell the user and suggest running /skill:mach6-plan first.
Also read any progress updates, prior review findings, assessments, and discussion — all of this context informs implementation.
Step 4i: Set up task tracking
Create tasks based on the plan's deliverables/features. Example:
tasks_update([
{ id: "read", title: "Read plan and codebase", status: "in_progress" },
{ id: "feature-1", title: "Implement feature 1", status: "pending" },
{ id: "feature-2", title: "Implement feature 2", status: "pending" },
{ id: "test", title: "Add/update tests", status: "pending" },
{ id: "verify", title: "Build and verify", status: "pending" }
])
Step 5i: Read the codebase
Read all files mentioned in the plan. Understand the existing code before making changes.
Step 6i: Implement
For each deliverable, first decide the implementation yourself: map it to the approved plan, inspect the relevant code, settle the design and
Install mach6-implement in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the mach6-implement skill do?
Implement a plan from a PR, or fix review findings / CI failures. Usage: mach6-implement 42 [finding-numbers] or mach6-implement 42 ci
How do I install the mach6-implement skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the mach6-implement skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
by Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
by Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
by Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
by Anthropic