SkillTrust

← All skills

refactor

100 / 100 · Low risk

Fine to try.

By rvdbreemen/OTGW-firmware (GitHub) · coding · 214 stars · scanned at commit a5747ac

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.

Works with any agent that supports SKILL.md skills.

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

The badge for rvdbreemen/OTGW-firmware shows the score of its lowest-scoring skill.

SkillTrust badge for rvdbreemen/OTGW-firmware

[![SkillTrust](https://zalavijaysinh.github.io/skilltrust/badges/rvdbreemen/OTGW-firmware.svg)](https://zalavijaysinh.github.io/skilltrust/repos/rvdbreemen/OTGW-firmware/)

Score history

DateVersionScore
2026-11-09a5747ac100
2026-11-07879aef3100

Also found in

Identical copies of this skill exist at: