refactor-clean
100 / 100 · Low risk
Fine to try.
Refactor cleanly instead of layering sediment. Use for rename requests, stale or misleading names, legacy leftovers, changed scope, or when a change reveals duplicated concepts, local adapters, obsolete owners, redundant inputs or guards, compatibility wrappers, parallel abstractions, an over-large module that has accreted many responsibilities, or "just tack this on" pressure in any code area.
What this skill can do
We found nothing in the files we read that matches our rules. That does not prove the skill is safe: see the limits of static scanning.
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'refactor-clean' ] || [ -L ~/.agents/skills/'refactor-clean' ]; then echo 'A skill folder named refactor-clean already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/dzhng/skills' "$d" && git -C "$d" checkout --quiet '828e386301530b406b2fbd6d48136eae75720262' -- 'skills/engineering/refactor-clean' && mkdir -p ~/.agents/skills && cp -R "$d"/'skills/engineering/refactor-clean' ~/.agents/skills/'refactor-clean' && 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/'refactor-clean' ~/.claude/skills/'refactor-clean' (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/dzhng/skills/)
Score history
| Date | Version | Score |
|---|---|---|
| 2026-11-10 | 828e386 | 100 |
| 2026-11-08 | a4076b7 | 100 |
| 2026-11-07 | a4076b7 | 100 |