golang-refactoring
IndexedGolang refactoring — safe, at-scale restructuring of existing Go code: a coverage-adaptive safety net, behavior-preserving transforms (gopls Rename/Extract, `gofmt -r`, `gopatch`), the Fowler catalog mapped to Go, breaking import cycles, and small stacked PRs. Apply when a function or type has grown too large, a code smell blocks a feature, or the user asks to refactor Go code — also for renaming at scale, extracting functions or interfaces, moving code between packages, or planning a multi-step refactor. Target styles owned elsewhere → See `samber/cc-skills-golang@golang-naming` (renames), `samber/cc-skills-golang@golang-project-layout` (splits), `samber/cc-skills-golang@golang-modernize` (idioms), `samber/cc-skills-golang@golang-code-style` (control flow), `samber/cc-skills-golang@golang-design-patterns` (patterns/DI).
Install
$ npx skills add https://github.com/samber/cc-skills-golang --skill golang-refactoring
The skills CLI downloads the skill from GitHub when you run the command, so what you get may have changed since the scan.
Scan
- Broad tool accessSKILL.md, line 25 · Lowallowed-tools: WebFetch lets Claude fetch any URL without asking.
Copies
No other indexed repository has this exact folder.