Логотип Postmortem

Postmortem

Организация
TSS-Blue-AI-Lab
postmortem

Draft and, after approval, capture an observed reusable lesson in a skill's gotchas.md, proposing the file when it is missing. Use after a verified bug, architecture error, process failure, or misunderstanding when the lesson can be generalized without exposing project or user information.

Обзор

ИздательTSS-Blue-AI-Lab
Репозиторийai-lab-agent-skills
Название навыкаpostmortem
Звёзды
26
Форки
3
Встроенные файлы
Только инструкции
Ссылки
  • Инструкции в формате Markdown

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

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

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

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

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

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

    Опубликовано на GitHub: TSS-Blue-AI-Lab. Перед установкой изучите исходные материалы.

Установка

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

1

Установка в TypingMind

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

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

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/TSS-Blue-AI-Lab/ai-lab-agent-skills.git /tmp/ai-lab-agent-skills
mkdir -p .claude/skills
cp -r /tmp/ai-lab-agent-skills/skills/postmortem .claude/skills/postmortem
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

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

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

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

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

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

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

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

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

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

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

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

Post-Mortem Protocol

Turn verified failures into durable, reusable guidance. A gotcha records something that actually went wrong and explains how to avoid repeating it; it is not a place for hypothetical risks, ordinary requirements, or untested preferences.

Constraints

  • Record only observed, evidence-supported failures with a verified cause or prevention.
  • If no suitable gotchas.md exists, propose creating it with the exact path and initial content, then wait for explicit approval. Never create it automatically.
  • Show the exact target and proposed text, then wait for approval before editing.
  • Distinguish repository-local files from shared or globally installed skills. Never edit a shared or global skill without explicit approval for that scope.
  • Remove secrets, personal information, private infrastructure details, and proprietary context.
  • Preserve the target file's structure and conventions.
  • Paraphrase user corrections; do not preserve exact user wording.
  • Keep the conditions that made the lesson true. Do not turn a contextual lesson into an absolute rule.

1. Qualify the lesson

Confirm all of the following:

  1. A failure, incorrect result, or user correction was actually observed.
  2. The cause or prevention is supported by evidence such as a test, log, diff, reproduced behavior, or clarified requirement.
  3. The lesson is likely to recur when the skill is used again.
  4. The lesson belongs in operational failure guidance.

Do not create a gotcha for:

  • a normal requirement, design decision, or supported mode that should be expressed naturally in the skill's workflow;
  • a hypothetical concern that has not occurred;
  • a one-off project fact that belongs in project documentation; or
  • a guessed root cause that has not been verified.

Classify the failure only when useful to the target file. Common categories include BUG, ARCHITECTURE, PROCESS, MISUNDERSTANDING, and PRIVACY.

2. Locate the target

Use the active skill and conversation context to identify the likely target, then find its gotchas.md or determine where that file would belong.

  • If more than one existing file is plausible, ask the user which one should receive the lesson.
  • If no suitable gotchas.md exists, identify the expected path and continue with a Create proposal. Do not create the file before approval.
  • Identify whether the file is repository-local or part of a shared or globally installed skill.

3. Establish the evidence

Summarize three elements before drafting:

  • What happened: the observable failure or incorrect outcome.
  • Why it happened: the verified cause, including relevant conditions.
  • What prevents it: the smallest actionable change that would have avoided or detected it.

If the evidence supports the symptom but not the cause, record neither as a gotcha until the cause or a reliable detection rule is established.

4. Sanitize the lesson

Generalize the lesson without destroying the conditions that make it useful. Remove or replace:

  • project, organization, person, customer, and product names;
  • private file paths, hosts, URLs, repository names, ticket numbers, identifiers, and branch names;
  • proprietary code, schemas, data, business rules, and internal terminology;
  • credentials, tokens, cookies, keys, and secret values; name only the category of secret when relevant; and
  • exact user wording or conversation excerpts.

Use neutral placeholders only when the distinction matters. Re-read the draft specifically for information that could identify the source project or user.

5. Compare with existing guidance

If the target exists, read the complete file. Choose one action:

  • Create: no target file exists; propose a minimal new file containing the verified lesson.
  • Skip: an equivalent lesson already exists.
  • Refine: an existing entry is correct but missing an important condition, cause, or prevention.
  • Append: the lesson is distinct and belongs in the file.
  • Resolve: the lesson conflicts with existing guidance. Present the conflict and evidence instead of assuming the newer statement is correct.

For an existing target, place the lesson in its existing section and follow its established format. Do not reorganize unrelated content during this workflow.

6. Draft for approval

When the target file has no established entry format, use:

markdown
- **What goes wrong:** <observable failure and relevant conditions>
  **Why:** <verified cause>
  **Fix:** <specific prevention or detection rule>

For a new file, propose the complete initial content. Follow neighboring skills' gotchas conventions when they are applicable; otherwise use a minimal # Gotchas heading, a relevant topic heading when useful, and the entry above. Do not add empty speculative sections.

Add a category or timestamp only if the target file already uses one. Keep the entry concise, but include enough context for another agent to apply it correctly.

Before editing, show:

  • the exact file path;
  • whether its scope is repository-local or shared/global;
  • the proposed entry text;
  • the intended action: create, skip, refine, append, or resolve; and
  • any sanitization choices that materially changed the wording.

Wait for explicit approval. Approval to record a repository-local lesson does not imply approval to modify a shared or globally installed skill.

7. Write and verify

After approval:

  1. Create or edit only the approved path and content.
  2. Review the diff for unrelated changes.
  3. Re-read the final entry for sensitive or identifying information.
  4. Confirm that the entry matches the approved meaning and the file's format.

Report the path, action taken, and a one-line summary. If the action was skip, report the matching existing guidance instead of changing the file.

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

Что делает навык ИИ Postmortem?

Draft and, after approval, capture an observed reusable lesson in a skill's gotchas.md, proposing the file when it is missing. Use after a verified bug, architecture error, process failure, or misunderstanding when the lesson can be generalized without exposing project or user information.

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

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

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

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

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

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

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

С любым количеством. Если модель поддерживает навыки, вы можете использовать с ней Postmortem: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama и другие — всё в TypingMind с вашими собственными ключами API.

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

Навык опубликован на GitHub автором TSS-Blue-AI-Lab. Условия лицензии можно найти в репозитории. Вы платите только своему поставщику ИИ за использованные токены.

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

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

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

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

Все

Создайте свою рабочую ИИ-среду сейчас

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