一键导入
flight
Create technical flight specifications from missions. Use when breaking down a mission into implementable work or planning technical approach.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create technical flight specifications from missions. Use when breaking down a mission into implementable work or planning technical approach.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Initialize a project for Flight Control. Creates .flightops directory with methodology reference and artifact configuration. Run before using other Flight Control skills on a new project.
Run a behavior test — spawn two live agents (an Executor that performs each step's actions and a Validator that judges each step's expected results), drive them through the spec's step table communicating mid-test so failures surface immediately, then write a run log with evidence. Tests are specs that follow the Witnessed pattern: every action is judged by an independent agent. Verifies system properties through observables (UI state, HTTP responses, shell output, filesystem state) measured via whichever apparatus (MCP, tool) is registered. Invocation: `/behavior-test <slug>` to run a test by slug. Specs are authored inline during flight/leg/mission planning — see `AUTHORING.md` sibling file for the authoring guide. Spec format lives in the target project's `.flightops/ARTIFACTS.md`.
Active orchestrator for multi-agent flight execution. Drives leg design per leg, then batches implementation across all autonomous legs, with a single code review and commit at the end of the flight.
Between-mission codebase health assessment. Run after `/mission-debrief`, never after an individual flight, to verify the codebase is flight-ready or scaffold a maintenance mission. Per-flight findings instead roll into the next flight or accumulate into an end-of-mission maintenance flight — not into this skill.
Generate detailed implementation guidance for LLM execution. Use when creating atomic implementation steps from a flight.
Create outcome-driven missions through research and user interview. Use when starting a new project, feature, or initiative that needs planning.
| name | flight |
| description | Create technical flight specifications from missions. Use when breaking down a mission into implementable work or planning technical approach. |
Create a technical flight spec from a mission.
/init-project (.flightops/ARTIFACTS.md must exist)Identify the target project
projects.md to find the project's pathVerify project is initialized
{target-project}/.flightops/ARTIFACTS.md exists/init-project firstRead the artifact configuration
{target-project}/.flightops/ARTIFACTS.md for artifact locations and formatsRead the parent mission
Check existing flights
Review recent flight debriefs for relevant observations
Applies when: The flight sources work items from a prior artifact that cites specific code locations — a maintenance report, a flight or mission debrief that enumerates outstanding follow-ups, an issue tracker, or a security audit. Skip this phase for greenfield flights where no source artifact pre-enumerates findings.
Source artifacts go stale. Items cited weeks or even days ago may have been incidentally fixed by intervening flights, partially addressed, or the cited file/line may have moved. Without a recon pass, stale items get drafted into legs and only get caught at design review or implementation — wasted artifact churn and rework.
Goal: Before designing legs, walk every cited item against current code and classify it.
Enumerate source items
Verify each item against current code
Classify each item into one of:
confirmed-live — gap still exists, item is real workalready-satisfied — code now reflects what the item asked for; recommend retiringpartially-satisfied — some sub-points done, others not; scope downneeds-human-recheck — cannot be verified mechanically (runtime state, external system, credentials, infrastructure that isn't in the repo)drifted — cited location moved or symbol renamed; needs re-locating before classificationProduce a Reconnaissance Report
## Reconnaissance Report if the project's flight-log conventions don't dictate otherwise){item-id} | {classification} | {evidence: file:line or "cannot verify from repo"} | {recommendation}already-satisfied: cite the specific code that satisfies the item, so the user can audit your callDefault to flag-for-human, not auto-retire
already-satisfied or partially-satisfiedCarry retired items into the flight artifact
[x] entries with the satisfying evidence inline — they are NOT silently dropped from the specExplore the target project's codebase to inform the technical approach:
Identify relevant code areas
Find files likely to be affected
Understand existing patterns
Check for schema/migration implications
Before asking structured technical questions, share a brief summary of what you learned during context gathering and code interrogation, then prompt the user for open-ended input:
Use the user's response to inform and focus the crew interview questions that follow.
Ask technical questions to resolve the approach:
Technical approach
Open questions
Design decisions
Prerequisites verification
Validation approach
Create the flight artifact using the format defined in .flightops/ARTIFACTS.md.
Also create the flight log artifact (empty, ready for execution notes).
Verification approach — consider behavior tests. If the flight's acceptance criteria need real-environment observation that unit/integration tests can't cover (UI flows, multi-component interactions, AI agent behavior), author one or more behavior test specs inline as part of this phase — draft them now, before legs are locked, so the apparatus choice and key observable shape the leg breakdown rather than being retrofitted. At minimum a draft fixes the key observable and a rough step count; the apparatus choice is a Design Decision (see Phase 4). A behavior test is a Zephyr-style Action | Expected Result table run via /behavior-test {slug} with two live agents (Executor + Validator) using the Witnessed pattern. Write the spec to the configured behavior-test directory (per ARTIFACTS.md; default tests/behavior/{slug}.md); reference the slug in the flight's Verification section. See .claude/skills/behavior-test/AUTHORING.md for the authoring guide (when to use, interview shape, spec format, common pitfalls). Don't author them speculatively — only when the verification cost is justified by the value of real-environment observation.
Spawn an Architect agent to validate the flight spec against the real codebase before presenting it to the crew.
Read {target-project}/.flightops/agent-crews/flight-design.md for crew definitions and prompts (fall back to defaults at .claude/skills/init-project/defaults/agent-crews/flight-design.md).
Validate structure: The phase file MUST contain ## Crew, ## Interaction Protocol, and ## Prompts sections with fenced code blocks. If the file exists but is malformed, STOP and tell the user: "Phase file flight-design.md is missing required sections. Either fix it manually or re-run /init-project to reset to defaults."
subagent_type: "general-purpose")
A well-sized flight:
Too small: Single leg's worth of work Too large: More than a week of work, vague checkpoints
Break flights into legs based on technical boundaries:
For scaffolding flights: Include a final verify-integration leg
For interface changes: Identify consumers that need updates
For documentation: Consider whether README, CLAUDE.md, or other docs need updates as part of this flight — especially for flights adding new CLI commands, API endpoints, or configuration options
For carry-forward debt from prior debriefs: when multiple small items touch the same files or directories, bundle them into a single shared-surface leg rather than scheduling separate flights or letting them decay. Items that don't share a surface stay separate — bundling unrelated work just to "pull forward" is how scope creep enters maintenance work.
For schema changes: Include explicit migration legs and verify against the live database, not just mocks
For HAT and alignment: During the crew interview, ask the user whether they'd like to include an interactive HAT (human acceptance test) and alignment leg. Explain that this optional leg is a guided HAT session — the agent walks the user through a series of tests and verification steps, fixing issues along the way until the user is satisfied with the results. If the user opts in, include it in the breakdown, marked as optional.
SendMessage, requires CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1) is an optimization, not a prerequisite.planning statein-flight, flights may still be modified (e.g., changing planned legs) as long as the flight log captures the change and rationaleCreate the following artifacts using locations and formats from .flightops/ARTIFACTS.md: