Plan
Produce structured implementation plans (goal, approach, test strategy, blast radius, parallelism, approval gate before code) in PLAN.md for fresh-session…
от melodic-software★ 34 звезды на GitHub
Установить Plan в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Plan
Arguments. [task description|review|close-out] [--unattended] [--reader guardrails|standard|step-by-step]. e.g., /planning:plan add caching to query handlers, /planning:plan #<map>, /planning:plan review, /planning:plan close-out --reader guardrails. Take --reader <depth> out of $ARGUMENTS before routing; it sets the "Reader depth" of the published copy.
Repository context. Gather first
Run each command below as its own Bash call, all sent together in one message (worktree isolation).
Keep any bound in the command's own pipe (output limits).
Unless this section says otherwise, treat a failure (not a repository, git unavailable) as an unknown value and carry on. Keep these as body calls, never ## Pre-computed context lines (gather-block convention).
- Current branch,
git branch --show-current - Recent commits,
git log --oneline -5 - Working tree status (empty = clean),
git status --porcelain | head -10
Variables
Arguments: $ARGUMENTS
Purpose
Every implementation starts with a clear design, evidence, a test strategy, and user sign-off before any code is written. This is not Claude Code's built-in plan mode (what that mode does: Analyze before you edit with plan mode); this skill is a separate planning discipline that can run inside it. It consumes exploration, research, and /planning:design (types, interface contracts, module boundaries, package topology) and produces a plan the user approves before execution. A 2-minute plan prevents a 20-minute rework cycle. Match planning depth to blast radius: a one-file fix gets a brief plan; a cross-cutting architecture change gets a full plan with stress-testing and research-iterate loops.
Level this skill decides: files and symbols, which files change and which functions, types and tests each phase touches; behavior is the interview's Brief, and interfaces and interface contracts are /planning:design's.
Skip the plan when one sentence covers the change. First try to write the whole diff as one sentence. The test passes when no design question is open and that sentence describes every edit. How this skill was reached decides what happens next:
- Invoked proactively (nobody asked for a plan): say the change fits one sentence, give the sentence, and skip the plan. No checklist, no plan-reviewer, no PLAN.md draft.
- Invoked on an explicit request (
/planning:plan, "plan this"): say the change fits one sentence, give the sentence, and ask whether to plan it anyway. Write a plan only after a yes; then the Trivial row of the Step 2 scale table applies. A run with nobody to ask records the sentence and skips the plan.
Emit checklist
For multi-step planning (almost always steps 1-5), copy ${CLAUDE_PLUGIN_ROOT}/skills/plan/templates/checklist.md to <memory_dir>/<topic-slug>/plan-checklist.md (default .work/) by reading the template with the Read tool and writing the copy with the Write tool, never cp, sed or a shell redirect from a plugin file, and tick each - [ ] as its step completes. Step 5 (present for approval) is a non-negotiable tick. Step 3 is ticked once the reviewer rule (Gates) is applied: the reviewer ran, or its skip and reason are recorded.
Skip when: the one-sentence skip (Purpose) applied, so no plan is written. On a mid-flight review replan, append a dated scope-change note and revise the PLAN phases instead; do not spawn a second checklist file.
For non-trivial / multi-layer plans, Step 2 walks its design-default checklist against the plan: confirm the plan carries the resolved threads in PLAN.md's ## Design section (and the design artifacts behind it) rather than re-deriving the axes. Configurability, extension points, observability, and testability are design threads owned by /planning:design's "Design defaults"; type-collaboration shape is its type modeling. The principle and lifecycle-and-reversibility threads /planning:design-handoff requires are audited the same way: resolved, directional or tagged-deferred (at quality bar prototype, named as deferred); a missing one routes back through /planning:design-handoff, except under an early-exit design-resolution.md, which carries neither. Audit that the plan carries their resolutions, don't re-open them. When a phase is tagged for a phase-boundary review, confirm the Brief carries a Quality bar: line: that review rates at it ([context/plan-temp
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
Workflow(planning:plan-panel)
Вложенные файлы
- context/.markdownlint-cli2.jsonc
- context/close-out.md
- context/create.md
- context/plan-panel.md
- context/plan-reviewer.md
- context/plan-template.md
- context/research-iterate.md
- context/review-mode.md
- context/stress-test-triggers.md
- context/tag-decisions.md
- evals/evals.json
- reference/native-plan-agent.md
- reference/native-plan.md
- templates/checklist.md
- templates/plan-md-anatomy.md
- templates/plan-view.html
FAQ
Что делает скилл Plan?
Produce structured implementation plans (goal, approach, test strategy, blast radius, parallelism, approval gate before code) in PLAN.md for fresh-session handoff, plus `review` (audit existing plan) and `close-out`. Use to write implementation plan/approach ('plan this', 'architect this', 'review this plan'). Not for options: /planning:brainstorm.
Как установить скилл Plan?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Plan запускает скрипты?
Нет, скилл состоит только из инструкций (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…