pan-plan
pan plan <id> — start issue planning, including non-interactive --auto mode; also finalize/done planning artifacts
от eltmon★ 36 звёзд на GitHub
Установить pan-plan в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Overdeck Planning Lifecycle
pan plan <id> is the plan-ONLY verb: it starts a planning session for an issue and produces a PRD and xBRIEF, but it does not start the work agent. Use pan start <id> when you want planning and work in one command.
Use --auto when the user wants the planning agent to run non-interactively and infer defensible defaults. Use --probe when the plan needs an adversarial pre-finalize self-pass; effort high or above (the default) enables the same probe instructions automatically.
Available commands
pan plan <id> [--auto] [--auto-start] [--probe] [--model <model>] [--harness claude-code|pi|codex] [--effort low|medium|high|xhigh|max] [--local|--remote]
pan plan finalize [-w <path>] [--json] [--no-promote] [--no-quality-lint] [--no-prd]
pan plan done <id> [--no-prd]
Starting planning
pan plan PAN-1071
This calls the dashboard planning endpoint, creates the planning workspace, and starts the planning agent. The dashboard can also start the same flow from the issue card's Plan… action.
Auto-planning
pan plan PAN-1071 --auto
Auto-planning runs the same planning agent without interactive questions:
- The agent must not ask the user questions.
- Ambiguous but non-contradictory choices are resolved with defensible defaults.
- Inferred choices are recorded in
plan.autoDecisions[]with a summary and rationale. - The agent escalates only when authoritative inputs genuinely contradict each other.
The dashboard issue card's Auto-plan action sends the same auto: true request.
Probe pass
pan plan PAN-1071 --probe
--probe adds an adversarial self-review section to the planning prompt before finalize. The planner attacks hidden assumptions, ambiguous "done" criteria, unhandled failure modes, and missing dependency edges, then records acted-on findings in continue.json decisions with a PROBE: prefix. Effort high or above (the default) includes this section automatically.
Auto-start after planning
pan start PAN-1071
pan start <id> is the paved-road way to plan (non-interactively by default) and start the work agent in one command. The work agent auto-starts after planning finalizes.
The legacy --auto-start flag on pan plan <id> is deprecated and kept only through the deprecation window. It stamped autoSpawnOnFinalize: true into the planning agent state so pan plan finalize could start the work agent after it promoted the plan; use pan start <id> instead.
Finalizing (pan plan finalize)
Run this from inside the planning workspace after the planning agent has produced a complete .overdeck/spec.vbrief.json.
pan plan finalize
What it does:
- Reads
.overdeck/spec.vbrief.jsonfrom the current workspace (walks up if needed). - Validates the tasks already stored in
plan.items[], including their declared dependencies. - Flips the spec's
plan.statusfromdrafttoproposed. - Calls the dashboard's complete-planning endpoint to promote the canonical spec into
.pan/specs/in the project repo (or the configured plan-home repo for polyrepo projects), commit and push the feature branch, transition the tracker state to Planned, and terminate the planning session — same flow aspan plan doneand the dashboard Done button. - Returns a summary of finalized xBRIEF tasks and promotion status, or JSON with
--json.
Use -w <path> to point at another workspace. Use --no-promote to leave the spec at status=proposed without promoting (rare; for humans who want to review the plan in the dashboard before clicking Done). Finalize runs xBRIEF quality lint by default; use --no-quality-lint only as a loud one-run emergency bypass when the plan must be promoted despite known quality issues. Use --critic to require a plan critique (see "Plan critic" below) on an issue that has no critic label.
PRD-first gate
Finalize and complete-planning refuse to promote a plan unless a PRD draft of at least 20 lines exists for the issue. roles/plan.md has always required the PRD as the first artifact; this gate makes it mechanical. The gate searches, in order, for <ISSUE-ID>.md (uppercase then lowercase) under <projectRoot>/.pan/drafts/ then <workspace>/.pan/drafts/; the first existing file with ≥20 lines satisfies it. A found-but-thinner draft fails with its line count; a fully missing draft fails naming the canonical path to write. pan start <id> --auto is structurally exempt (it synthesizes a minimal xBRIEF and never POSTs complete-planning, so the gate cannot block it). Use --no-prd (on finalize or done) only for a genuinely trivial issue that went through interactive planning anyway — it prints a yellow ⚠ PRD gate SKIPPED warning and tells the endpoint to skip the check too.
Plan critic
A flagged plan gets one independent critique before finalize promotes it (PAN-4341). A plan is flagged when its issue carries the label `archit
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
Bash - 02
Read - 03
Glob - 04
Grep
FAQ
Что делает скилл pan-plan?
pan plan <id> — start issue planning, including non-interactive --auto mode; also finalize/done planning artifacts
Как установить скилл pan-plan?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл pan-plan запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…