← Back to list

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
- Identify Root Causes: Use the "5 Whys" method to get past surface-level symptoms.
- 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.
- Extract Reusable Rules: What instruction could be added to a
SKILL.mdto prevent this? - 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
- Blamelessness: Does the report focus on "What" and "How" rather than "Who"?
- Actionability: Are the recommendations concrete enough to implement?
- Breadth: Does the lesson apply to other modules or projects?
- 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-guardto 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