본문으로 건너뛰기
Skillpedia
작업 및 프로젝트41k · #6628

parallel-debugging

하는 일

여러 설명을 동시에 조사해 복잡한 소프트웨어 문제의 원인을 찾도록 돕습니다. 단서를 찾는 과정을 정리하고, 어떤 설명이 가장 가능성이 높은지 결정합니다.

사용하는 경우

  • ✓버그에 여러 가능한 원인이 있을 때.
  • ✓처음 시도한 수정이 실패했을 때.
  • ✓문제가 프로그램의 여러 부분에 영향을 줄 때.

스킬 링크

https://github.com/wshobson/agents/blob/main/plugins/agent-teams/skills/parallel-debugging/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/wshobson/agents/blob/main/plugins/agent-teams/skills/parallel-debugging/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“제 웹사이트에서 버튼이 가끔 작동하지 않는 이상한 오류가 생깁니다. 가능한 원인을 함께 조사해 주실 수 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

AI는 문제의 여러 이유, 예를 들어 논리 오류, 잘못된 데이터, 연결 문제를 떠올려 봅니다. 각 이유를 확인하거나 부정하는 단서(증거)를 찾아보게 하고, 마지막으로 가장 가능성 높은 원인을 제시합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

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

  • API contract violation (request/response mismatch)
  • Version incompatibility between components
  • Configuration mismatch between environments
  • Missing or incorrect environment variables
  • Network timeout or connection failure

5. Resource Issue

  • Memory leak causing gradual degradation
  • Connection pool exhaustion
  • File descriptor or handle leak
  • Disk space or quota exceeded
  • CPU saturation from inefficient processing

6. Environment

  • Missing runtime dependency
  • Wrong library or framework version
  • Platform-specific behavior difference
  • Permission or access control issue
  • Timezone or locale-related behavior

Evidence Collection Standards

What Constitutes Evidence

Evidence Type Strength Example
Direct Strong Code at file.ts:42 shows if (x > 0) should be if (x >= 0)
Correlational Medium Error rate increased after commit abc123
Testimonial Weak "It works on my machine"
Absence Variable No null check found in the code path

Citation Format

Always cite evidence with file:line references:

**Evidence**: The validation function at `src/validators/user.ts:87`
does not check for empty strings, only null/undefined. This allows
empty email addresses to pass validation.

Confidence Levels

Level Criteria
High (>80%) Multiple direct evidence pieces, clear causal chain, no contradicting evidence
Medium (50-80%) Some direct evidence, plausible causal chain, minor ambiguities
Low (<50%) Mostly correlational evidence, incomplete causal chain, some contradicting evidence

Result Arbitration Protocol

After all investigators report:

Step 1: Categorize Results

  • Confirmed: High confidence, strong evidence, clear causal chain
  • Plausible: Medium confidence, some evidence, reasonable causal chain
  • Falsified: Evidence contradicts the hypothesis
  • Inconclusive: Insufficient evidence to confirm or falsify

Step 2: Compare Confirmed Hypotheses

If multiple hypotheses are confirmed, rank by:

  1. Confidence level
  2. Number of supporting evidence pieces
  3. Strength of causal chain
  4. Absence of contradicting evidence

Step 3: Determine Root Cause

  • If one hypothesis clearly dominates: declare as root cause
  • If multiple hypotheses are equally likely: may be compound issue (multiple contributing causes)
  • If no hypotheses confirmed: generate new hypotheses based on evidence gathered

Step 4: Validate Fix

Before declaring the bug fixed:

  • Fix addresses the identified root cause
  • Fix doesn't introduce new issues
  • Original reproduction case no longer fails
  • Related edge cases are covered
  • Relevant tests are added or updated
자주 묻는 질문

'가설(hypotheses)'이란 무엇인가요?

AI가 조사할 문제의 가능한 설명이나 원인입니다.

'증거(evidence)'란 무엇인가요?

가설을 입증하거나 반박하는 데 도움이 되는 단서나 구체적인 정보(코드 조각이나 오류 메시지 등)입니다.

AI는 근본 원인을 어떻게 결정하나요?

가설들을 찾은 증거와 비교합니다. 가장 좋고 강력한 증거가 있고, 모순 없이 문제를 설명하는 가설을 근본 원인으로 봅니다.

상세 정보

작성자의 원본 설명

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.

repo: wshobson/agents

인기도

GitHub 스타
41k
순위
#6628
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬