From loopkit
Find and remove unreachable/unused code safely. Use during cleanup or before a refactor.
How this skill is triggered — by the user, by Claude, or both
Slash command
/loopkit:kill-dead-codeWhen to use
cleanup, "remove unused", before refactoring, dead branches
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
1. **Prove it's dead** — no references (grep the symbol across the repo, including dynamic/string usage and tests). Unused export ≠ dead if it's a public API.
npx claudepluginhub archive228/loopkit --plugin loopkitEliminates dead code including commented-out blocks, unused imports, unreachable branches, stale TODO/FIXME comments, and references to removed functionality. Enforces version control cleanup rule.
Safely identifies and removes dead code with test verification at every step: unused exports, files, dependencies, helpers, wrappers, re-exports, and duplicates. Categorizes findings into safety tiers.
Identifies unused imports, variables, functions, unreachable code, dependencies, and CSS for safe removal. Generates reports categorizing safe-to-remove, potentially unused, and review-required items.