Clean codebase
Skill kimtth/agent-skill-100-lines-or-less/skills/clean-codebase
Clean up dead code, obsolete paths, and contradictions in the codebase to keep it small, correct, and aligned with reality.From its SKILL.md
npx -y skills add kimtth/agent-skill-100-lines-or-less --skill clean-codebaseAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
0.7 KB, 140 tokens by cl100k_base, as published. Nobody here has run it
Goal: keep repo small, correct, aligned with reality
Tasks:
- Delete dead code (no refs, no tests, stale)
- Remove obsolete paths, flags, duplicates
- Sync docs with actual APIs/configs
- Detect contradictions:
- code vs docs
- code vs tests
- schema/type drift
- unreachable logic
Output:
- list of removals (with confidence)
- suggested diffs
- contradictions: type | where | issue | severity | fix
Mode: assist (auto-fix safe only) Rules:
- don’t remove public APIs without deprecation
- avoid dynamic/reflection false positives
- keep changes reversible
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.