Logo di Preflight

Preflight

Community
ogulcancelik
preflight

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.

Panoramica

Autoreogulcancelik
Repositoryagent-skills
Nome della skillpreflight
Stelle
81
Fork
1
File inclusi
Solo istruzioni
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da ogulcancelik su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Preflight in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/ogulcancelik/agent-skills/tree/main/skills/preflight
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Nuova skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella nella cartella delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ogulcancelik/agent-skills.git /tmp/agent-skills
mkdir -p .claude/skills
cp -r /tmp/agent-skills/skills/preflight .claude/skills/preflight
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Preflight in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Preflight non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Preflight non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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.

Domande frequenti

Cosa fa la skill IA Preflight?

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.

Perché usare Preflight su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Preflight è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Preflight in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/ogulcancelik/agent-skills/tree/main/skills/preflight. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Preflight?

Qualsiasi modello che colleghi in TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Preflight?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Preflight: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Preflight è gratuita?

Sì. È pubblicata su GitHub da ogulcancelik con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, modelli o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇