SkillTrust

← All skills

refactor

100 / 100 · Low risk

Fine to try.

By testdouble/han (GitHub) · coding · 341 stars · scanned at commit abba73a

Restructure existing code without changing its behavior, through a test-gated refactoring loop: a named target, a green suite over that target before any edit, a planned sequence of small named refactorings, and the full suite re-run after every step. Use when the user wants to refactor, restructure, clean up, simplify, or improve the design of existing code, or to apply refactoring recommendations from a code-review or architectural-analysis report. This skill changes code; it does not review …

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/testdouble/han' "$d" && git -C "$d" checkout --quiet 'abba73a773528905a8f3d15956029394746e5c7f' -- 'han-coding/skills/refactor' && mkdir -p ~/.agents/skills && cp -R "$d"/'han-coding/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 testdouble/han shows the score of its lowest-scoring skill.

SkillTrust badge for testdouble/han

[![SkillTrust](https://zalavijaysinh.github.io/skilltrust/badges/testdouble/han.svg)](https://zalavijaysinh.github.io/skilltrust/repos/testdouble/han/)

Score history

DateVersionScore
2026-11-07abba73a100