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★ 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
- GitHub as shared memory — Plans, reviews, assessments, and progress are posted as PR/issue comments so any future session can pick up context.
- HTML markers — Use
<!-- mach6-plan -->as the first line of plan comment bodies for reliable discovery. - No
#Nin comment bodies — GitHub auto-links#Nto issues/PRs. Use "finding 3", "item 3", "stage 2" 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 through multi-step commands. - Project conventions — Check for CLAUDE.md, AGENTS.md, .dreb/CONTEXT.md, and CONTRIBUTING.md before planning.
- 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.
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
Установить 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), без исполняемых скриптов.
Похожие скиллы
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…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от 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…
от Anthropic