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.

ソース情報

marc-aurele-besner

リポジトリ marc-aurele-besner/skillable

ソースの最終更新活動
2026年11月6日 12:30
検出された SKILL.md の言語
英語
スター
1
フォーク
1

インストール方法

デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。

ソースファイルを確認

インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。

ファイルエクスプローラー
3 ファイル

SKILL.md を表示中

SKILL.md
ソースの指示 · 読み取り専用プレビュー
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.