Registry / techygarg

techygarg/lattice/refactor-safely

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'.

Agent skill · version 2.2.0 · from techygarg/lattice

Install

npx yarkr-cli add skill:techygarg/lattice/refactor-safely

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:techygarg/lattice/refactor-safely
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:techygarg/lattice/refactor-safely

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:techygarg/lattice/refactor-safely

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.