with one click
postmortem
事故記錄。收集資訊、分析 root cause、記錄修復步驟、防止再發。當服務出事故後使用。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
事故記錄。收集資訊、分析 root cause、記錄修復步驟、防止再發。當服務出事故後使用。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Generate self-contained HTML architecture diagrams (inline SVG, dark theme, no JS) for blogs/READMEs. Triggers on system architecture, microservices, cloud/AWS/GCP, K8s, network topology, data flow diagrams. Use `drawio` instead when the output needs to be editable.
Generate draw.io diagrams (.drawio files) with optional PNG/SVG/PDF export. Triggers on diagram/flowchart/ER/sequence/class/network/architecture/wireframe/mockup/UI sketch requests.
使用 Gemini Nano Banana 2 產生圖片。當用戶說「產圖」「生成圖片」「generate image」「畫一張圖」時使用。
Resume/CV optimization. Analyze a resume, reposition strengths, and produce an optimized PDF tailored to a target role.
Virtual expert roundtable. Multiple thinkers analyze a document with different frameworks, then synthesize consensus/disagreements/blind spots.
Vendor proposal evaluation. Analyze technical architecture, pricing, and market benchmarks from a proposal PDF/Doc. Output evaluation report + comparison.
| name | postmortem |
| description | 事故記錄。收集資訊、分析 root cause、記錄修復步驟、防止再發。當服務出事故後使用。 |
| argument-hint | [事故簡述,如 '網站掛了兩小時' / 'deploy 後 API 500'] |
| allowed-tools | Bash(git*), Read, Write, Grep, Glob |
| author | Maki |
| version | 1.0.0 |
| tags | ["devops","incident","debugging","documentation"] |
| required_env | [] |
快速記錄事故,結構化分析 root cause,防止重複犯錯。
詢問用戶(或從上下文取得):
若有 repo,自動檢查:
git log --oneline -10 看最近改動追加到當前專案的 logs/errors.md(沒有就建立),格式:
## YYYY-MM-DD: [簡述問題]
**影響**:[影響範圍和持續時間]
**觸發**:[什麼操作觸發的]
**錯誤**:[錯誤訊息]
**Root Cause**:[根本原因]
**修復**:[修復步驟]
**防止再發**:[應該怎麼避免]
**Timeline**:
- HH:MM 發現問題
- HH:MM 開始修復
- HH:MM 恢復正常