The top 5 open-source Claude Code skills for Refactoring, ranked by relevance, then GitHub stars, with what each one does and a one-line install command. Skills use the open SKILL.md format, so most also work in Codex CLI and other agents that support it.
Refactoring skills let Claude Code change the shape of your codebase without changing its behavior. The best ones work in small verifiable steps: extract a function, run the tests, commit, repeat. They can rename across files without breaking imports, pull duplicate logic into a shared module, and migrate from one framework version to the next with a rollback plan. Always run tests before and after — even a careful refactor can break a subtle contract.
Install the top pick, Refactoring Ui Skill, with one command:
git clone --depth 1 https://github.com/edisonmbli/refactoring-ui-skill.git /tmp/refactoring-ui-skill-src
cp -r /tmp/refactoring-ui-skill-src/skills/* ~/.claude/skills/Claude Code picks new skills up automatically. Pick the skill from the list below that matches your task, then describe the task in plain words. Typical requests in this area:
On Windows? See the Windows install guide.
Unofficial Claude Skill derived from the book Refactoring UI — a design rulebook and diagnostic layer for web UI. 151 tracked rules, design token generation, and Tailwind mappings.
502 ★ · by edisonmbli · design
git clone --depth 1 https://github.com/edisonmbli/refactoring-ui-skill.git /tmp/refactoring-ui-skill-src
cp -r /tmp/refactoring-ui-skill-src/skills/* ~/.claude/skills/Skill that audits and rewrites content to remove AI writing patterns. Use it with your favorite agents including Claude Code, OpenClaw, Codex, and Hermes.
6.2k ★ · by conorbronsdon · security
git clone --depth 1 https://github.com/conorbronsdon/avoid-ai-writing.git ~/.claude/skills/avoid-ai-writingAGENTS.md rules / skills for AI coding agents: Codex, Cursor & Claude Code. Inspired by Clean Code, Refactoring, DDD, Clean Architecture and DDIA programming books.
3.3k ★ · by ciembor · design
git clone --depth 1 https://github.com/ciembor/agent-rules-books.git ~/.claude/skills/agent-rules-booksDon't rewrite it in Rust. Rewrite the 5% that's slow: profile Python, Node or Ruby apps, port the hot functions with your coding agent, prove they behave the same.
3.3k ★ · by EL4CTEO · integrations
git clone --depth 1 https://github.com/EL4CTEO/fast-anything.git /tmp/fast-anything-src
cp -r /tmp/fast-anything-src/skills/* ~/.claude/skills/See why a draft sounds like AI and rewrite it in one of five voices: 55 named patterns, a 0 to 100 score, a fact check.
327 ★ · by Aboudjem · content-creation
git clone --depth 1 https://github.com/Aboudjem/humanizer-skill.git /tmp/humanizer-skill-src
cp -r /tmp/humanizer-skill-src/skills/* ~/.claude/skills/Skills that name the topic come first, then skills that describe it; ties are ranked by GitHub stars at the last update. Always review a skill's code before installing it.