什麼是 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