Systematic debugging
Skill ComeOnOliver/skillshub/skills/aiskillstore/marketplace/doyajin174/systematic-debugging
๐ง The right skill, one API call. AI agent skills registry with token-efficient skill resolution. 5,000+ skills from 500+ top repos.
npx -y skills add ComeOnOliver/skillshub --skill systematic-debuggingAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
What its author says it does
Copied from the file, not written here
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes. Four-phase framework ensuring understanding before attempting solutions.
The file declares its own license as MIT. That is the authorโs claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
2.9 KB, ~1.0k tokens by cl100k_base, as published. Nobody here has run it
Systematic Debugging
๋ฒ๊ทธ, ํ ์คํธ ์คํจ, ์์์น ๋ชปํ ๋์์ ๋ํ ์ฒด๊ณ์ ๋๋ฒ๊น ๋ฐฉ๋ฒ๋ก ์ ๋๋ค.
Core Principle
"ALWAYS find root cause before attempting fixes. Symptom fixes are failure."
Mandatory Phases
Phase 1: Root Cause Investigation
1. ์๋ฌ ๋ฉ์์ง ์ ํํ ์ฝ๊ธฐ
2. ๋ฌธ์ ๋ฅผ ์ผ๊ด๋๊ฒ ์ฌํ
3. ์ต๊ทผ ๋ณ๊ฒฝ์ฌํญ ํ์ธ
4. ๋ฉํฐ ์ปดํฌ๋ํธ ์์คํ
์์ ์ง๋จ ์ฆ๊ฑฐ ์์ง
5. ๋ฐ์ดํฐ ํ๋ฆ์ ์ญ๋ฐฉํฅ์ผ๋ก ์ถ์
Phase 2: Pattern Analysis
1. ์๋ํ๋ ์์ ์ฐพ๊ธฐ
2. ๋ ํผ๋ฐ์ค์ ๋น๊ต
3. ์ฐจ์ด์ ์๋ณ
4. ์์กด์ฑ ์ดํด
Phase 3: Hypothesis Testing
1. ๊ตฌ์ฒด์ ์ธ ๊ฐ์ค ์๋ฆฝ
- "X๊ฐ Y ๋๋ฌธ์ ๋ฐ์ํ๋ค๊ณ ์๊ฐ๋จ"
2. ์ต์ํ์ ํ
์คํธ๋ก ๊ฒ์ฆ
- ํ ๋ฒ์ ํ๋์ ๋ณ์๋ง ๋ณ๊ฒฝ
3. ๊ณผํ์ ์ผ๋ก ๊ฒฐ๊ณผ ๊ฒ์ฆ
- ๊ฐ์ค์ด ํ๋ ธ๋ค๋ฉด ๋ค์ ๊ฐ์ค๋ก
Phase 4: Implementation
1. ์คํจํ๋ ํ
์คํธ ์ผ์ด์ค ์์ฑ
2. ๋จ์ผ ์์ ๊ตฌํ
3. ๊ฒฐ๊ณผ ๊ฒ์ฆ
4. 3๋ฒ ์คํจ ์ ์ค๋จ
โ ์ํคํ
์ฒ ๋ฌธ์ ๊ฐ๋ฅ์ฑ ๊ฒํ
Critical Rules
| ๊ท์น | ์ค๋ช |
|---|---|
| ์์ฐจ ์งํ | ๋จ๊ณ๋ฅผ ๊ฑด๋๋ฐ์ง ์์ |
| ๋จ์ผ ์์ | ๋์์ ์ฌ๋ฌ ์์ ๊ธ์ง |
| 3ํ ์คํจ ์ ์ค๋จ | ์ํคํ ์ฒ ๊ฒํ ํ์ |
Red Flags - ํ๋ก์ธ์ค ํฌ๊ธฐ ์งํ
โ "์ผ๋จ ๋น ๋ฅด๊ฒ ๊ณ ์น๊ณ ..."
โ "์๋ง ์ฌ๊ธฐ๊ฐ ๋ฌธ์ ์ธ ๊ฒ ๊ฐ์์..."
โ "์๊ฐ์ด ์์ด์ ๊ทธ๋ฅ..."
โ "์ฌํ์ ์๋์ง๋ง ๊ณ ์ณ๋ดค์ด์"
Debugging Template
## ๋ฌธ์
[์ฆ์ ์ค๋ช
]
## ์ฌํ ๋จ๊ณ
1. [๋จ๊ณ 1]
2. [๋จ๊ณ 2]
โ [์์ ๊ฒฐ๊ณผ] vs [์ค์ ๊ฒฐ๊ณผ]
## Phase 1: ์กฐ์ฌ
- ์๋ฌ ๋ฉ์์ง: [์ ํํ ๋ฉ์์ง]
- ์ต๊ทผ ๋ณ๊ฒฝ: [๊ด๋ จ ์ปค๋ฐ/๋ณ๊ฒฝ]
- ๋ฐ์ดํฐ ํ๋ฆ: [์ถ์ ๊ฒฐ๊ณผ]
## Phase 2: ํจํด ๋ถ์
- ์๋ ์ผ์ด์ค: [์์]
- ์ฐจ์ด์ : [์๋ณ๋ ์ฐจ์ด]
## Phase 3: ๊ฐ์ค
1. ๊ฐ์ค: [๋ด์ฉ]
ํ
์คํธ: [๋ฐฉ๋ฒ]
๊ฒฐ๊ณผ: [๊ฒฐ๊ณผ]
## Phase 4: ์์
- ์์ ๋ด์ฉ: [๋ณ๊ฒฝ์ฌํญ]
- ํ
์คํธ: [๊ฒ์ฆ ๋ฐฉ๋ฒ]
- ๊ฒฐ๊ณผ: โ
/โ
Evidence-Based Results
์ฒด๊ณ์ ๋๋ฒ๊น
์ ์ฉ ์:
- ๋ฌธ์ ํด๊ฒฐ ์๊ฐ: 2-3์๊ฐ โ 15-30๋ถ
- ์ฌ๋ฐ ๋ฐฉ์ง: ๊ทผ๋ณธ ์์ธ ํด๊ฒฐ๋ก ์ฌ๋ฐ ๊ฐ์
- ํ์ต ํจ๊ณผ: ์์คํ
์ดํด๋ ํฅ์
Best Practices
- ์ฆ๊ฑฐ ์์ง: ๋ก๊ทธ, ์คํ ํธ๋ ์ด์ค, ์ฌํ ๋จ๊ณ ๋ฌธ์ํ
- ์ต์ ๋ณ๊ฒฝ: ํ ๋ฒ์ ํ๋๋ง ๋ณ๊ฒฝํ๊ณ ํ ์คํธ
- ์๋ณต ์ค๋น: ๋ณ๊ฒฝ ์ ์ํ๋ก ๋๋ฆด ์ ์๊ฒ ์ค๋น
- ๊ธฐ๋ก ์ ์ง: ์๋ํ ๊ฒ๊ณผ ๊ฒฐ๊ณผ ๋ฌธ์ํ