Logo vun Postmortem

Postmortem

Organisatioun
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.

Iwwersiicht

EditeurTSS-Blue-AI-Lab
Repositoryai-lab-agent-skills
Skill-Nummpostmortem
Stären
26
Forks
3
Matgeliwwert Fichieren
Nëmmen Instruktiounen
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    Vum TSS-Blue-AI-Lab op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Postmortem an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/TSS-Blue-AI-Lab/ai-lab-agent-skills/tree/main/skills/postmortem
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

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
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Postmortem an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Postmortem automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Postmortem net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

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.

Heefeg gestallte Froen

Wat mécht de KI-Skill 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.

Firwat Postmortem op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Postmortem besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Postmortem an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/TSS-Blue-AI-Lab/ai-lab-agent-skills/tree/main/skills/postmortem an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Postmortem benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Postmortem benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Postmortem domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Postmortem gratis?

De Skill gëtt vum TSS-Blue-AI-Lab op GitHub publizéiert. Kuckt am Repository no de Lizenzbedéngungen. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇