·s-clean
</>

s-clean

falkicon/mechanic

查找并删除死代码和过时的文档。涵盖未使用的函数、孤立文件、死链接和过时的引用。用于维护、预发布清理或代码库清理。触发因素:干净的代码、死代码、未使用的代码、孤立的代码、过时的代码、粗糙的代码、维护的代码。

0安装·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

详情

分类
</>开发工具
来源
user
收录时间
2026-02-01