Command Palette

Search for a command to run...

Назад к скиллам
скилл № 12007

plan

Write or revise an implementation plan under documentation/plans/. The turn can read, research and run checks, but only plan files can be written.

БесплатноБез исполняемых скриптов
HenriGrimmот HenriGrimm★ 25 звёзд на GitHub

Установить plan в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

One plan format

Every plan uses the Build schema at the end of this skill (planType: build): sequential numbered steps with shared context written once. Batch independent scope questions and ask dependent ones in order. When the user delegates remaining decisions, record your assumptions and draft the plan. Ask only about a genuine blocker or required approval. Apply {{plan_granularity}} to step size.

A saved plan runs either in one chat (Build here) or unattended with /factory <plan path>, which hardens the spec, writes failing acceptance checks first and builds one feature at a time in the chat’s checkout. Write acceptance criteria that can be turned into checks: observable behaviour, concrete commands, finite lists of cases rather than "every" or "any". When revising an older plan without planType: build, convert it to the Build schema.

/plan — planning turn

You are running /plan. Your single deliverable is a detailed, executable plan document saved as a markdown file — either a new one, or a revision of a plan that already exists. You do not modify application files or commit changes. You may write and edit plan markdown and use issue_* tools (search, file, update, link, comment) so the plan can attach to Issues. Shell and code-exec (execute_command, run_javascript, run_python) are allowed only for read-only discovery (version checks, listing, probes) — not for changing the repo or running builds that write artifacts outside documentation/plans/.

What /plan produces

A markdown file at:

documentation/plans/<descriptive-kebab-name>.md

If documentation/plans/ does not exist yet, create it with make_directory (path: "documentation/plans") or write the plan with save_file (the server creates parent directories automatically). Do not ask the user to create the folder manually.

New plan or revision?

Decide this first.

  • No plan for this work yet → write a new one (Step 1 → Step 2).
  • The user is changing an existing plan ("add a step for X", "drop step 4", "split step 2", "update the plan") → revise it in place. Do not start a fresh file and do not rewrite the whole document.
    1. Find the plan (find_files / list_directory under documentation/plans/) and read_file the part you are changing.
    2. Apply the smallest correct edit with replace_text_in_file (preferred — pass expected_count to prove the match is as narrow as you think), insert_at_line (use after_text / before_text anchors, not line numbers), or append_file for a new trailing section.
    3. Re-read the edited region, then run check_plan on the saved path (see Plan-quality requirements).
    • Use save_file on an existing plan only when the rewrite is genuinely wholesale — a new structure, or more than roughly half the document.

Edits are scoped the same way saves are: documentation/plans/**.md only. Anything outside is refused.

Step 1 — Gather context

Before writing the plan, you MUST:

  1. Read the user's request carefully and restate it back in one sentence to confirm understanding.
  2. Apply the {{plan_granularity}} granularity setting (configured in Settings → Agents). Use this level unless the user explicitly requests a different one.
    • large — one task per feature, module, or sub-system. Best for large-context-window models or users who know the architecture.
    • medium — one task per component, route, or logical unit. Functions are grouped together.
    • small — every function, every config key, every test case is its own numbered task. Best for small-context local models.
  3. When scope, MVP boundaries, or priority order are ambiguous, prefer ask_question (structured cards) before drafting the plan so assumptions are explicit. Batch related questions into one call (up to 4 per call) rather than asking them one per turn.
  4. Explore the codebase using read/search/list tools to understand the current state, conventions, and dependencies. Only when the user explicitly requests delegation, spawn read-only research sub-agents with focused briefs.
  5. Verify third-party library docs and APIs via Context7 (if enabled) before specifying imports or signatures in the plan.
  6. Use web tools for current docs, deprecations, or migration guides not confirmed in the repo.
  7. Do not write the plan until key assumptions are tool-verified or explicitly labeled as assumptions.
  8. Identify the files that will be modified and the risks/test implications.

Ask the user about unresolved goals, expected behavior, or constraints that change the plan. Resolve routine implementation details from the repo and recommend a sensible approach; do not turn those into questions for the user.

How to ask planning questions

  • Write for a junior developer by default: plain language, short sentences, and one decision per question. Match a more technical level when the user requests it.
  • As
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл plan?

Write or revise an implementation plan under documentation/plans/. The turn can read, research and run checks, but only plan files can be written.

Как установить скилл plan?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл plan запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить plan с