| name | log |
| description | Automatically logs troubleshooting process using STAR method when errors or bugs are resolved. Use this skill to document problem-solving sessions. Use when this capability is needed. |
| metadata | {"author":"gitjay3"} |
Troubleshoot Logger
Log troubleshooting sessions using STAR method + Root Cause Analysis to docs/troubleshooting/.
File Creation Rules
- Location:
docs/troubleshooting/
- Filename format:
YYYY-MM-DD-title.md
- Title should be in English kebab-case
- Example:
2026-01-28-api-latency-fix.md
- Create folder if it doesn't exist
Output Template (Korean)
Generate the troubleshooting document in Korean using this template:
# [๋ฌธ์ ์ ๋ชฉ]
> ๊ธฐ๋ก์ผ: YYYY-MM-DD
> ํ๊ทธ: #์นดํ
๊ณ ๋ฆฌ1 #์นดํ
๊ณ ๋ฆฌ2
## Situation (์ํฉ)
๋ฌธ์ ๊ฐ ๋ฐ์ํ ์ํฉ๊ณผ ๋ฐฐ๊ฒฝ์ ์ค๋ช
ํฉ๋๋ค.
- ์ด๋ค ํ๊ฒฝ์์ ๋ฐ์ํ๋๊ฐ?
- ์ด๋ค ์ฆ์์ด ์์๋๊ฐ?
- ์๋ฌ ๋ฉ์์ง๋ ๋ก๊ทธ ํฌํจ
## Task (๊ณผ์ )
ํด๊ฒฐํด์ผ ํ ๋ชฉํ๋ฅผ ๋ช
ํํ ํฉ๋๋ค.
- ๋ฌด์์ ๋ฌ์ฑํด์ผ ํ๋๊ฐ?
- ์ ์ฝ ์กฐ๊ฑด์ด ์๋๊ฐ?
## Action (ํ๋)
๋ฌธ์ ํด๊ฒฐ์ ์ํด ์ทจํ ์กฐ์น๋ค์ ๋จ๊ณ๋ณ๋ก ๊ธฐ๋กํฉ๋๋ค.
- ์ด๋ค ๊ฐ์ค์ ์ธ์ ๋๊ฐ?
- ์ด๋ค ์๋๋ฅผ ํ๋๊ฐ?
- ์ต์ข
์ ์ผ๋ก ์ด๋ค ํด๊ฒฐ์ฑ
์ ์ ์ฉํ๋๊ฐ?
## Result (๊ฒฐ๊ณผ)
๊ฒฐ๊ณผ๋ฅผ ์ ๋ฆฌํฉ๋๋ค.
- ๋ฌธ์ ๊ฐ ํด๊ฒฐ๋์๋๊ฐ?
- ์ฑ๋ฅ/ํ์ง ๊ฐ์ ์์น (์๋ค๋ฉด)
## Root Cause (๊ทผ๋ณธ ์์ธ ๋ถ์)
5 Whys ๊ธฐ๋ฒ์ผ๋ก ๊ทผ๋ณธ ์์ธ์ ํ์
ํฉ๋๋ค.
1. **Why**: ์ ๋ฌธ์ ๊ฐ ๋ฐ์ํ๋๊ฐ? โ [์ง์ ์ ์์ธ]
2. **Why**: ์ ๊ทธ๋ฐ ์ํฉ์ด ์๊ฒผ๋๊ฐ? โ [์ค๊ฐ ์์ธ]
3. **Why**: ์ ๊ทธ๊ฒ์ด ๊ฐ๋ฅํ๋๊ฐ? โ [๊ทผ๋ณธ ์์ธ]
## Prevention (์ฌ๋ฐ ๋ฐฉ์ง)
ํฅํ ๊ฐ์ ๋ฌธ์ ๋ฅผ ์๋ฐฉํ๊ธฐ ์ํ ์กฐ์น:
- [ ] ์กฐ์น 1
- [ ] ์กฐ์น 2
## Related (๊ด๋ จ ์๋ฃ)
- ํ์ผ: `src/example/file.ts`
- ์ปค๋ฐ: `abc1234`
- PR/์ด์: #123
Tag Guide
Select appropriate tags for the issue:
| Category | Examples |
|---|
| Area | #backend #frontend #database #infra #auth #api |
| Type | #bug #performance #security #config #dependency |
| Difficulty | #easy #medium #hard |
Writing Guidelines
- Auto-generate from conversation: Base the document on the current session's problem-solving process
- Be specific: Include actual code, commands, and error messages rather than abstract descriptions
- Make it reproducible: Write so that someone facing the same issue can understand
- Use code blocks: Format changed code and executed commands as code blocks
- 5 Whys depth: Usually 3 levels is enough to reach root cause
Invocation
Automatic
When Claude completes fixing an error/bug, automatically suggest "ํธ๋ฌ๋ธ์ํ
๋ด์ฉ์ ๊ธฐ๋กํ ๊น์?"
Manual
/troubleshoot-logger:log
/troubleshoot-logger:log api-timeout-fix
Converted and distributed by TomeVault โ claim your Tome and manage your conversions.