| name | incident-writer |
| description | Creates and manages incident reports for jiun.dev/status with consistent formatting. Generates frontmatter, timeline, and body sections based on severity. Use for "์ธ์๋ํธ ์์ฑ", "์ฅ์ ๋ณด๊ณ ์", "incident report", "status ์์ฑ", "์ฅ์ ๊ธฐ๋ก" requests. |
| allowed-tools | Read, Bash, Grep, Glob, Write, Edit, AskUserQuestion, WebSearch |
Incident Writer
Creates standardized incident reports for the jiun.dev status page.
Report Location
src/content/incidents/{date}-{slug}.md
Naming convention: YYYY-MM-DD-short-description.md (e.g., 2026-03-20-tokka-email-orbstack-outage.md)
Frontmatter Schema
title: "์๋น์ค๋ช
์ฅ์ /์์
์ ๋ชฉ"
date: 2026-01-01T00:00:00+09:00
resolvedDate: 2026-01-01T02:00:00+09:00
severity: major
status: resolved
affectedServices:
- ServiceName
published: true
timeline:
- time: 2026-01-01T00:00:00+09:00
status: investigating
message: "Description of what happened."
Format by Severity
maintenance / minor โ Format A (๊ฐ๊ฒฐ)
## ์ฌ๊ณ ๊ฐ์
ํ๋ ๋ฌธ์ฅ ์์ฝ.
## ์ํฅ ๋ฒ์
| ํญ๋ชฉ | ๋ด์ฉ |
|---|---|
| ์ํฅ ์๋น์ค | ... |
| ์์
/์ฅ์ ์๊ฐ | ... |
| ์ํฅ๋ฐ์ ์ฌ์ฉ์ | ... |
| ๋ฐ์ดํฐ ์์ค | ์์ / ์ค๋ช
|
## ์์
๋ด์ฉ
- ์ํํ ์์
๋ชฉ๋ก
major / critical โ Format B (์ ์ฒด post-mortem)
## ์ฌ๊ณ ๊ฐ์
์ฅ์ ์์ฝ: ๋ฌด์์ด, ์ธ์ , ์ผ๋ง๋ ์ํฅ์ ๋ฏธ์ณค๋์ง.
## ์ํฅ ๋ฒ์
| ํญ๋ชฉ | ๋ด์ฉ |
|---|---|
| ์ํฅ ์๋น์ค | ์๋น์ค๋ช
(๊ตฌ์ฒด์ ๊ธฐ๋ฅ) |
| ์ฅ์ ์๊ฐ | ~N์๊ฐ (HH:MM ~ HH:MM KST) |
| ์ํฅ๋ฐ์ ์ฌ์ฉ์ | ๋ฒ์ ์ค๋ช
|
| ๋ฐ์ดํฐ ์์ค | ์์ / ์ค๋ช
|
## ๊ทผ๋ณธ ์์ธ (Root Cause)
### ์ง์ ์์ธ
- ๊ธฐ์ ์ ์ง์ ์์ธ
### ๊ทผ๋ณธ ์์ธ
1. ์์ธ ์ฒด์ธ (์ โ ์ โ ์)
## ์กฐ์น ๋ด์ญ
### ์ฆ์ ์กฐ์น
1. ๋ณต๊ตฌ๋ฅผ ์ํ ์ฆ๊ฐ ์กฐ์น
### ํ์ ์กฐ์น (Action Items)
- [x] ์๋ฃ๋ ์กฐ์น
- [ ] ๋ฏธ์๋ฃ ์กฐ์น
## ์ฌ๋ฐ ๋ฐฉ์ง (Prevention)
### 1. ๋ฐฉ์ง ๋์ฑ
(์ ์ฉ ์๋ฃ/์์ )
๊ตฌ์ฒด์ ์ค๋ช
## ๊ตํ (Lessons Learned)
1. **ํต์ฌ ๊ตํ.** ์์ธ ์ค๋ช
.
Workflow
- Ask the user for: what happened, which services, when, severity
- Determine format (A or B) based on severity
- Generate the frontmatter with timeline entries
- Write the markdown body with appropriate sections
- Verify the file can be built:
npx astro build 2>&1 | tail -5
Timeline Status Flow
Typical status progression in timeline entries:
- Outage: investigating โ identified โ monitoring โ resolved
- Maintenance: scheduled โ monitoring โ resolved
- Ongoing: investigating โ identified (no resolved yet)
Existing Services
Check current incidents for service names used:
grep -h "affectedServices" -A5 src/content/incidents/*.md | grep " - " | sort -u
Example Template Reference
See src/content/incidents/_example.md for the canonical template with all sections.
OG Image
OG images are auto-generated at /og/status/{slug}.png โ no manual action needed.
The description includes [SEVERITY] status โ affected services.