Back to list
hohai99

postmortem-and-learning-extractor

by hohai99

0🍴 1📅 Jan 22, 2026

SKILL.md


name: postmortem-and-learning-extractor description: Extracts reusable lessons after incidents, failures, or project milestones. Use to update skills and prevent future mistakes. triggers: [incident-resolution, mission-failure, project-completion] outputs: [postmortem-report, skill-refinement-proposal]

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.
  3. Extract Reusable Rules: What instruction could be added to a SKILL.md to prevent this?
  4. 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.

Score

Total Score

50/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon