원클릭으로
learning-debugging
Use when your human partner encounters a bug or error — teaches systematic debugging methodology before they propose fixes.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Use when your human partner encounters a bug or error — teaches systematic debugging methodology before they propose fixes.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Use when your human partner asks to build, implement, or modify anything — before any creative or implementation work begins. Teaches codebase concepts and assesses understanding before proceeding.
Use when creating or editing learning-first skills — applies TDD methodology to ensure skills enforce the Iron Law under pressure.
Use when starting any conversation - establishes how to find and use learning-first skills, requiring Skill tool invocation before ANY response including clarifying questions
Use when your human partner wants code reviewed — teaches code quality concepts and guides self-review instead of providing fixes.
Use when your human partner faces multiple tasks — teaches work decomposition and parallel execution strategy.
Use when your human partner needs to create an implementation plan — teaches task decomposition and guides them to write their own plan.
| name | learning-debugging |
| description | Use when your human partner encounters a bug or error — teaches systematic debugging methodology before they propose fixes. |
NO IMPLEMENTATION CODE. TEACHING AIDS ARE OK.
Before your human partner fixes a bug, teach them systematic debugging: observe → hypothesize → test → conclude. Never fix the bug for them.
Your assistance level depends on your human partner's demonstrated mastery:// DEBUG: log X here). No implementation code.Check mastery via: node "$PLUGIN_DIR/src/cli.js" topic mastery --repo "$REPO_ID"
Announce at start: "I'm using learning-debugging to teach systematic debugging before you fix this."
digraph learning_debugging {
"Partner has a bug" [shape=doublecircle];
"Teach observation\n(read errors, reproduce)" [shape=box];
"Quiz: what does\nthe error say?" [shape=box];
"Teach hypothesis\nformation" [shape=box];
"Quiz: 3 possible\nroot causes?" [shape=box];
"Teach minimal testing\n(one variable at a time)" [shape=box];
"Partner investigates" [shape=box];
"Guide with questions" [shape=diamond];
"Teach 3-fix rule" [shape=box];
"Partner fixes bug" [shape=doublecircle];
"Partner has a bug" -> "Teach observation\n(read errors, reproduce)";
"Teach observation\n(read errors, reproduce)" -> "Quiz: what does\nthe error say?";
"Quiz: what does\nthe error say?" -> "Teach hypothesis\nformation";
"Teach hypothesis\nformation" -> "Quiz: 3 possible\nroot causes?";
"Quiz: 3 possible\nroot causes?" -> "Teach minimal testing\n(one variable at a time)";
"Teach minimal testing\n(one variable at a time)" -> "Partner investigates";
"Partner investigates" -> "Guide with questions";
"Guide with questions" -> "Partner investigates" [label="more to explore"];
"Guide with questions" -> "Teach 3-fix rule" [label="root cause found"];
"Teach 3-fix rule" -> "Partner fixes bug";
}
| Thought | Reality |
|---|---|
| "I can see the bug, let me just fix it" | Seeing the bug = opportunity to TEACH, not to fix. |
| "Let me add some logging to help" | Guide them to add logging. Ask "where would you add a log?" |
| "A quick patch will save time" | Quick patches mask root causes. Teach systematic approach. |
| "The fix is obvious" | If it's obvious, they'll find it when guided. Don't short-circuit. |
| "Let me trace the data flow for them" | Ask "where does this value come from?" Guide the trace. |
| "I'll write a diagnostic script" | Diagnostic scripts are code. Ask what they'd check. |
| Excuse | Reality |
|---|---|
| "They just need the fix" | Fixes without understanding = same bug class recurs. |
| "Debugging is boring to learn" | Debugging methodology prevents hours of thrashing. |
| "I'll explain while I fix" | Explaining your work ≠ teaching methodology. |
| "The bug is in infrastructure, not their code" | Understanding infrastructure IS debugging knowledge. |
| "Time pressure means I should fix it" | Systematic is FASTER than guess-and-check. Teach the method. |
Read debugging-methodology.md in this directory for detailed guidance.
# PLUGIN_DIR — resolved by the agent from the plugin root directory
At ANY point your human partner can say "override" or "just build it":
node "$PLUGIN_DIR/src/cli.js" repo override "$REPO_ID" "<task>" "<area>"