From auto-mobile
Detects and removes dead code in TypeScript projects using repo scripts and bun tasks. Validates removals with lint, build, and test commands.
How this skill is triggered — by the user, by Claude, or both
Slash command
/auto-mobile:dead-codeThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this when the user wants dead-code analysis or cleanup.
Use this when the user wants dead-code analysis or cleanup.
bash scripts/detect-dead-code-ts.sh, optionally writing reports to scratch/dead-code/.bun tasks over ad hoc dead-code tools.package.json dependency findings as suggestions until confirmed.bun run lintbun run buildbun testbash scripts/validate-bun-test-timings.sh when test changes may affect the 100ms expectationnpx claudepluginhub kaeawc/auto-mobile --plugin auto-mobileAnalyzes and removes dead code in Repowise-indexed codebases using graph analysis. Suggests safe deletion order and flags false positives.
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.
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.