plan-proposal
БесплатноБез исполняемых скриптовНе проверенDevelop-side planning orchestrator for an OpenSpec change: artifact creation → doubt-driven-review → scenario-design → fold of automated scenarios into…
от BlackBeltTechnology★ 357 звёзд на GitHubОб этом скилле
plan-proposal
Orchestrates the planning phase of an OpenSpec change on develop. Composes
existing skills — it does not reimplement them. Twin of ship-it, which owns
the implementation phase inside the worktree. The two split at the git-worktree
boundary, which is also the interactive/headless line.
flowchart LR
subgraph Planning ["PLANNING — develop, human present"]
A["new/ff/continue"] --> B["doubt-review"]
B --> C["scenario-design + category-fold + manifest"]
C --> D["plan-proposal (this skill)"]
end
D -->|"boundary: commit + spawn worktree"| E["ship-it"]
subgraph Implementation ["IMPLEMENTATION — worktree"]
E
end
Hard constraint — main session only (never a subagent)
plan-proposal MUST run in the main interactive session. It invokes
doubt-driven-review (which spawns a fresh-context reviewer, and a second
cross-model reviewer — automatically when a @propose-review-N role resolves,
offered interactively only when none does; nested subagent spawn is blocked) and
scenario-design (whose proposal/design-stage HARD gate calls ask_user). Both
need a live main session.
Guard: if you detect you are running inside a subagent context (nested
reviewer spawn would be blocked, or ask_user is unavailable), STOP and
surface: "plan-proposal must run in the main session — doubt-review and the
scenario-design gate cannot run nested. Re-invoke from the main session on
develop." Do not degrade the doubt-review to a self-questioning fallback.
Preconditions
- On the
developbranch (planning happens on develop; the worktree is spawned from the planning commit). openspecCLI available; resolve the change name from--change <name>, the conversation, oropenspec list --json(ask if ambiguous).- Announce: "Planning change:
<change>(override with/plan-proposal <other>)."
Procedure
1. Ensure planning artifacts exist
Bring the change to a drafted state using the existing generated skills — do not hand-roll the directory:
- No change dir yet →
openspec-new-change(or-fffor the fast path). - Partial artifacts →
openspec-continue-change.
State in the drafting request: "plan-proposal is driving this change". The
openspec/config.yaml rules.tasks rule sees it and skips its "Run
plan-proposal now?" confirm (no re-entry). rules.proposal may still offer
pending mockups while proposal.md is written — that is expected; Step 1b only
re-offers rows not declined.
Artifacts live at openspec/changes/<change>/: proposal.md, design.md (when
the change warrants one), specs/**/spec.md, tasks.md.
Cite code claims in design.md. Instruct the author to cite the path (and
:line when the statement is line-specific) for every statement in design.md
about existing code behaviour — e.g. packages/server/src/pi-core-checker.ts:42.
Not gated: a citation makes a wrong-file or "does not exist" claim cheap to spot
before review.
1b. Adopt pending mockups (idempotent backstop)
Backstop for direct entry, -continue on an existing proposal, re-runs, and
SHIP_IT_BLOCKED hand-backs. Runs after the artifacts exist, before
doubt-review, so reviewers and scenario-design see the mockup at its final path.
- Collect every root
mockups/AGENTS.mdrow whose Purpose cell ends withPending change: <intent>, minus rows that also carrySee change:(owned by a change — never offered), minus rows already declined in this session (including a decline in therules.proposalmultiselect during Step 1). - None left → ask nothing, change nothing, go to Step 2.
- Otherwise ONE
ask_usermultiselect offering every remaining row; the user matches, you do not judge similarity. Unchosen rows count as declined. Live-component mocks (entry dir withmock.tsx) follow theirdecision.json: runnode packages/mockup-loop/src/mock-site/cli.mjs adoptableand offer itsoptionsin order with their labels (entry, intent, status) — accepted first(accepted), open / malformed(open)— and never offer itsskipped(rejected) entries; report them, and everywarningsline (malformed decision files). With only rejected live mocks pending, ask nothing and move nothing. - Adopt each chosen entry with the mechanics of the
explore-mockup-adoptionrequirement (canonical, same asrules.proposal): File cell must resolve to an entry directly undermockups/(else skip + report);mkdir -p <changeDir>/mockups; refuse if<changeDir>/mockups/<entry>already exists;git mv(tracked) /mv(untracked), never copy — a live mock dir moves as ONE unit vianode packages/mockup-loop/src/mock-site/cli.mjs move mockups/<entry> <changeDir>, untrackeddecision.jsonincluded, and a source dir left behind is a failed move; only after a successful move — recompute outward relative links, remove the row, addMockup: mockups/<entry> (in this change)
Установить plan-proposal в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл plan-proposal?
Develop-side planning orchestrator for an OpenSpec change: artifact creation → doubt-driven-review → scenario-design → fold of automated scenarios into tasks.md, then STOPS at the git-worktree boundary. Main interactive session only; never a subagent. Triggers: "plan this change", "draft the proposal and plan", "scaffold + review + fold", "prep a change for building".
Как установить скилл plan-proposal?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл plan-proposal запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic