원클릭으로
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Clean up accumulated junk in ~/.claude/ — failed telemetry queue, stale auto-named plans, old file-history snapshots. Use this skill whenever the user mentions their .claude directory getting large, clearing disk space in Claude Code, 清理 Claude Code 垃圾, 瘦身, reclaiming space, or asks anything like "why is ~/.claude so big". Also trigger if the user says they want to clean stale plans, telemetry, or edit history even without naming .claude explicitly.
Use when ready to commit changes to git repository
Sync config files to the bare dotfiles repo (~/.dotfiles.git, worktree $HOME). Use when the user runs /dotfiles, asks to commit/push dotfiles, 固化配置, or sync ~/.claude changes into version control. Stages tracked modifications and untracked claude config files (rules/hooks/skills), blocks secrets, then commits and pushes.
Send a message to a Telegram chat via the Bot API directly. Self-contained — reads its own .env at the skill root and has no dependency on any Telegram plugin. Use when the user asks to push a Telegram notification to their phone, test the bot token, send from a hook or one-shot script, or 给 telegram 发消息 / 推送消息到手机. Push policy — default is NO push (terminal output is the notification); push ONLY for /loop or /schedule task results, explicit requests ("发给我" / "notify me"), or completion of long tasks (>5 min). Never push for routine replies, errors/permission prompts (hooks handle those), or intermediate progress. When unsure, don't push.
| name | systematic-debugging |
| description | Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes |
Root-cause discipline itself (root cause before any fix, failing test first, verify) lives in the Change Protocol's bug branch — this skill does not repeat it. It carries what the protocol doesn't: evidence-gathering techniques and the anti-thrashing circuit breaker.
Multi-component systems (CI → build → signing, API → service → DB): before proposing any fix, instrument every component boundary —
Run once to show WHERE it breaks, then investigate that component. Don't reason about which layer fails — make the system tell you.
Error deep in a call stack: trace backward to where the bad value originates and fix at the source, not at the symptom. Full technique: root-cause-tracing.md in this directory.
After the 3rd failed fix, STOP. Do not attempt fix #4.
Signs the problem is architectural, not a failed hypothesis:
This means the pattern itself is wrong. Question whether the design is fundamentally sound, and discuss with 凯歌 before attempting any further fix.
root-cause-tracing.md — trace bugs backward through the call stack to the original trigger (includes find-polluter.sh for bisecting test pollution)defense-in-depth.md — add validation at multiple layers after the root cause is foundcondition-based-waiting.md — replace arbitrary timeouts with condition polling