Логотип Preflight

Preflight

Сообщество
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.

Обзор

Издательogulcancelik
Репозиторийagent-skills
Название навыкаpreflight
Звёзды
81
Форки
1
Файлы в комплекте
Только инструкции
ЛицензияMIT
Ссылки
  • Инструкции в формате Markdown

    Модель загружает файл SKILL.md по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Всё необходимое — в инструкциях

    Всё необходимое для модели содержится в инструкциях — никаких дополнительных файлов для синхронизации.

  • Открытый исходный код

    Издатель навыка на GitHub — ogulcancelik. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Preflight в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/ogulcancelik/agent-skills/tree/main/skills/preflight
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

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
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Preflight в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Preflight, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Preflight не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

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.

Часто задаваемые вопросы

Что делает навык ИИ 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.

Зачем использовать Preflight в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Preflight — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Preflight в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/ogulcancelik/agent-skills/tree/main/skills/preflight. TypingMind прочитает файл SKILL.md и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Preflight?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Preflight?

С любым количеством. В TypingMind вы можете использовать Preflight с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Preflight?

Да. Навык опубликован на GitHub по лицензии MIT. Издатель — ogulcancelik. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇