Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

mach6-implement

БесплатноБез исполняемых скриптовНе проверен

Implement a plan from a PR, or fix review findings / CI failures. Usage: mach6-implement 42 [finding-numbers] or mach6-implement 42 ci

aebrerот aebrer★ 34 звезды на GitHub

Об этом скилле

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

  1. GitHub as shared memory — Plans, reviews, and assessments are on the PR as comments with HTML markers.
  2. No #N in comment bodies — Use "finding 3", "item 3" etc. instead.
  3. Safe git — Never use git add -A or git add .. Stage files by name. Never stage secrets.
  4. Task tracking — Use the tasks_update tool to show progress.
  5. Non-interactive gh — Set GH_PAGER=cat and GH_EDITOR=cat before all gh commands to prevent interactive prompts from hanging the agent. Use --body-file instead of inline --body for all gh pr comment, gh pr create, and gh issue create calls to avoid shell interpretation of backticks. Write each body to a unique per-invocation temp file via mktemp (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-dev is 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 invoke mach6-review and do not begin a review cycle. Use suggest_next to 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)
  • ci flag (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

Полный SKILL.md на GitHub

Установить mach6-implement в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл mach6-implement?

Implement a plan from a PR, or fix review findings / CI failures. Usage: mach6-implement 42 [finding-numbers] or mach6-implement 42 ci

Как установить скилл mach6-implement?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл mach6-implement запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить mach6-implement с