smithery.ai

postmortem-and-learning-extractor

Extracts reusable lessons after incidents, failures, or project milestones. Use to update skills and prevent future mistakes.

First seen Apr 29, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,256 B
  • docs SUMMARY.md 166 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Postmortem and Learning Extractor

Purpose

Converts failures into fuel for the system's evolution. It ensures that the same mistake is never made twice by codifying lessons into skills, specs, or orchestration rules.

When to use this skill

  • After an incident or production bug
  • After a failed migration attempt or rejected PR
  • After the completion of a major delivery to document "what went right"

Extraction Steps

  1. Identify Root Causes: Use the "5 Whys" method to get past surface-level symptoms.
  2. Separate Failure Types:

- System Failure: A skill or orchestration rule was missing or flawed. - Human Failure: Approval was given to a flawed plan or spec.

  1. Extract Reusable Rules: What instruction could be added to a SKILL.md to prevent this?
  2. Update Specs or Skills: Trigger the appropriate update skill (e.g., skill-evolution-engine).

Decision Tree

flowchart TD
    A[Analyze Incident] --> B{Root Cause Found?}
    B -->|No| C[Deep Dive: 5 Whys]
    B -->|Yes| D{Skill-Based?}
    D -->|Yes| E[Propose Skill Update]
    D -->|No| F{Process-Based?}
    F -->|Yes| G[Update Orchestration Rules]
    F -->|No| H[Flag for Human Training]
    C --> B

Review Checklist

  1. Blamelessness: Does the report focus on "What" and "How" rather than "Who"?
  2. Actionability: Are the recommendations concrete enough to implement?
  3. Breadth: Does the lesson apply to other modules or projects?
  4. Verification: How will we know if this lesson prevents a future failure?

How to provide feedback

  • Be specific: "The postmortem for incident #104 identifies 'bad code' but not the missing boundary guard check."
  • Explain why: "Attributing it to 'bad code' doesn't help the AI prevent it in the next task."
  • Suggest alternatives: "Add a rule to implementation-boundary-guard to check for recursive depth."

Blameless, actionable, reusable.