Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

preflight

БесплатноБез исполняемых скриптовНе проверен

Use when preparing an implementation plan for disciplined execution, typically after /superpowers:writing-plans and before /fly. Triggers: 'preflight'…

divad12от divad12★ 26 звёзд на GitHub

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

Preflight

Transform a plan file into per-session plan files and tracking checklists that /fly executes.

Purpose

Transform a plan into execution-ready artifacts: per-session plan files (self-contained task content) and lightweight tracking checklists (checkboxes, SHA/Outcome/Resolution slots, review gates). Fly reads both - the plan file for task content, the checklist for tracking state.

Runs before /fly. Does not modify the original plan - writes per-session plan files, tracking checklists, and prints a terminal summary.

1M context assumption. Preflight assumes all /fly sessions will run on Claude opus with a 1M-token context window. The per-file task cap (single_file_cap = 20) is sized for that budget. If you are running at standard 200K context, halve the cap (tune single_file_cap below, or manually split tighter). The terminal summary tells the user the exact claude --model ... string to launch each session with.

Tunable Constants

single_file_cap = 20         # tasks per checklist file; plans exceeding this split into multiple files
codex_browser_enabled = true # inject [SYNTHETIC: codex-browser-verify] task per session if browser-verifiable work present
loc_inline_threshold = 30    # tasks with estimated LOC delta < this run inline (no subagent dispatch); folded into next task's review
loc_subagent_target = 100    # advisory: tasks well below this are merge candidates in consolidation pass
phase_threshold = 15         # plans with more tasks than this get auto-batched into phases if no explicit phase headers

Bundled References

Format specs and large literal templates live next to this skill. Read them only when you reach the matching step:

  • references/checklist-format.md - markdown shape of every checklist file (header, decisions, phase blocks, gates, verification block, next-file pointer)
  • references/per-session-plan-format.md - shape of plan-N.md files in multi-session mode
  • references/terminal-summary.md - end-of-run summary printed to user
  • references/session-breakdown-prompt.md - interactive prompt for >20-task plans
  • references/synthetic-tasks/integration-test.md - injected when convertibility analysis says yes
  • references/synthetic-tasks/codex-browser-verify.md - injected per checklist when UI work present
  • references/synthetic-tasks/deferred-resolution.md - injected at end of every checklist

Triggers

  • User invokes /preflight <plan-path> on any plan file.
  • Not auto-chained from writing-plans - user reviews plan first, then explicitly invokes preflight.

Input

Path to plan file. Works on any markdown plan with task and phase sections, in any directory. Preflight creates a dedicated feature folder next to it, moves the plan in, and writes artifacts there (see Feature folder convention).

Feature folder convention

Each plan gets its own dedicated subfolder created next to the plan file. The plan moves into it, and all preflight + fly artifacts (checklist, per-session splits, reviews/, deferred.md) live there too.

Slug derivation: the folder outlives the plan and must describe the feature, not just say "implementation." Resolve in order:

  1. Sibling design wins. If a sibling *.md (any name, same prefix preferred) is more descriptive than the plan's stripped slug, use the sibling's basename. Example: 06-implementation-plan.md next to 06-wizard-validation.md → 06-wizard-validation/.
  2. Else strip the plan name. Drop .md and a trailing -plan / -implementation-plan / -design.
  3. Generic-slug check + auto-derive. Split the slug by -. If every non-numeric, non-date part is on the stoplist (implementation, impl, feature, feat, work, task, tasks, chunk, step, phase, plan, spec, design, notes, tmp, temp, wip, new), auto-derive a descriptive slug from the plan's H1 title (or Goal line if H1 is also generic): lowercase, strip stopwords, join 2-3 most-specific kebab-case nouns. Preserve the numeric/date prefix. Tell the user one line: Plan slug "<original>" was generic; derived "<new>" from plan H1. Don't prompt.

Idempotency: if the plan is already plan.md / plan-N.md in a folder, treat that folder as the feature folder; skip relocation and slug check.

Sibling design relocation: when relocating the plan, also move a sibling design file into the new folder as design.md (default yes, ask if ambiguous), and rewrite any references to its old path inside plan.md.

Examples:

Plan path Result
06-implementation-plan.md (sibling: 06-wizard-validation.md) 06-wizard-validation/ (sibling wins)
07-universal-clues-plan.md 07-universal-clues/
05-implementation-plan.md (no sibling, H1: "Venue Cache Warming") 05-venue-cache-warming/ (auto-derived from H1)
05-implementation/plan.md 05-implementation/ (in-folder; idempotent)

Typical contents after preflight + fly:

<feature-folder>/
  design.
Полный SKILL.md на GitHub

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

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

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

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

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

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

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

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

references/checklist-format.mdreferences/per-session-plan-format.mdreferences/session-breakdown-prompt.mdreferences/synthetic-tasks/codex-browser-verify.mdreferences/synthetic-tasks/deferred-resolution.mdreferences/synthetic-tasks/integration-test.mdreferences/terminal-summary.md

FAQ

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

Use when preparing an implementation plan for disciplined execution, typically after /superpowers:writing-plans and before /fly. Triggers: 'preflight', 'checklist the plan', 'prep for execution', or when given a plan file path to process.

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

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

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

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

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

Сравнить preflight с