wshobson avatar

Parallel Debugging

This is a structured approach to debugging when you're stuck with multiple plausible causes and don't want to chase the wrong lead. It organizes investigation around six failure categories (logic errors, data issues, state problems, integration failures, resource issues, and environment), forces you to gather real evidence with file and line citations, and uses confidence levels to arbitrate between competing explanations. The framework is heavy on process, which sounds bureaucratic until you've burned hours on confirmation bias or missed a compound bug because you stopped after finding one issue. Works best when the bug is genuinely ambiguous and you need systematic elimination rather than quick intuition.

skills.sh installs
10.4K
GitHub stars
42.4K
last updated
Aug 21, 2026

Install

$ npx -y skills add wshobson/agents --skill parallel-debugging --agent claude-code

Installs into .claude/skills of the current project.

Files

Parallel Debugging

Framework for debugging complex issues using the Analysis of Competing Hypotheses (ACH) methodology with parallel agent investigation.

When to Use This Skill

  • Bug has multiple plausible root causes
  • Initial debugging attempts haven't identified the issue
  • Issue spans multiple modules or components
  • Need systematic root cause analysis with evidence
  • Want to avoid confirmation bias in debugging

Hypothesis Generation Framework

Generate hypotheses across 6 failure mode categories:

1. Logic Error

  • Incorrect conditional logic (wrong operator, missing case)
  • Off-by-one errors in loops or array access
  • Missing edge case handling
  • Incorrect algorithm implementation

2. Data Issue

  • Invalid or unexpected input data
  • Type mismatch or coercion error
  • Null/undefined/None where value expected
  • Encoding or serialization problem
  • Data truncation or overflow

3. State Problem

  • Race condition between concurrent operations
  • Stale cache returning outdated data
  • Incorrect initialization or default values
  • Unintended mutation of shared state
  • State machine transition error

4. Integration Failure

Sponsors

Details

Repository
github.com/wshobson/agents
Categories
Debugging, Automation & Workflows

More from wshobson/agents

All 174

Recommended

More Debugging
1clickhouse avatarclickhouse-js-node-troubleshootingclickhouse/agent-skillsTroubleshoot and resolve common issues with the ClickHouse Node.js client (@clickhouse/client). Use this skill whenever a user reports errors, unexpected behavi7.8Kskills.sh installs
2aws avatartroubleshooting-s3-filesaws/agent-toolkit-for-awsDiagnoses and resolves Amazon S3 Files issues including mount failures, permission errors, synchronization problems, and performance issues. Use when the user h6.7Kskills.sh installs
3wordpress avatarwp-performancewordpress/agent-skillsUse when investigating or improving WordPress performance (backend-only agent): profiling and measurement (WP-CLI profile/doctor, Server-Timing, Query Monitor v6.7Kskills.sh installs
4rorkai avatarasc-crash-triagerorkai/app-store-connect-cli-skillsTriage TestFlight crashes, beta feedback, and performance diagnostics using asc. Use when the user asks about TF crashes, TestFlight crash reports, beta tester 6.6Kskills.sh installs
5manaflow-ai avatarcmux-debuggingmanaflow-ai/cmuxDebug logging, Debug menu, runtime pitfalls, typing-latency-sensitive paths, SwiftUI list snapshot boundaries, OS-version repros, and local visual iteration for4.9Kskills.sh installs
6dpearson2699 avatarswiftui-performancedpearson2699/swift-ios-skillsProfile, diagnose, and remediate SwiftUI runtime performance using code review, Instruments, and repeatable measurements. Use when a SwiftUI screen renders slow4.8Kskills.sh installs