clean-code
67 / 100 · Review before installing
Check before installing. Some of what it can do is expected: a coding skill usually runs build and test commands.
Audit → fix → verify the branch diff against KISS, DRY, SOLID, and YAGNI. Finds duplicated logic, units with more than one reason to change, needless abstraction or speculative extensibility, wrong-altitude code, and dead code in the changed files — then applies the smallest safe refactor for each, one atomic commit per fix, under a green test suite. Quality only: it does not hunt for bugs (use /review or /code-review for that). Use when asked to "clean up the diff", "simplify this", "DRY this …
What this skill can do
Downloads and installs other software
Connects to the internet
Changes files outside its own folder
Runs commands on your computer
Safer alternatives
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'clean-code' ] || [ -L ~/.agents/skills/'clean-code' ]; then echo 'A skill folder named clean-code already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/ariadoss/superskills' "$d" && git -C "$d" checkout --quiet 'c7ec8d78e5dc37484c2cfe90ab04de163d97dd41' -- 'skills/clean-code' && mkdir -p ~/.agents/skills && cp -R "$d"/'skills/clean-code' ~/.agents/skills/'clean-code' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'clean-code' ~/.claude/skills/'clean-code' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
[](https://zalavijaysinh.github.io/skilltrust/repos/ariadoss/superskills/)
Score history
| Date | Version | Score |
|---|---|---|
| 2026-11-08 | c7ec8d7 | 67 |
| 2026-11-06 | c7ec8d7 | 47 |