refactor
100 / 100 · Low risk
Fine to try.
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.
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' ] || [ -L ~/.agents/skills/'refactor' ]; then echo 'A skill folder named refactor already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/rvdbreemen/OTGW-firmware' "$d" && git -C "$d" checkout --quiet 'a5747ac4d516977288746986efd90e270ab7f093' -- '.github/skills/refactor' && mkdir -p ~/.agents/skills && cp -R "$d"/'.github/skills/refactor' ~/.agents/skills/'refactor' && 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' ~/.claude/skills/'refactor' (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/rvdbreemen/OTGW-firmware/)
Score history
| Date | Version | Score |
|---|---|---|
| 2026-11-09 | a5747ac | 100 |
| 2026-11-07 | 879aef3 | 100 |
Also found in
- boshi-xixixi/TraeSkill/.trae/Skills/.agents/skills/refactor
- github/awesome-copilot/skills/refactor