Advanced Diagnostic Protocol
Implements a rigorous four-gate diagnostic framework to identify root causes and prevent speculative code fixes during debugging.
The Diagnose skill enforces a structured, evidence-based approach to troubleshooting by preventing premature code edits. It guides Claude through a strict protocol: defining the exact error, gathering logs and environment data, ranking three specific hypotheses based on evidence, and requiring explicit user authorization before any modifications are made. This process eliminates 'guess-and-check' workflows, ensuring that fixes are targeted, verified, and safe for production environments or complex CI/CD pipelines.
주요 기능
01Strict 'Read-Only' analysis phase using read, grep, and status tools
022 GitHub stars
03Mandatory three-hypothesis ranking with confidence scoring and evidence mapping
04Automated evidence gathering from logs, environment variables, and Git history
05Explicit user approval gate required before any code modification occurs
064-Gate diagnostic validation pipeline to prevent speculative edits
사용 사례
01Troubleshooting failing CI/CD pipelines or broken test suites
02Debugging complex logic errors where recent changes have caused regressions
03Identifying the root cause of production service outages and environment mismatches