golang-refactoring - Safely refactor Go code at scale
Plans and executes behavior-preserving Go refactors with coverage checks, tool-driven transformations, verification, and staged review.
Tags
Updated: 2026-10-02Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Map refactoring blast radius
- Build a safety net
- Apply tool-driven transforms
- Verify builds and tests
- Split atomic refactoring changes
- Manage staged refactoring workflows
- Review behavior preservation
Inputs
- Go codebase
- Refactoring request
- Test coverage
- User approval
- Git repository
Outputs
- Refactoring plan
- Modified Go files
- Tests
- Verified build status
- Git commits
- Pull requests
Requirements
- Go project
- gopls
- Git
- Claude Code, Codex, or similar harness
