CursorPool
← 返回首页
dead-code-finder logo

dead-code-finder

7

查找并结构化报告死代码:未使用的 import、变量、函数、导出和不可达代码;语言无关、以验证优先,默认仅报告,按需安全删除。

2 条规则

Run the **dead-code-find** skill.

- **Scope:** Current file (default). User can say "in src/" or "whole project" in follow-up to change scope.
- **Behavior:** Report-only — list all findings (file, line, type, symbol, remediation). Do not edit files unless the user then asks to "remove" or "fix" the dead code.
- **Output:** Structured report with summary; optionally suggest running again with "remove dead code" to apply safe removals.