什么是 dead-code-detector?
检测多语言代码库(Python、TypeScript、Rust)中未使用/无法访问的代码。触发器 - 死代码、未使用的函数、未使用的导入、无法访问的代码。 来源:terrylica/cc-skills。
检测多语言代码库(Python、TypeScript、Rust)中未使用/无法访问的代码。触发器 - 死代码、未使用的函数、未使用的导入、无法访问的代码。
通过命令行快速安装 dead-code-detector AI 技能到你的开发环境
来源:terrylica/cc-skills。
Find and remove unused code across Python, TypeScript, and Rust codebases.
| Python | vulture v2.14+ | Unused imports, functions, classes, variables | | TypeScript | knip v5.0+ | Unused exports, dependencies, files | | Rust | cargo clippy + rustc lints | Unused functions, imports, deadcode warnings |
| 100% | Guaranteed unused in analyzed files | Safe to remove | | 80-99% | Very likely unused | Review before removing | | 60-79% | Possibly unused (dynamic calls, frameworks) | Add to whitelist if intentional |
检测多语言代码库(Python、TypeScript、Rust)中未使用/无法访问的代码。触发器 - 死代码、未使用的函数、未使用的导入、无法访问的代码。 来源:terrylica/cc-skills。
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/terrylica/cc-skills --skill dead-code-detector检测多语言代码库(Python、TypeScript、Rust)中未使用/无法访问的代码。触发器 - 死代码、未使用的函数、未使用的导入、无法访问的代码。 来源:terrylica/cc-skills。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/terrylica/cc-skills --skill dead-code-detector 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/terrylica/cc-skills