s-clean
✓Find and remove dead code and stale documentation. Covers unused functions, orphaned files, dead links, and outdated references. Use for maintenance, pre-release cleanup, or codebase hygiene. Triggers: clean, dead code, unused, orphan, stale, cruft, maintenance.
Installation
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 |
Find and remove dead code and stale documentation. Covers unused functions, orphaned files, dead links, and outdated references. Use for maintenance, pre-release cleanup, or codebase hygiene. Triggers: clean, dead code, unused, orphan, stale, cruft, maintenance. Source: falkicon/mechanic.
Facts (cite-ready)
Stable fields and commands for AI/search citations.
- Install command
npx skills add https://github.com/falkicon/mechanic --skill s-clean- Source
- falkicon/mechanic
- Category
- </>Dev Tools
- Verified
- ✓
- First Seen
- 2026-02-01
- Updated
- 2026-02-18
Quick answers
What is s-clean?
Find and remove dead code and stale documentation. Covers unused functions, orphaned files, dead links, and outdated references. Use for maintenance, pre-release cleanup, or codebase hygiene. Triggers: clean, dead code, unused, orphan, stale, cruft, maintenance. Source: falkicon/mechanic.
How do I install s-clean?
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/falkicon/mechanic --skill s-clean Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor
Where is the source repository?
https://github.com/falkicon/mechanic
Details
- Category
- </>Dev Tools
- Source
- skills.sh
- First Seen
- 2026-02-01