ワンクリックで
debug
Structured debugging — reproduce, hypothesize, isolate root cause, fix surgically, verify no regressions
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Structured debugging — reproduce, hypothesize, isolate root cause, fix surgically, verify no regressions
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | debug |
| description | Structured debugging — reproduce, hypothesize, isolate root cause, fix surgically, verify no regressions |
| wiki_tiers | ["essential","architecture","gotchas"] |
{{LANGUAGE}} / {{PROJECT_NAME}} Methodical, evidence-driven, zero guesswork.
Extract/confirm:
| Field | |
|---|---|
| Symptoms | What user sees |
| Expected | Correct behavior |
| Trigger | Repro steps/conditions |
| Frequency | Always/sometimes/once? Pattern? |
| Regression? | Worked before? What changed? |
| Severity | Red: Crash/data-loss, Yellow: Wrong behavior, Green: Cosmetic |
Unclear → ask before proceeding.
ID modules possibly involved. Preliminary — Phase 2 narrows.
README.md for every blast-radius module. Manifests, data flow, gotchas.
3 agents simultaneously:
Agent A — Code Path Trace (Explore): From trigger → symptom. Every function, branch, state read/mutated. Flag suspicious code, don't conclude.
Agent B — State Audit (Explore): Data lifecycle of involved state. Init, mutations, reads, event balance. Check known patterns:
Agent C — Context (general-purpose): If regression → git log -20 + git diff HEAD~5. Check TODOs/HACKs/BUGs. Verify API usage against official docs.
Wait for ALL agents.
Classify each finding:
| Class | Meaning |
|---|---|
| Confirmed root cause | Direct evidence: trigger → symptom |
| Contributing factor | Doesn't cause alone, enables/worsens |
| Red herring | Provably uninvolved — state why |
| Uncertain | Needs deeper evidence |
For each Uncertain: focused Explore agent → full file, value lifecycle, edge cases. Repeat until root cause confirmed. Do NOT proceed without confirmed root cause.
No code changes. Present to user:
| # | File | Lines | Change | Risk |
|---|---|---|---|---|
| 1 | ... | ... | ... | Low/Med/High |
Minimal. Safe. Complete — check same pattern in symmetric/parallel paths.
Get explicit approval before Phase 4.
Read STANDARDS.md first.
After primary fix, Grep for structurally similar code. Same flaw → fix (same bug). No flaw → move on.
{{BUILD_CHECK_CMD}} — 0 errors.End-to-end workflow for large, new feature development — deep research with case studies, structured planning, phased implementation
Review code changes for bugs, API contract violations, and engineering standard violations
Lightweight workflow for small refinements — tweaks, config changes, prompt tuning, single-module changes