Skip to main content

debugging-protocol

Structured debugging: hypothesis generation, validation, root cause analysis. For complex bugs, flaky tests, intermittent failures.

소스 정보

저장소
irahardianto/awesome-gcli-test
최근 소스 활동
2026년 4월 21일 22:43
감지된 SKILL.md 언어
영어
스타
0
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
4 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
debugging-protocol
description
Structured debugging: hypothesis generation, validation, root cause analysis. For complex bugs, flaky tests, intermittent failures.
# Debugging Protocol Rigorous framework: beyond ad-hoc troubleshooting to structured hypothesis → validation. ## Workflow ### 1. Initialize Copy template `assets/debugging-session-template.md` → `docs/debugging/{issue}-{YYYY-MM-DD}-{HHmm}.md` ### 2. Define Problem - **Symptom:** observable behavior vs expected - **Scope:** which components involved ### 3. Hypotheses List distinct, testable hypotheses. Avoid vague guesses. Differentiate layers (frontend vs backend). Example: "race condition in UI state" vs "DB schema misconfiguration." ### 4. Validation Tasks Per hypothesis: - **Objective:** prove/disprove what - **Steps:** precise, reproducible - **Code pattern:** exact command/query/script - **Success criteria:** what output confirms hypothesis ### 5. Execute & Document Per task: status (✅ VALIDATED / ❌ FAILED / ⚠️ INCONCLUSIVE), findings (evidence), conclusion. ### 6. Root Cause Synthesize: primary root cause, confidence level, proposed fixes. ## Best Practices - Be specific ("grep 'Error 500' in `/var/log/nginx/access.log`" not "check logs") - Isolate variables: one change at a time - Validate assumptions first (config, versions) - Preserve evidence (trace IDs, timestamps, repro scripts) ## Language Modules Load from `languages/` for language-specific tools, hypothesis categories, validation strategies: | Module | Runtime | |---|---| | [Rust](languages/rust.md) | cargo, rustc, tokio | | [Frontend](languages/frontend.md) | Vue 3, React, browser, Vite | ## Compliance - Error Handling @.gemini/rules/error-handling-principles.md - Logging — load `logging-and-observability-principles` skill - Testing Strategy @.gemini/rules/testing-strategy.md (regression test for fix)
GitHub에서 보기