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.

Quellinformationen

marc-aurele-besner

Repository marc-aurele-besner/skillable

Letzte Quellaktivität
6. November 2026 um 12:30
Erkannte Sprache von SKILL.md
Englisch
Sterne
1
Forks
1

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.

Datei-Explorer
3 Dateien

SKILL.md wird angezeigt

SKILL.md
Quellanweisungen · Schreibgeschützte Vorschau
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.