Cc Root — Development skill for Claude Code
追一個 bug/症狀/修法提案的根因,逼出不同層次的修法:寫不變量、找同根症狀、問到設計決定、L0–L3 分級,預設派 3 個提案 agent+1 個紅隊對抗.
How to install Cc Root
Installs to ~/.claude/skills/roylam-beep-cc-harness-cc-root/SKILL.md
mkdir -p ~/.claude/skills/roylam-beep-cc-harness-cc-root && curl -fsSL https://raw.githubusercontent.com/roylam-beep/cc-harness/HEAD/commands/cc-root.md -o ~/.claude/skills/roylam-beep-cc-harness-cc-root/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Cc Root does
description: 追一個 bug/症狀/修法提案的根因,逼出不同層次的修法:寫不變量、找同根症狀、問到設計決定、L0–L3 分級,預設派 3 個提案 agent+1 個紅隊對抗。唯讀,不實作 argument-hint: "[要追根的 bug、症狀或修法提案;可給檔案路徑。留空=本次對話最近一個尚未拍板的修法]" allowed-tools: Read, Glob, Grep, Agent, Bash(git log:*), Bash(git show:*), Bash(git diff:*), Bash(git check-ignore:*), Bash(ls:*), Bash(grep:*) disallowed-tools: Write, Edit, NotebookEdit
追根 $ARGUMENTS。沒指定就追本次對話中最近一個尚未拍板的修法。
**你的工作是找出「為什麼長得出這個 bug」,不是修這個 bug。** 手上現成的修法只是候選之一,不是起點。
流程
1. 寫不變量
一句話寫「什麼必須一直成立」。**主詞不能是檔案、
Alternatives in Development
- Root Cause Tracing — Use when errors occur deep in execution and you need to trace back to find the original trigger 102.5k ★
- Godogen Source Repo — This repository contains two source trees for the same project: - claude/ — Claude Code source tree - codex/ 2.8k ★
- Engage.Crash — Crash → root cause → reachability → empirical exploitability verdict (native bugs) 348 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Bug Race
Use when a bug has already survived at least one debugging attempt and you have 2-3 genuinely distinct root-ca
Investigator
Root-cause debugging specialist that diagnoses issues through systematic investigation before proposing any fi
Debug Blitz
Parallel debug assault — fires debug-detective + silent-failure-hunter + env-debugger simultaneously. Three ro
Bug Implement
Implement fixes based on root cause analysis and solution architecture
Bug Rca
Conduct root cause analysis on system incidents and failures
Agent Fix Bug
A strict brief that makes a coding agent find the root cause of a bug, fix it minimally, and prove it is fixed
Related Agents
Bug Triage Agent
Expert in bug triage and root cause analysis. Use when a bug report needs to be analyzed, prioritized, and pre
Hub Debugger
Thoughtbox Hub DEBUGGER agent. Joins workspaces, claims bug problems, performs root cause analysis using five-
Bug Fixer
Generates safe, minimal bug fixes using diagnosis from bug-hunter. Analyzes root cause, impact, and prevents r