Parallel Debugging
Unverified●32/40Claude Code◐PartialHas SKILL.md but declares no allowed-tools — Claude Code will ask for permission each time
Cursor◐PartialPlain prose you can paste in — but no Cursor rules file
Codex◐PartialPlain prose you can paste in — but no AGENTS.md
Gemini CLI◐PartialPlain prose you can paste in
Copilot◐PartialPlain prose you can paste in — but no Copilot instructions file
npx agentalley add parallel-debuggingWho is stuck, and on what
Debug complex issues using competing hypotheses with parallel investigation, evidence collection, and root cause arbitration. Use this skill when debugging bugs with multiple potential causes, performing root cause analysis, or organizing parallel investigation workflows.
The whole source
Frontmatter — 3 properties
| name | parallel-debugging |
|---|---|
| description | Debug complex issues using competing hypotheses with parallel investigation, evidence collection, and root cause arbitration. Use this skill when debugging bugs with multiple potential causes, performing root cause analysis, or organizing parallel investigation workflows. |
| version | 1.0.2 |
| 1 | --- |
| 2 | name: parallel-debugging |
| 3 | description: Debug complex issues using competing hypotheses with parallel investigation, evidence collection, and root cause arbitration. Use this skill when debugging bugs with multiple potential causes, performing root cause analysis, or organizing parallel investigation workflows. |
| 4 | version: 1.0.2 |
| 5 | ---A5 — No allowed-tools declared — no way to tell what this skill may touch |
| 6 | |
| 7 | # Parallel Debugging |
| 8 | |
| 9 | Framework for debugging complex issues using the Analysis of Competing Hypotheses (ACH) methodology with parallel agent investigation. |
| 10 | |
| 11 | ## When to Use This Skill |
| 12 | |
| 13 | - Bug has multiple plausible root causes |
| 14 | - Initial debugging attempts haven't identified the issue |
| 15 | - Issue spans multiple modules or components |
| 16 | - Need systematic root cause analysis with evidence |
| 17 | - Want to avoid confirmation bias in debugging |
| 18 | |
| 19 | ## Hypothesis Generation Framework |
| 20 | |
| 21 | Generate hypotheses across 6 failure mode categories: |
| 22 | |
| 23 | ### 1. Logic Error |
| 24 | |
| 25 | - Incorrect conditional logic (wrong operator, missing case) |
| 26 | - Off-by-one errors in loops or array access |
| 27 | - Missing edge case handling |
| 28 | - Incorrect algorithm implementation |
| 29 | |
| 30 | ### 2. Data Issue |
| 31 | |
| 32 | - Invalid or unexpected input data |
| 33 | - Type mismatch or coercion error |
| 34 | - Null/undefined/None where value expected |
| 35 | - Encoding or serialization problem |
| 36 | - Data truncation or overflow |
| 37 | |
| 38 | ### 3. State Problem |
| 39 | |
| 40 | - Race condition between concurrent operations |
| 41 | - Stale cache returning outdated data |
| 42 | - Incorrect initialization or default values |
| 43 | - Unintended mutation of shared state |
| 44 | - State machine transition error |
| 45 | |
| 46 | ### 4. Integration Failure |
| 47 | |
| 48 | - API contract violation (request/response mismatch) |
| 49 | - Version incompatibility between components |
| 50 | - Configuration mismatch between environments |
| 51 | - Missing or incorrect environment variables |
| 52 | - Network timeout or connection failure |
| 53 | |
| 54 | ### 5. Resource Issue |
| 55 | |
| 56 | - Memory leak causing gradual degradation |
| 57 | - Connection pool exhaustion |
| 58 | - File descriptor or handle leak |
| 59 | - Disk space or quota exceeded |
| 60 | - CPU saturation from inefficient processing |
| 61 | |
| 62 | ### 6. Environment |
| 63 | |
| 64 | - Missing runtime dependency |
| 65 | - Wrong library or framework version |
| 66 | - Platform-specific behavior difference |
| 67 | - Permission or access control issue |
| 68 | - Timezone or locale-related behavior |
| 69 | |
| 70 | ## Evidence Collection Standards |
| 71 | |
| 72 | ### What Constitutes Evidence |
| 73 | |
| 74 | | Evidence Type | Strength | Example | |
| 75 | | ----------------- | -------- | --------------------------------------------------------------- | |
| 76 | | **Direct** | Strong | Code at `file.ts:42` shows `if (x > 0)` should be `if (x >= 0)` | |
| 77 | | **Correlational** | Medium | Error rate increased after commit `abc123` | |
| 78 | | **Testimonial** | Weak | "It works on my machine" | |
| 79 | | **Absence** | Variable | No null check found in the code path | |
| 80 | |
| 81 | ### Citation Format |
| 82 | |
| 83 | Always cite evidence with file:line references: |
| 84 | |
| 85 | ``` |
| 86 | **Evidence**: The validation function at `src/validators/user.ts:87` |
| 87 | does not check for empty strings, only null/undefined. This allows |
| 88 | empty email addresses to pass validation. |
| 89 | ``` |
| 90 | |
| 91 | ### Confidence Levels |
| 92 | |
| 93 | | Level | Criteria | |
| 94 | | ------------------- | ----------------------------------------------------------------------------------- | |
| 95 | | **High (>80%)** | Multiple direct evidence pieces, clear causal chain, no contradicting evidence | |
| 96 | | **Medium (50-80%)** | Some direct evidence, plausible causal chain, minor ambiguities | |
| 97 | | **Low (<50%)** | Mostly correlational evidence, incomplete causal chain, some contradicting evidence | |
| 98 | |
| 99 | ## Result Arbitration Protocol |
| 100 | |
| 101 | After all investigators report: |
| 102 | |
| 103 | ### Step 1: Categorize Results |
| 104 | |
| 105 | - **Confirmed**: High confidence, strong evidence, clear causal chain |
| 106 | - **Plausible**: Medium confidence, some evidence, reasonable causal chain |
| 107 | - **Falsified**: Evidence contradicts the hypothesis |
| 108 | - **Inconclusive**: Insufficient evidence to confirm or falsify |
| 109 | |
| 110 | ### Step 2: Compare Confirmed Hypotheses |
| 111 | |
| 112 | If multiple hypotheses are confirmed, rank by: |
| 113 | |
| 114 | 1. Confidence level |
| 115 | 2. Number of supporting evidence pieces |
| 116 | 3. Strength of causal chain |
| 117 | 4. Absence of contradicting evidence |
| 118 | |
| 119 | ### Step 3: Determine Root Cause |
| 120 | |
| 121 | - If one hypothesis clearly dominates: declare as root cause |
| 122 | - If multiple hypotheses are equally likely: may be compound issue (multiple contributing causes) |
| 123 | - If no hypotheses confirmed: generate new hypotheses based on evidence gathered |
| 124 | |
| 125 | ### Step 4: Validate Fix |
| 126 | |
| 127 | Before declaring the bug fixed: |
| 128 | |
| 129 | - [ ] Fix addresses the identified root cause |
| 130 | - [ ] Fix doesn't introduce new issues |
| 131 | - [ ] Original reproduction case no longer fails |
| 132 | - [ ] Related edge cases are covered |
| 133 | - [ ] Relevant tests are added or updated |
| 134 |
Reviews
Installed this one?Write the first review and take the Trailblazer badge.
Alternatives
Task Coordination StrategiesDecompose complex tasks, design dependency graphs, and coordinate multi-agent work with proper task descriptions and workload balancing. Use this skill when breaking down work for agent teams, managing task dependencies, or monitoring team progress.◐◐◐◐◐●35/40Ebay Seller Tools·····●34/40Tough Decision Advisor: Every Angle ConsideredHand in a decision you're stuck on. Get back a clear breakdown of every angle — the trade-offs, the risks, the blind spot, and a recommended path.●····●32/40DHDNA Profiler — Cognitive Pattern ExtractionPaste any email, proposal, or note someone wrote, and get back a plain-language read on how they think, what drives their decisions, and how they communicate.●····●32/40