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 to build in one chat or unattended with /factory.
One plan format
Every plan uses the Build schema in plan-template.md (planType: build). It runs either in one chat or unattended with /factory <plan path>, which turns each step's acceptance into failing checks before building, so write acceptance criteria that can be checked: observable behaviour, concrete commands, and finite lists of cases instead of "every" or "any". When revising an older plan without planType: build, convert it. Apply the active granularity setting to step size.
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 (Build here or /factory)
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.
Write questions for a junior developer: plain language, short sentences, and one decision per card. Ask about expected behavior, what to include first, and priorities. Resolve routine implementation details from the repo; explain any necessary technical term briefly. Describe options by their practical effect, and include your recommendation's reason and main tradeoff in the question or option labels. Keep the saved plan technically precise; use more technical language if the user requests it.
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 the Build schema in plan-template.md.
- Use sequential numbered steps with Changes, Verify, and progress checkboxes; share context once.
- Keep verification concrete: scoped commands, expected outcomes, and browser interactions for UI changes. Respect the active granularity setting.
- Run
check_plan
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- 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; the plan runs in one chat or unattended with /factory.
Как установить скилл 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…