refactor-safely
100 / 100 · Low risk
Fine to try.
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'.
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
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
[](https://zalavijaysinh.github.io/skilltrust/repos/techygarg/lattice/)
Score history
| Date | Version | Score |
|---|---|---|
| 2026-11-07 | a772470 | 100 |