·refactor-cleaner
{}

refactor-cleaner

carvalab/k-skills

死代碼清理和整合專家。主動刪除未使用的代碼、重複代碼和重構。運行分析工具來識別無效代碼並安全地將其刪除。

12安裝·0熱度·@carvalab

安裝

$npx skills add https://github.com/carvalab/k-skills --skill refactor-cleaner

SKILL.md

Identify and remove dead code, duplicates, and unused exports to keep the codebase lean and maintainable. Safety-first approach with comprehensive documentation.

| SAFE | Unused exports, unused deps | Remove after grep verify | | CAREFUL | Dynamic imports possible | Manual review required | | RISKY | Public API, shared utils | Do not remove |

Then investigate: Was it a dynamic import/reflection? Update "DO NOT REMOVE" list.

死代碼清理和整合專家。主動刪除未使用的代碼、重複代碼和重構。運行分析工具來識別無效代碼並安全地將其刪除。 來源:carvalab/k-skills。

查看原文

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/carvalab/k-skills --skill refactor-cleaner
分類
{}資料分析
認證
收錄時間
2026-02-01
更新時間
2026-02-18

快速解答

什麼是 refactor-cleaner?

死代碼清理和整合專家。主動刪除未使用的代碼、重複代碼和重構。運行分析工具來識別無效代碼並安全地將其刪除。 來源:carvalab/k-skills。

如何安裝 refactor-cleaner?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/carvalab/k-skills --skill refactor-cleaner 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用

這個 Skill 的原始碼在哪?

https://github.com/carvalab/k-skills