Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.
Install
npx skills add github/awesome-copilot --skill refactornpx skills add github/awesome-copilot --skill refactor -a claude-code -gnpx skills add github/awesome-copilot --skill refactor -a codex -ggemini skills install https://github.com/github/awesome-copilot.git --path skills/refactorgh skill install github/awesome-copilot refactorgit clone --depth 1 https://github.com/github/awesome-copilot /tmp/github__awesome-copilot
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/github__awesome-copilot/skills/refactor ~/.claude/skills/refactor # Claude Code
cp -R /tmp/github__awesome-copilot/skills/refactor ~/.agents/skills/refactor # Codex, Cursor, Gemini CLI, Copilot, OpenCode