원클릭으로
systematic-debugging
Systematic root-cause investigation before fixes
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Systematic root-cause investigation before fixes
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | systematic-debugging |
| description | Systematic root-cause investigation before fixes |
Perform systematic root-cause investigation before proposing fixes. This skill prevents guess-and-check debugging by enforcing a structured investigative process.
Announce professional mode status:
Using systematic-debugging skill. Professional mode is ACTIVE - architect mode enforced (no code changes).
Step 1: Understand the symptom
Ask clarifying questions ONE at a time:
Step 2: Reproduce the issue
Attempt to reproduce:
# Run the failing test, command, or scenario
<exact command from user>
Document:
Step 3: Trace through code
Starting from error location:
Do NOT guess. Read actual code at each step.
Step 4: Check related files
Look for:
# Check recent changes to file
git log -5 --oneline <file-path>
# Check what changed in last commit
git diff HEAD~1 <file-path>
Step 5: Form hypothesis
Based on investigation, state hypothesis:
Hypothesis: The error occurs because <specific reason>.
Evidence:
- [file.py:123] Variable X is undefined
- [config.yml:45] Setting Y was recently changed
- [test.log:67] Error message indicates Z
Expected: Fixing <specific issue> will resolve the error.
Step 6: Test hypothesis
Before making fixes, test the hypothesis:
# Add debug output
# Run test again
# Verify hypothesis is correct
Step 7: Design minimal fix
Based on confirmed root cause:
Root cause: <confirmed issue>
Minimal fix:
1. <specific change 1>
2. <specific change 2>
Files to modify:
- <file-path>:<line-numbers>
Why this fixes it:
<explanation>
Step 8: Create or execute plan
If fix is simple (1-2 files, < 20 lines):
This is a simple fix. Ready to implement?
[If yes: Use executing-plans or make changes directly if execution mode active]
If fix is complex:
This is a complex fix requiring multiple changes.
Recommend: Use writing-plans skill to create implementation plan.
[Use Skill tool to invoke writing-plans]
Step 9: Test the fix
After implementation:
# Run the originally failing test/command
<exact command that failed before>
Expected: Success
Step 10: Check for regressions
# Run full test suite
<test command>
Expected: All tests pass
Step 11: Document the fix
In commit message or documentation:
Root cause: <what was wrong>
Fix: <what was changed>
Verification: <how it was tested>
Enable workflow discipline and behavioral expectations
Client-aware manual tiered-up adversarial advisor (claude subagent / codex exec), fired at the natural discretionary advisor points
Turn ideas into fully formed designs through collaborative dialogue
Execute implementation plans wave-by-wave via MCP state management
Create detailed step-by-step implementation plans
Review completed work for quality, bugs, and standards