Skip to content

/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

shell
$ npx -y skills add techygarg/lattice --skill refactor-safely --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/refactor-safely
How auto-invocation works

Context preview

The summary Claude sees to decide when to auto-load this skill.

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
Ships withlattice

Composable AI skills that teach assistants structured thinking — design-first, context-aware, and architecture-guided.

Get the whole plugin, auto-invoked
Stats
170
Stars
0
Views
12
Forks
Active
Maintenance
Shell
Language
MIT
License
1mo ago
Last commit
5mo ago
Created

Repo: techygarg/lattice

Other skills on lattice.