Skip to main content

prune-dead-code

Find code that nothing uses any more and remove it safely in a reviewable PR: unused exports and symbols, orphan files that no entry point imports, dead feature flags, unreachable routes, stale assets, unused i18n keys, and commented-out blocks. Detects the stack and runs its own tooling first (knip, ts-prune, ESLint no-unused-vars, vulture, deadcode, cargo udeps, go mod tidy -diff, ruff F401, rubocop, depcruise), falls back to a bundled conservative heuristic plus static reading, proves every candidate is not referenced dynamically, and removes it in small reviewable commits with the build and test suite green in between. Use whenever the user asks to remove dead code, clean up unused functions or files, find orphan modules, drop stale assets or commented-out code, or shrink a codebase's surface area. Also triggers on /prune-dead-code with an optional scope.

Datos de origen

marc-aurele-besner

Repositorio marc-aurele-besner/skillable

Última actividad en el origen
6 de noviembre de 2026 a las 12:30
Idioma detectado de SKILL.md
inglés
Estrellas
1
Forks
1

Opciones de instalación

De forma predeterminada está seleccionado el prompt que primero revisa el origen. Puedes cambiar a un comando directo o descargar una copia local.

Revisa los archivos de origen

Lee SKILL.md y los archivos complementarios que muestra SkillsMP antes de decidir si quieres instalarlo.

Explorador de archivos
3 archivos

Mostrando SKILL.md

SKILL.md
Instrucciones de origen · Vista previa de solo lectura
nameprune-dead-code
descriptionFind code that nothing uses any more and remove it safely in a reviewable PR: unused exports and symbols, orphan files that no entry point imports, dead feature flags, unreachable routes, stale assets, unused i18n keys, and commented-out blocks. Detects the stack and runs its own tooling first (knip, ts-prune, ESLint no-unused-vars, vulture, deadcode, cargo udeps, go mod tidy -diff, ruff F401, rubocop, depcruise), falls back to a bundled conservative heuristic plus static reading, proves every candidate is not referenced dynamically, and removes it in small reviewable commits with the build and test suite green in between. Use whenever the user asks to remove dead code, clean up unused functions or files, find orphan modules, drop stale assets or commented-out code, or shrink a codebase's surface area. Also triggers on /prune-dead-code with an optional scope.