Command Palette

Search for a command to run...

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

mach6-plan

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

Explore codebase, create implementation plan, create feature branch with dummy commit, open draft PR, post plan as PR comment. Everything lives on the PR from…

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

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

mach6-plan — Plan, Branch, and Open PR

User input: $ARGUMENTS

This command is strictly for planning. Do NOT implement any code changes — no file edits, no file writes.

Global Rules

  1. GitHub as shared memory — Plans, reviews, assessments, and progress are posted as PR/issue comments so any future session can pick up context.
  2. HTML markers — Use <!-- mach6-plan --> as the first line of plan comment bodies for reliable discovery.
  3. No #N in comment bodies — GitHub auto-links #N to issues/PRs. Use "finding 3", "item 3", "stage 2" etc. instead.
  4. Safe git — Never use git add -A or git add .. Stage files by name. Never stage secrets.
  5. Task tracking — Use the tasks_update tool to show progress through multi-step commands.
  6. Project conventions — Check for CLAUDE.md, AGENTS.md, .dreb/CONTEXT.md, and CONTRIBUTING.md before planning.
  7. 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.

Step 1: Set up task tracking

tasks_update([
  { id: "read", title: "Read issue and context", status: "in_progress" },
  { id: "explore", title: "Explore codebase", status: "pending" },
  { id: "plan", title: "Draft implementation plan", status: "pending" },
  { id: "branch", title: "Create branch and draft PR", status: "pending" },
  { id: "post", title: "Post plan to PR", status: "pending" }
])

Step 2: Read the issue

gh issue view <number>
gh issue view <number> --comments

Parse everything: problem statement, constraints, requirements, acceptance criteria, prior discussion, any existing assessment comments (look for <!-- mach6-assessment -->).

Update task: read → completed, explore → in_progress.

Step 3: Read project conventions

Check for and read (first found):

  • CONTRIBUTING.md, DEVELOPMENT.md, .github/CONTRIBUTING.md
  • CLAUDE.md, AGENTS.md, .dreb/CONTEXT.md

Extract planning-relevant guidance: project layers, testing expectations, coding conventions.

Step 4: Explore the codebase

Launch 2-3 Explore subagents in parallel for concrete evidence retrieval. Built-in agents inherit the parent session's model by default; agent definitions and per-agent settings may explicitly configure models or fallback lists. Override only with good reason (e.g. a particularly large codebase requires inspecting many files).

  • Existing feature evidence: Locate named related features and quote the exact implementation and test snippets that establish their patterns
  • Layer inventory: Enumerate the files, symbols, imports, and calls in an explicitly named existing data flow without deciding the architecture
  • Integration evidence: Enumerate concrete call sites, registrations, configuration, and documentation for the relevant symbols

Do not ask Explore to diagnose the problem, interpret ambiguous requirements, recommend an implementation, design the architecture, or produce the plan. Include project conventions in each agent's context. Each agent returns 5-10 key files with bounded evidence. Read all identified files, then have the primary agent synthesize the architecture, risks, and implementation plan.

Update task: explore → completed, plan → in_progress.

Step 5: Draft the plan

Create an implementation plan with:

  • Clear analysis of the problem
  • Deliverables: What will be produced (be specific)
  • Acceptance criteria: How to verify the work is done
  • Files to create or modify: List each with what changes
  • Testing approach: What tests to write, what to verify
  • Risks and open questions: Anything that might derail implementation

The plan should be high-level on implementation details (avoid cascading spec errors from over-specifying) but specific on deliverables and acceptance criteria.

Project-layer coverage: Cross-check the plan against discovered project layers. Every affected layer should be addressed.

Test coverage is mandatory, not optional. Every new behavior, command handler, formatting function, or event wiring must include tests in the plan. If the target package lacks test infrastructure, the plan must include setting it up as a deliverable — this cannot be deferred. The testing approach should specify:

  • Which test files to create or modify
  • What behaviors to verify (happy paths, error paths, edge cases)
  • What test infrastructure/helpers are needed (mocks, factories, fixtures)

Present the plan to the user. Discuss and revise if they have fe

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

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

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

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

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

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

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

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

FAQ

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

Explore codebase, create implementation plan, create feature branch with dummy commit, open draft PR, post plan as PR comment. Everything lives on the PR from this point forward. Usage: mach6-plan 42

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

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

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

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

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

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