Skip to content
skillcellar
All skills

golang-refactoring

Indexed

Golang 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).

samber/cc-skills-golang/skills/golang-refactoring4k starsMITLast pushed 8 Nov 2026Low risk
Indexed automatically from public GitHub, not reviewed. This page shows what the skill’s SKILL.md says about itself and what the scan flagged in it. It cannot show that the skill is safe. Read its files on GitHub before you install it.

Install

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.