SkillTrust

← All skills

refactor-safely

100 / 100 · Low risk

Fine to try.

By techygarg/lattice (GitHub) · coding · 211 stars · scanned at commit a772470

Restructure existing code safely without changing externally observable behavior. Composes context, design, architecture, code quality, and testing guardrails into a characterization-first refactoring workflow. Use when the user says 'refactor this', 'clean this up', 'untangle this module', 'move this to the right layer', 'simplify this code', or 'improve this structure'.

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.

Other copies in this repository

techygarg/lattice has 1 more folder with a skill named refactor-safely. This page shows the lowest-scoring copy.

Install

Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.

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

SkillTrust badge for techygarg/lattice

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

Score history

DateVersionScore
2026-11-07a772470100