Skill / SKILL.md

Refactor Safely

techygarg/lattice

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'.
2 views 217 repository stars 0 commentsUpdated Nov 27, 2026
Overview

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

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/techygarg/lattice' skill-source

Use the complete skill-source/skills/refactor-safely directory with your client’s skill installer.

  • skills/refactor-safely

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/refactor-safely

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Included files
1 included files
Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
e11e64852204ebdc943f9a36886d953a95a544df8452b3320e73a7f37516fde6
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills