woos-systematic-debugging
Use when implementation or verification hits repeated failures. Enforces root-cause investigation before fix attempts.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Use when implementation or verification hits repeated failures. Enforces root-cause investigation before fix attempts.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Produce the high-level architecture overview used by downstream product design and engineering.
Independent high-level architecture review gate for discovery.
Capture and structure raw ideas through guided interview or quick note. Produces a structured idea document ready for research or PRD pass. Focuses purely on product intent — no technical decisions.
Entry-point product workflow from raw idea to validated product design artifacts. Stops at reviewed PRD readiness and does not include engineering implementation.
Write the per-feature PRD from the ranked requirements contract using the mandatory PRD template.
Dedicated analyze gate for PRD and UI brief consistency. Runs script extraction first, then semantic review with evidence-backed findings.
| name | woos-systematic-debugging |
| description | Use when implementation or verification hits repeated failures. Enforces root-cause investigation before fix attempts. |
| version | 1.0.0 |
| author | Hermes Profile |
| license | MIT |
Prevent "fix-by-guessing" loops that waste context and introduce new bugs. When repeated failures occur during TDD, verification, or any gate retry, this skill enforces a structured root-cause-first approach.
verification-loop): lint/test/build fails after implementation and fix is not obviouswoos-failure-state-machine reaches 2+ retries on the same failureActivation is mandatory, not optional. If you are on your 2nd failed fix attempt, you MUST switch to this skill before trying again.
NO FIX WITHOUT ROOT CAUSE INVESTIGATION FIRST
Proposing a fix before completing Phase 1 is invalid. Delete the fix. Start Phase 1.
Phase 1: Evidence Collection (DO NOT CHANGE CODE)
↓
Phase 2: Pattern Analysis
↓
Phase 3: Single-Hypothesis Verification
↓
Phase 4: Fix with Regression Test
Goal: Understand what is happening. Do not guess. Do not change code.
Steps:
Phase 1 output (required before proceeding):
FAILURE_REPRODUCTION:
command: <exact command>
output: <exact output>
exit_code: <number>
BOUNDARY_TRACE:
- boundary: <name>
input: <what entered>
output_expected: <what should exit>
output_actual: <what actually exited>
diverges: true|false
FIRST_DIVERGENCE_POINT: <boundary name>
Hard gate: If you cannot fill in FIRST_DIVERGENCE_POINT, you have not completed Phase 1. Keep investigating.
Goal: Understand WHY it diverges at that point.
Steps:
woos-workflow-memory if available)Phase 2 output (required before proceeding):
DIVERGENCE_ANALYSIS:
type: data|logic|state|environment
code_location: <file:line>
CANDIDATE_ROOT_CAUSES:
1. <cause> at <file:line> — evidence: <why you think this>
2. <cause> at <file:line> — evidence: <why you think this>
MOST_LIKELY: <number>
REASONING: <why this one over others>
Goal: Confirm or eliminate the most likely root cause. Change ONE thing.
Steps:
Hard gate: Do not change more than one variable at a time. Multi-variable changes make results uninterpretable.
Goal: Implement the real fix and prove it works.
Steps:
Phase 4 output (required):
REGRESSION_TEST:
test_file: <path>
test_name: <name>
red_confirmed: true
green_confirmed: true
revert_confirmed_red: true
full_suite_passes: true
fix_attempt_max: 3
After 3 failed fix attempts (across all phases):
woos-human-handoff with full Phase 1-3 evidence.This skill is a cross-cutting protocol, not a fixed gate. It activates during:
woos-failure-state-machine: when FAILED_RETRYABLE retry count reaches 2+When activated, the current gate pauses. Debugging protocol runs. When Phase 4 completes, the original gate resumes.
STATUS: RESOLVED | ESCALATED | BLOCKED
ROOT_CAUSE: <one-sentence description>
ROOT_CAUSE_LOCATION: <file:line>
FIX_DESCRIPTION: <what was changed and why>
REGRESSION_TEST: <test name and path>
FIX_ATTEMPTS_USED: <number>
PHASES_COMPLETED: [1, 2, 3, 4]
RESOLVED requires all four phases completed with evidence.
ESCALATED when fix_attempt_max exceeded — must include all collected evidence.
BLOCKED when reproduction itself is not achievable.