一键导入
debugging-protocol
Structured debugging: hypothesis generation, validation, root cause analysis. For complex bugs, flaky tests, intermittent failures.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Structured debugging: hypothesis generation, validation, root cause analysis. For complex bugs, flaky tests, intermittent failures.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Session bootstrap + workflows for Pathfinder semantic navigation tools. Covers: discovery protocol, tool chaining patterns (explore, impact, audit, debug), search optimization, LSP degraded mode, and error recovery.
Playwright browser automation via MCP. Covers E2E testing, UI review, web scraping, screenshot capture, and general browser interaction. MCP-first — CLI is fallback only.
Safe command execution: input sanitization, timeout handling, output capture, error propagation. For spawning processes, shell commands, system calls.
Git conventions: conventional commits, branch naming, PR hygiene, release tagging.
Structured incident workflow: severity classification, triage, diagnosis, mitigation, postmortem, and prevention. Template-driven with blameless review.
Constructs, validates, and traverses a Directed Acyclic Graph (DAG) from scope cards for safe level-based parallel dispatch. Determines execution order via topological sort. Detects cycles and invalid dependencies.
| name | debugging-protocol |
| description | Structured debugging: hypothesis generation, validation, root cause analysis. For complex bugs, flaky tests, intermittent failures. |
Rigorous framework: beyond ad-hoc troubleshooting to structured hypothesis → validation.
Copy template assets/debugging-session-template.md → docs/debugging/{issue}-{YYYY-MM-DD}-{HHmm}.md
List distinct, testable hypotheses. Avoid vague guesses. Differentiate layers (frontend vs backend). Example: "race condition in UI state" vs "DB schema misconfiguration."
Per hypothesis:
Per task: status (✅ VALIDATED / ❌ FAILED / ⚠️ INCONCLUSIVE), findings (evidence), conclusion.
Synthesize: primary root cause, confidence level, proposed fixes.
/var/log/nginx/access.log" not "check logs")When a regression has no obvious cause:
git bisect start → git bisect bad (current) → git bisect good (known good)For race conditions, deadlocks, and data races:
go test -race, -fsanitize=thread, TSAN)For leaks, corruption, and excessive allocation:
After resolving a complex bug:
@incident-responderFull postmortem template and blameless review process:
@.gemini/skills/incident-response/SKILL.md
Load from languages/ for language-specific tools, hypothesis categories, validation strategies:
| Module | Runtime |
|---|---|
| Rust | cargo, rustc, tokio |
| Frontend | Vue 3, React, browser, Vite |
logging-and-observability-principles skill