Documentation
README
Refactor Safely
Required Skills
Load these skills based on refactor scope (see Steps 3, 5, 6 for conditional use):
This is the opening of the README. Read the full README on GitHub.
Refactor Safely is a Quality skill for Claude Code, published by techygarg in lattice.
Refactor Safely restructures existing code without changing externally visible behavior. It guides characterization-first refactors with context, architecture, code quality, and test guardrails.
Refactor Safely is cataloged under Quality on DirSkills. Refactor Safely comes from a repository tagged agent, agent-framework, agent-skills, agentic and agentic-ai.
Documentation
Load these skills based on refactor scope (see Steps 3, 5, 6 for conditional use):
This is the opening of the README. Read the full README on GitHub.
Slash commands named in this skill’s SKILL.md, listed in the order they first appear.
/bug-fix/design-blueprint/reviewRefactor Safely is one of 25 skills that DirSkills catalogs from techygarg/lattice, the repository it ships in. Its siblings there include Architecture, Architecture Compass and Architecture Refiner. Each one is a separate skill with its own page in this directory, installs the same way Refactor Safely does, and is maintained by techygarg in that same repository. The rest of the collection is listed on the techygarg/lattice page.
Refactor Safely ranks #1649 by stars among the 1745 Quality skills in this catalog. The most-starred ones next to it are Benchmark, Benchmark Optimization Loop and API Design Patterns. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Refactor Safely against them. Open each page to compare what they document and how they install.
Refactor Safely is one of 25 skills cataloged on DirSkills from techygarg/lattice.
Refactor Safely is one of 1745 Quality skills cataloged on DirSkills, ranked #1649 by stars among them.