Refactor Go safely through staged, verified changes.
code refactoring
Restructures existing Go code safely at scale with coverage-adaptive, behavior-preserving refactoring.
When to use it
Use when Go code needs structural refactoring, large-scale renaming, extraction, package moves, or a multi-step refactoring plan.
Give it an existing Go project and a refactoring goal; it plans with the user, obtains approval, and applies staged changes.
What you provide
This skill
pull requests
Opens staged pull requests (irreversible)
GitHub
Opens gopls issues on GitHub (irreversible)
Requires the Go toolchain.
Requires gopls as the primary refactoring actuator.
Optionally supports benchmark comparison when refactoring hot paths.
Routes security review to this skill whenever a step changes code behavior.