SkillTrust

← All skills

refactor-patterns

100 / 100 · Low risk

Fine to try.

By yanacuti1121/Yana-AI (GitHub) · coding · 13 stars · scanned at commit 54d4aa9

Apply systematic refactoring patterns — strangler fig for legacy migration, seam detection, extract method/class, introduce parameter object, replace conditional with polymorphism, and safe refactoring sequencing. Use when asked to "refactor this", "clean up legacy code", "this is unmaintainable", "too many if statements", "extract this logic", or "how do I migrate without breaking everything". Do NOT use for: full rewrites — that is an architecture decision, not a refactoring task.

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-patterns' ] || [ -L ~/.agents/skills/'refactor-patterns' ]; then echo 'A skill folder named refactor-patterns already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/yanacuti1121/Yana-AI' "$d" && git -C "$d" checkout --quiet '54d4aa9fa3241319f4d37212bd23826658bf6bed' -- '.claude/skills/refactor-patterns' && mkdir -p ~/.agents/skills && cp -R "$d"/'.claude/skills/refactor-patterns' ~/.agents/skills/'refactor-patterns' && 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-patterns' ~/.claude/skills/'refactor-patterns' (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 yanacuti1121/Yana-AI shows the score of its lowest-scoring skill.

SkillTrust badge for yanacuti1121/Yana-AI

[![SkillTrust](https://zalavijaysinh.github.io/skilltrust/badges/yanacuti1121/Yana-AI.svg)](https://zalavijaysinh.github.io/skilltrust/repos/yanacuti1121/Yana-AI/)

Score history

DateVersionScore
2026-11-1354d4aa9100
2026-11-084a78f20100

Also found in

Identical copies of this skill exist at: