一键导入
dev-debug
Interactive debugging session discipline — visibility-first debugging, safe git workflow, and pair programming patterns.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Interactive debugging session discipline — visibility-first debugging, safe git workflow, and pair programming patterns.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Copy processed MP3s and WAVs to NAS storage. Use after Apple Music import or when re-archiving corrected files.
Move processed ZIPs to archive and clean up extraction folders. Use after album processing is complete.
Copy finished MP3s into Apple Music via the auto-import folder and verify the album lands correctly. Use once metadata is finalized and the user wants tracks added to their library — e.g. "add this to Apple Music" or "import these tracks" — even if they don't say "auto-import" explicitly. Also use to diagnose a bad import, e.g. "it showed up as separate tracks instead of one album."
Inspect and update MP3 tags: genre, artist, album, track count, compilation flag. Use when checking or fixing music file metadata — including diagnostic questions like "why do these show up as separate tracks" or "is this folder's metadata consistent," not just explicit tag-editing requests.
End-to-end processing of downloaded music purchases: extract ZIPs, verify metadata, import to Apple Music, archive to NAS, clean up. Use when processing new music downloads.
Reclaim local disk by offloading cloud-backed Apple Music downloads. Audit iCloud status, build an offload playlist that protects your DJ crates and lossless files, then Remove Download. Use when the Mac is low on disk.
| name | dev-debug |
| description | Interactive debugging session discipline — visibility-first debugging, safe git workflow, and pair programming patterns. |
Rules for working through bugs, testing, and iterative development with the user present. You are pair programming, not working solo.
Never do these without explicit user confirmation:
git push to remote — wait for "push it" or "go ahead"gh pr create — wait for "create the PR" or "open a PR"gh pr merge — wait for "merge it"Commit history and PR history are permanent public records. Rushing creates a mess.
These are fine without asking:
STOP HERE and ask:
Symptoms: debug statements don't appear, changes don't take effect, output is missing, can't tell which code path is executing.
The problem: without visibility, every attempt is a shot in the dark.
STOP. Don't keep trying variations. Solve visibility first.
1. Isolate the problem domain
Ask: "Is this a me problem, or a them problem?"
2. Strip to absolute minimum
Remove ALL logic. Test just the framework:
handler() {
log("I WAS CALLED")
}
3. Test assumptions about control flow
If output doesn't appear, execution likely never reached that line.
Add an intentional early exit:
log("BEFORE EXIT")
return / throw / exit
log("AFTER EXIT - SHOULD NOT SEE THIS")
If your original logs didn't appear but "BEFORE EXIT" does, something exited before your code.
4. Binary search for the breaking point
Add back complexity one piece at a time. Test after each addition. When output stops, the last thing you added is the culprit.
Visibility is not optional. You cannot debug behavior you cannot observe. When blind: stop trying, start seeing.
fix:, feat:, docs:, refactor: