Command Palette

Search for a command to run...

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

plan

Use when prior artifacts are approved and the QRSPI pipeline needs detailed task specs — breaks structure into ordered tasks with test expectations…

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

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

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

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

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

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

Plan (QRSPI Step 7)

PRECONDITION: Invoke qrspi:using-qrspi skill to ensure global pipeline rules are in context. (Idempotent on session re-entry. Subagents are exempt — SUBAGENT-STOP in using-qrspi handles that.)

Announce at start: "I'm using the QRSPI Plan skill to create detailed task specs."

Overview

Break the structure into ordered, self-contained tasks following vertical slices and phases from the design. Each task spec includes exact file paths, descriptions, test expectations, dependencies, and LOC estimates. Large plans (6+ tasks) fan per-task specs out to sub-subagents.

Plan OWNS / Plan DEFERS

!cat skills/plan/owns-defers.md

Artifact Gating

Read config.md to determine pipeline mode. If config.md doesn't exist or has no route field, refuse to proceed and tell the user to re-run Goals. The route field is authoritative; pipeline is informational (see using-qrspi Config File).

Full pipeline (pipeline: full) — required inputs:

  • goals.md — status: approved
  • research/summary.md — status: approved
  • design.md — status: approved
  • structure.md — status: approved
  • phasing.md — status: approved

Quick fix (pipeline: quick) — required inputs: goals.md, research/summary.md — each status: approved. Design and Structure don't exist on quick.

If any required artifact is missing or not approved, refuse to run and name the missing artifact. Read config.md to determine whether Codex reviews are enabled.

Config Validation

Apply the Config Validation Procedure in using-qrspi/SKILL.md. Plan validates pipeline, route, second_reviewer, and (when pipeline: quick) question_budget.

Do NOT produce plan.md without all required artifacts approved (full: goals + research + design + structure; quick: goals + research). Do NOT use placeholder content in task specs: no TBD, TODO, "similar to Task N", "add appropriate handling". Every task spec must be self-contained — an implementation agent reading only that task must have everything it needs.

Execution Model

Subagent produces plan.md overview. For large plans (6+ tasks), per-task specs farm out to sub-subagents (one per task) to keep context manageable. Iterative with human feedback.

Phase-Scoped Content Rules

plan.md contains ONLY current-phase tasks. Each task must reference goal IDs that exist in goals.md. Tasks for goals not in the current phase must not appear. The goal_ids frontmatter list (e.g. [G1, G2] — see ID-Hygiene Contract below) must contain only IDs in goals.md.

Task Sizing

Each task implements exactly one observable behavior — one request handler, one use case, one user-visible change. The task title names exactly one feature, with no + joining feature names and no two distinct verbs joined by and.

LOC budget per task: Target ~100 LOC (matches OpenAI AGENTS.md). Policy ceiling 200 LOC — split unless sizing_exception (post-split frontmatter) or Sizing exception bullet (in-plan) names one of: schema migration, CI scaffolding, reusable primitives.

"LOC" = implementation source only (across files in Target files: excluding tests/). Test code has no ceiling but should be roughly 1.5–2× impl LOC. 100 src + 250 test = fine; 250 src needs sizing_exception or split.

Why: SWE-Bench Pro reports median patch 107 LOC / 4.1 files at ~23% frontier-model success (GPT-5, Opus 4.1). OpenAI AGENTS.md targets ~100 lines per agentic task. Our 200-LOC ceiling sits at the lower bound of Cisco/SmartBear's code-review sweet spot with margin for QRSPI scaffolding. Multi-feature titles like auth + allowlist + rename + admin are the visible symptom; the cause is bundling N request handlers into one task, re-coupling slices that vertical-slice decomposition exists to separate.

Splitting protocol. A task >200 LOC splits into N tasks at or below ~100 LOC, each implementing one handler with explicit dependency ordering. Closed exception set: schema migration, CI scaffolding, reusable primitives. Mark sizing_exception: <reason> (frontmatter, post-split) or Sizing exception bullet (in-plan), and explain in Description.

Floor — a task is too small if any hold:

  • Does not traverse the layers needed for its behavior (UI-only, schema-only, mock-only, test-only)
  • Produces no observable behavior change when merged alone (pure refactor with no callers, scaffold with no consumer)
  • Depends on a sibling task to compile or pass tests
  • Cannot be merged to main alone (must batch with peers to ship)

Failing a floor check → merge into the parent task that gives it observable behavior; do not ship sub-atomic tasks.

Schema-Migration Task Shape

A schema-migration task applies an identical mechanical change to N files of the same shape (e.g., deleting one frontmatter key from every agent file). This is the narrow exception to the LOC ceiling and file-count guidance. The

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

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

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

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

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

  • SKILL.anchors.json
  • owns-defers.md
  • post-approval-split-contract.md
  • references/apply-fix-dispatch.md
  • references/common-rationalizations.md
  • references/quick-fix-auto-approve.md
  • references/schema-migration-task-shape.md
  • references/sweep-task-contract.md
  • references/visual-fidelity-hard-gate.md
  • references/visual-fidelity-ui-producing-migration.md
  • references/worked-examples.md
  • smoke-spec.md

FAQ

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

Use when prior artifacts are approved and the QRSPI pipeline needs detailed task specs — breaks structure into ordered tasks with test expectations, dependencies, and LOC estimates (full pipeline requires design+structure; quick fix requires only goals+research)

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

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

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

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

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

Сравнить plan с