preflight
Skill80 starsChanged 3 months agoMITView on GitHub
Use fresh-context specialists to challenge regression risk before implementation, then verify the smallest correct change. Use only when the user says "preflight," asks for a risk gate, or explicitly requests this workflow. Never auto-invoke it.
19 other projects use a version of this.
Adopted by
Most recently taken up by
- laidrivm/skillstheir own version, first seen Oct 3, 2026
- outboundsync/skillstheir own version, first seen Sep 28, 2026
- Ainxin-1/preflighttheir own version, first seen Sep 28, 2026
- mmnto-ai/totemtheir own version, first seen Sep 25, 2026
- ryanmaclean/skillstheir own version, first seen Sep 23, 2026
- pathmodeio/claude-plugintheir own version, first seen Sep 10, 2026
Used with
Projects with it also use ship and review.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.Other versions19 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 19
- Rune-kit/rune★ 88same name
- unlearndev/skills★ 76same name
- ConnorGriffin/skills★ 22same name
- mmnto-ai/totem★ 17same name
- Megaprompting/torque-loop★ 9same name
- Kapi-IDE/kapi-sprints★ 8same name
- ucsandman/claude-skills★ 5same name
- blendsdk/claude-codeops★ 4same name
- taipt1504/agent-skills★ 4same name
- xavierforge/skills★ 4same name
9 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repositoryOne other file it gives its agents.
- web-searchSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. 0 are common, 13 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 17 edited versions we read keep these.
13
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
Use this skill only when the top-level user explicitly requests preflight or a risk gate.
- Distinctive: line 32
Always run the pre-implementation risk challenge.
- Distinctive: line 40
Read repository instructions and trace the real execution path before planning.
- Distinctive: line 91
Do not include unchanged execution-order details or implementation recovery mechanics merely to force dedicated proof.
- Distinctive: line 100
Keep it to one screen when practical.
- Distinctive: line 104
Ask the user to approve the contract before editing project files.
- Distinctive: line 113
Prefer the least new state, control flow, API surface, and test machinery.
- Distinctive: line 130
Contract verifier: Check that the patch and evidence satisfy the approved contract.
- Distinctive: line 141
Evidence challenger: Use only when the signal is uncertain or risk is high.
- Distinctive: line 142
Check whether the reproduction reaches the real owner and whether the proof can falsify the contract.
- Distinctive: line 151
If the patch adds state, phases, recovery branches, abstractions, API surface, or substantial tests, ask a simplifier what can be removed …
- Distinctive: line 160
Run final repository checks.
- Distinctive: line 176
Use another isolated session supported by the harness.
“Common” is measured: kept by at least 6 in 10 of the 17 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Preflight
Preflight reduces implementation bias. The implementing agent becomes attached to its diagnosis and design. A fresh specialist that sees the problem and code, but not the proposed solution, can find regressions before the design is locked.
The flow is:
investigate → risk challenge → concise contract → approve → implement → verify → simplify → finish
Rules
Use this skill only when the top-level user explicitly requests preflight or a risk gate. Never invoke it from a delegated child. If preflight was not requested, suggest it once and wait.
The main agent owns investigation, scope, implementation, and communication. Children only challenge, verify, review, or simplify. Give each child one job. Reuse it only to recheck its own findings.
Prefix every child assignment with:
You are a bounded preflight child. Do not invoke preflight, delegate work, or spawn agents. Complete only the assigned analysis and return it to the parent.
Always run the pre-implementation risk challenge. For meaningful code changes, also run a contract verifier and regression reviewer after implementation. Run a simplifier when the patch adds meaningful structure. Add an evidence challenger only when the reproduction is uncertain or the change is unusually risky. Do not create agents merely to fill a process.
1. Investigate
Read repository instructions and trace the real execution path before planning. For bugs, prefer a real user-path reproduction, then an existing integration signal, then an owning-layer test. If none is available, label the diagnosis as a hypothesis. For features, define one observable acceptance signal.
Separate facts from assumptions. Investigation cannot expand the request.
2. Run the independent risk challenge
Give a fresh agent the raw request, evidence, repository instructions, relevant code, and existing tests. Do not give it the main agent's diagnosis, implementation plan, architecture, or proposed patch.
Use this prompt:
Find concrete regressions this requested change could cause. For each finding, cite the existing behavior, exact code path, evidence, and causal failure chain. Do not suggest implementation designs, tests, mitigations, general improvements, defensive hardening, or hypothetical risks without evidence. Report unknowns separately.
The child returns only concrete risks, blocking unknowns, or no findings.
A finding is not automatically new scope. The main agent classifies it:
- Required: needed to satisfy the request, fix the observed failure, protect demonstrated existing behavior, or prevent a concrete correctness, security, data-loss, or resource-safety failure created by the patch.
- Watch: worth checking against the finished patch, but not supported well enough to add behavior or machinery.
- Discard: speculative, adjacent, defensive, or unrelated.
Required risks enter the contract. Watches enter the review checklist but create no code, abstraction, branch, or test. Discarded findings disappear. Investigate a blocking unknown instead of guessing.
For localized bug fixes, default to one required behavior and one regression test. Promote a risk to required only when it is reproduced, lies on a supported normal path that the patch changes, or the patch necessarily creates the failure. Unchanged control flow, unlikely interleavings, recovery mechanics, and merely reachable edge cases stay watches unless they meet that bar.
3. Present the contract
Give the user one short, plain-language brief:
Problem: what is changing and the evidence.
Contract: required observable behavior.
Protected behavior: existing behavior directly exposed by the changed path. Do not include unchanged execution-order details or implementation recovery mechanics merely to force dedicated proof.
Non-goals: adjacent work that will not be implemented.
Risk challenge: required risks, meaningful watches, and blocking unknowns.
Proof: fail-before/pass-after signal and repository checks.
Keep it to one screen when practical. Do not show internal ledgers, mechanism counts, orchestration details, or specialist transcripts. Use requirement IDs only when they prevent real ambiguity.
Ask the user to approve the contract before editing project files. Ask again only if later evidence changes required behavior, scope, or a protected invariant—not for ordinary implementation choices.
4. Implement the smallest contract
Implement only approved behavior. Never implement watches or optional hardening.
Prefer the least new state, control flow, API surface, and test machinery. Every new mechanism must prevent a distinct required failure. If a mechanism creates recovery branches or more tests, first try removing it.
Capture fail-before and pass-after evidence when practical. For a localized bug, start with one regression test. Add another only when the first cannot prove a distinct required behavior. Do not create one test per contract sentence. Unchanged paths may be protected by code inspection and the existing suite. Add tests for required behavior or distinct regression boundaries, not speculative paths or implementation details. Reuse existing harnesses. Run targeted checks, then repository-required checks.
5. Verify with specialists
Give post-implementation specialists the raw request, approved brief, diff, evidence, and check results. Keep the jobs separate.
Contract verifier: Check that the patch and evidence satisfy the approved contract. Report only missing, contradictory, or unreliable proof for changed or newly required behavior. Do not demand one focused test per contract item; accept direct code-path evidence and existing broad checks for unchanged behavior. Do not ask for redesign, hardening, or new requirements.
Regression reviewer: Find regressions introduced by the patch. Every blocker must cite severity, exact code path, existing behavior at risk, and a causal failure scenario. Check earlier watches against the actual diff. “Could be more robust” is not a blocker.
Evidence challenger: Use only when the signal is uncertain or risk is high. Check whether the reproduction reaches the real owner and whether the proof can falsify the contract. Do not review code style.
The main agent validates each finding. Fix concrete contract or regression failures, rerun affected checks, and ask the same specialist to recheck its resolved findings. Do not turn suggestions into scope.
6. Simplify
If the patch adds state, phases, recovery branches, abstractions, API surface, or substantial tests, ask a simplifier what can be removed while preserving the contract. It cannot weaken or expand required behavior.
Apply useful removals and rerun checks. If production behavior or control flow changed, ask the regression reviewer to check the final diff again.
7. Finish
Run final repository checks. Report only:
Changed: implemented behavior.
Evidence: fail-before/pass-after and checks.
Independent review: concrete risks found and resolved.
Simplified: meaningful complexity removed, when applicable.
Remaining uncertainty: unavailable validation or residual risk.
Omit empty sections. Do not narrate the process unless the user asks.
If fresh-context agents are unavailable
Use another isolated session supported by the harness. If independent review is unavailable, tell the user and ask before using same-context review. Never call same-context review independent.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

