·s-clean
</>

s-clean

falkicon/mechanic

查找並刪除死代碼和過時的文檔。涵蓋未使用的函數、孤立文件、死鏈接和過時的引用。用於維護、預發布清理或代碼庫清理。觸發因素:乾淨的代碼、死代碼、未使用的代碼、孤立的代碼、過時的代碼、粗糙的代碼、維護的代碼。

2安裝·0熱度·@falkicon

安裝

$npx skills add https://github.com/falkicon/mechanic --skill s-clean

SKILL.md

Expert guidance for finding and removing cruft in addon codebases.

| Find Dead Code | addon.deadcode(addon="MyAddon") | | Find Stale Docs | docs.stale(addon="MyAddon") | | Filter by Confidence | addon.deadcode(addon="MyAddon", includesuspicious=false) |

| unusedfunction | Functions defined but never called | | orphanedfile | Lua files not in TOC | | deadexport | Exported values never used | | unusedlibrary | Libraries in Libs/ never used | | staleevent | Event handlers for unregistered events | | commentedcode | Large blocks of commented-out code |

查找並刪除死代碼和過時的文檔。涵蓋未使用的函數、孤立文件、死鏈接和過時的引用。用於維護、預發布清理或代碼庫清理。觸發因素:乾淨的代碼、死代碼、未使用的代碼、孤立的代碼、過時的代碼、粗糙的代碼、維護的代碼。 來源:falkicon/mechanic。

查看原文

可引用資訊

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

安裝指令
npx skills add https://github.com/falkicon/mechanic --skill s-clean
分類
</>開發工具
認證
收錄時間
2026-02-01
更新時間
2026-02-18

快速解答

什麼是 s-clean?

查找並刪除死代碼和過時的文檔。涵蓋未使用的函數、孤立文件、死鏈接和過時的引用。用於維護、預發布清理或代碼庫清理。觸發因素:乾淨的代碼、死代碼、未使用的代碼、孤立的代碼、過時的代碼、粗糙的代碼、維護的代碼。 來源:falkicon/mechanic。

如何安裝 s-clean?

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

這個 Skill 的原始碼在哪?

https://github.com/falkicon/mechanic

詳情

分類
</>開發工具
來源
skills.sh
收錄時間
2026-02-01