agents/skills/debug/SKILL.md
Trace a code path end-to-end to find bugs. Use when the user reports a bug, unexpected behavior, or wants to understand why something fails.
npx skillsauth add timofreiberg/dotfiles debugInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
The user wants you to investigate a bug or unexpected behavior. Follow this process strictly — do not skip steps or jump to conclusions.
Read the user's description. Identify:
If any of these are unclear, ask before proceeding.
Starting from the entry point, trace every function call, branch, and early return on the path to the expected endpoint. Read each file — do not assume what a function does from its name.
For each function in the chain, note:
Use sub-agents to trace branches in parallel when the path forks.
Only after completing the trace, state your hypothesis:
If you're uncertain about any link in the chain, say so explicitly. Do not speculate or fill gaps with assumptions.
Propose a minimal fix. Explain:
Do not implement the fix unless the user asks you to.
development
Quick internet research via a web-search-enabled model. Returns summaries with source URLs.
data-ai
Use when you want to work in an isolated jj working copy — parallel task, experimental scratch, subagent with its own tree. Covers creating a workspace, working inside it from anywhere, and cleaning up without losing history.
tools
Use when working on the pi coding agent harness or writing pi extensions.
testing
Use when creating, editing, or reviewing a skill before it ships. Covers when to write a skill, file layout, the SKILL.md shape, and how to verify it before relying on it.