From dead-code
Find and remove unused code added in the current branch. Use when asked to find dead code, remove unused functions, clean up unreferenced code, or check for orphaned controllers/services/SDK functions. Triggers on phrases like "find dead code", "remove unused code", "check for orphaned functions", or "clean up unreferenced exports".
How this skill is triggered — by the user, by Claude, or both
Slash command
/dead-code:dead-codeThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Find and remove code added in the current branch that is never actually used.
Find and remove code added in the current branch that is never actually used.
git diff master...HEAD --name-only to find changed filesBackend dead code
Frontend dead code
Shared dead code
For each new export ExportName:
import.*ExportName or require.*ExportNameExportName( or <ExportName or .ExportNameAn export is dead if:
npx claudepluginhub franchiseai/claude-code-plugins --plugin dead-codeIdentifies unused imports, variables, functions, unreachable code, dependencies, and CSS for safe removal. Generates reports categorizing safe-to-remove, potentially unused, and review-required items.
Eliminates dead code including commented-out blocks, unused imports, unreachable branches, stale TODO/FIXME comments, and references to removed functionality. Enforces version control cleanup rule.
Analyzes and removes dead code in Repowise-indexed codebases using graph analysis. Suggests safe deletion order and flags false positives.