find-dead-code

Systematically identify unused code by inverting the burden of proof. Assumes ALL added code is dead until proven used. Extracts all code items (procs, types, fields, imports), generates "X is dead" claims, verifies each with caller search, detects write-only dead code (stored but never read), performs iterative re-scanning after removals to find orphaned code, produces report with removal plan. Use when: reviewing code changes, auditing new features, cleaning up PRs, or user says "find dead code", "find unused code", "check for unnecessary additions", "what can I remove".

$ 安裝

git clone https://github.com/majiayu000/claude-skill-registry /tmp/claude-skill-registry && cp -r /tmp/claude-skill-registry/skills/development/find-dead-code ~/.claude/skills/claude-skill-registry

// tip: Run this command in your terminal to install the skill