What problem does it solve? Debugging often devolves into speculative fixes and lost context when sessions are interrupted. This Skill enforces a structured, resumable investigation workflow that finds the real root cause before any fix is accepted, keeping evidence, hypotheses, and verification state in a durable session file. ## Core Features & Use Cases - Resumable Debug Sessions: Persists investigation state in .planning/debug/[slug].md so work survives interruptions, with explicit resume, derived-issue, and archive lifecycle handling. - Evidence-First Root Cause Analysis: Requires a confirmed understanding checkpoint, causal map, investigation contract, and falsifiable hypothesis before any code change, rejecting surface-only fixes. - Leader/Subagent Orchestration: Routes investigations as leader-inline, one-subagent, or parallel-subagents based on complexity, with subagents restricted to fact-only evidence collection. - Use Case: A regression appears in a spec-kit project after a refactor. Invoke the skill, confirm the debug checkpoint, let it gather reproduction evidence and logs, confirm the root cause, apply a minimal verified fix, and close the session only after human verification. ## Quick Start Ask the agent to run /sp-debug with a description of the bug you want investigated, or leave it blank to resume the most recent debug session.