samber/cc-skills-golang/golang-refactoring
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
Agent skill · version 2.0.1-main.1794413032.gd68d80a · from samber/cc-skills-golang
Install
npx yarkr-cli add skill:samber/cc-skills-golang/golang-refactoringWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:samber/cc-skills-golang/golang-refactoring
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:samber/cc-skills-golang/golang-refactoringOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:samber/cc-skills-golang/golang-refactoringWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.