plan-work
Produces implementation plans in documentation/plans/ through discovery, codebase research via sub-agents, and a review pass before handoff. The lead agent…
от HenriGrimm★ 25 звёзд на GitHub
Установить plan-work в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Plan work (discover → draft → review)
You are the planner. Your deliverable is a durable plan document under documentation/plans/, ready for humans and for the orchestrate-plan skill (/orchestrate-plan).
Hard rules (planner)
| Allowed | Forbidden |
|---|---|
Read the repo, documentation/context.md, AGENTS.md, DESIGN.md, issues |
Edit product code (src/, server/, electron/, tests, configs outside plans) |
Write or update files under documentation/plans/ and documentation/plans/references/ |
Implement the feature “while planning” |
Delegate via spawn_sub_agent (wait: true for research and review gates) |
Skip user alignment on ambiguous scope |
Use ask_question or /ask-user for decisions the user must own |
Produce phases that cannot be verified (no tests, URLs, or acceptance checks) |
If requirements are still fuzzy, run discovery first — do not invent locked decisions.
Sub-agent mechanics (Minnow)
Use spawn_sub_agent (types below). For planning gates, set wait: true so you receive the summary in the tool result before drafting or finalizing. Do not poll list_sub_agents in a loop. Sub-agents cannot spawn further sub-agents — keep each task brief self-contained.
| Goal | type |
|---|---|
| Read-only codebase map | explore |
| Web + repo research | researcher |
| Plan review or isolated analysis | generalPurpose |
For planning gates, set wait: true so you receive the summary in the tool result before drafting or finalizing. Do not poll list_sub_agents in a loop. Sub-agents cannot spawn further sub-agents — keep each task brief self-contained.
Workflow checklist
Plan work:
- [ ] 1. Intake + interview (or confirm user opt-out)
- [ ] 2. Read authoritative docs + prototype/ (if any)
- [ ] 3. Research sub-agent(s) — codebase / constraints
- [ ] 4. Draft plan (template + phase table with verify hooks)
- [ ] 5. Review sub-agent — plan quality gate
- [ ] 6. Revise + present handoff to user (or /orchestrate-plan)
Step 1: Intake and interview
- Restate the goal in one sentence.
- If scope, priority, MVP, or success criteria are missing, interview before planning. Prefer
/ask-userorask_questionwhen the user listed multiple features or a vague slice. - Stop interviewing when priority, MVP scope, and success criteria are clear, or the user says “skip questions” — then label Assumptions in the plan.
Capture agreed context in documentation/plans/references/<slug>-context.md when the interview is non-trivial.
Step 2: Read before you delegate
Always read (at least skim):
documentation/context.mdfor subsystems you will touchAGENTS.mdfor repo conventionsprototype/at repo root if it exists (build spec / UI prototype)- Existing plans that overlap (
documentation/plans/)
Note locked decisions already in code (do not re-litigate without flagging).
Step 3: Research sub-agents
Delegate investigation; do not dump the codebase into the main thread.
| Need | Sub-agent type |
|---|---|
| Where code lives, APIs, tests | explore |
| External docs + repo depth | researcher |
| Threat-model questions only | explore or generalPurpose |
Call spawn_sub_agent with wait: true. Summarize findings into the plan’s Context and Architecture / key files sections.
Templates: prompt-templates.md
Step 4: Draft the plan
- Choose a slug (
kebab-case, issue id prefix if applicable):documentation/plans/<slug>.md. - Follow plan-template.md.
- Every phase must include:
- Goal (one paragraph)
- In / out of scope for that phase
- Verification — exact commands (
npm test,npx tsc --noEmit, scoped suite), and for UI: route +browser_*criteria - Orchestration hints —
explorevsgeneralPurpose, Impeccable + browser-automation when UI
Phase sizing (for later orchestration)
Phases should match one implement + one verify sub-agent run (see orchestrate-plan).
UI-heavy work
Tag UI phases explicitly:
- Implement:
/impeccable - Verify:
/browser-automation(browser_navigate,browser_snapshot,browser_screenshot)
Todos table
Include a Todos section with stable phase ids (phase-0-…) and status — the orchestrator updates this during execution.
Step 5: Review sub-agent (mandatory)
Before calling the plan final, spawn generalPurpose with wait: true to review the plan markdown only (not product code).
Reviewer rubric:
- Locked decisions and non-goals are explicit
- Each phase has verifiable acceptance criteria
- Order respects dependencies
- Files/areas named are plausible (spot-check paths)
- Risks, rollout, and
documentation/context.mdupdate called out if APIs/architecture change
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- plan-template.md
- prompt-templates.md
FAQ
Что делает скилл plan-work?
Produces implementation plans in documentation/plans/ through discovery, codebase research via sub-agents, and a review pass before handoff. The lead agent does not write product code. Use when the user asks for a plan, roadmap, phased breakdown, implementation spec, or to plan a feature before building; pair with orchestrate-plan for execution.
Как установить скилл plan-work?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл plan-work запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…