Command Palette

Search for a command to run...

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

spec-plan

Write approved implementation plans in one of two modes. Explicit Inline mode creates a conversational plan for bounded work. Spec-backed Plan converts an…

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

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

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

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

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

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

Spec Plan

Write a proportional plan so clear that any engineer can follow it. The selected planning mode determines whether the plan stays in the conversation or becomes a persisted structured artifact. This skill does not write code or start implementation.

atelier-orchestrator owns automatic classification and the human may override it. When this skill is directly invoked without a selected mode, use Spec-backed Plan. If Inline planning reveals substantial design or coordination needs, ask the human whether to switch to a Spec-backed Plan before presenting the plan.

Terminal boundary

This skill produces exactly one plan output and then stops:

  • Inline mode presents the plan in conversation and changes no repository files.
  • Spec-backed mode creates or updates only plan.json from an approved design.md.

Planning drafts and annotation cycles stay in conversation. Do not modify design.md, persist a Markdown plan draft, create tracker entries, invoke another workflow skill, or edit implementation files. These rules still apply when the human asks to plan and implement in one request. Implementation requires a later, explicit request after this skill has finished.

Planning Rules

  • Organize tasks around required behavior, not one task per layer.
  • Record a short list of behavior the change must preserve.
  • For each task, identify existing code to reuse, modify, or delete.
  • Map every new abstraction to a present requirement and its current consumers.
  • Map every existing module a task grows to the responsibility it gains and why that cannot be local to a caller or a new module. Growing a god module (see oracle-codebase-design) needs the same justification as a new abstraction, and past its hard limit it must be split first.
  • Introduce shared infrastructure only when at least two current consumers demonstrate the same need.
  • Group tests by changed contract and active boundary. Do not repeat the CRUD matrix across layers.
  • Plan tests at each module's interface, not past it (see oracle-codebase-design).

Proportionality Gate

Before presenting any plan, compare its size and concepts with the requested behavior. If a bounded migration or refactor introduces shared infrastructure, unrelated behavior, or a plan substantially larger than the behavior being changed, stop and simplify it.

Growth counts too. A plan that adds state, handlers or a responsibility to a god module is not the proportional default just because it adds no new module. Weigh that growth against the alternative that keeps the state where it is read.

Challenge Gate

Before presenting a plan, run the walk in convention-sources.md for the paths the plan touches. Dispatch two read-only subagents in parallel with the draft plan, its design context and the resolved references. Select each agent explicitly (see Delegation in atelier-orchestrator):

  1. Design review: check architectural fit, layer and data-model boundaries, API contracts, and whether task ordering respects the dependencies. Check the plan against every rule in the references: a plan must not prescribe a violation.
  2. Critical challenge: challenge assumptions, look for missing cases, scope creep, and unproven requirements, and propose simpler alternatives. Check the plan against the same references; a task that prescribes a rule violation is a finding.

Each returns at most five evidence-backed findings. Fold in the valid ones, drop the rest with a reason, and present the plan with a short Challenged note listing what changed.

Run the gate on every Spec-backed Plan. Run it on an Inline Plan only when the change touches a data model, an API contract, more than one module or layer, or a god module (see oracle-codebase-design); skip it for small bounded edits. Run it once per draft; do not re-run it for the human's annotation revisions unless the plan's structure changes.

Outputs

Inline Plan (when explicitly selected)

No repository artifact and no task tracker entry. Read references/plan_template.md and present the plan in conversation using its structure. Omit optional subsections rather than rendering empty headings.

Inline Plan Workflow

Read enough of the codebase to identify the current behavior, boundaries, affected files, and concrete validation. Keep the plan proportional to implementation risk. Fill the template with confirmed, file-and-symbol-level details, including cross-file wiring or ordering constraints where they matter. Apply the Planning Rules, Proportionality Gate, and Challenge Gate before presenting it.

Do not manufacture phases, task IDs, dependency graphs, acceptance matrices, design.md, plan.json, tracker entries, or harness todos. The conversation is the plan artifact.

Tell the human: "Inline Plan ready for review."

STOP. Wait for human review.

If the human requests any adjustment, apply it to the working

Полный SKILL.md на GitHub

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

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

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

Вложенные файлы

  • references/plan_template.md

FAQ

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

Write approved implementation plans in one of two modes. Explicit Inline mode creates a conversational plan for bounded work. Spec-backed Plan converts an approved design.md into plan.json. Both modes stop after producing their plan output. Trigger after atelier-orchestrator selects a mode, when the user asks to plan work, or after spec-brainstorm completes. Direct invocation without a selected mode uses Spec-backed Plan. Do NOT use for research or execution.

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

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

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

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

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

Сравнить spec-plan с