golang-refactoring
85 / 100 · Low risk
Fine to try.
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-ste…
What this skill can do
Downloads and installs other software
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'golang-refactoring' ] || [ -L ~/.agents/skills/'golang-refactoring' ]; then echo 'A skill folder named golang-refactoring already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/samber/cc-skills-golang' "$d" && git -C "$d" checkout --quiet 'd68d80aec298e1b74b37c2a472c002b5217248b3' -- 'skills/golang-refactoring' && mkdir -p ~/.agents/skills && cp -R "$d"/'skills/golang-refactoring' ~/.agents/skills/'golang-refactoring' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'golang-refactoring' ~/.claude/skills/'golang-refactoring' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
[](https://zalavijaysinh.github.io/skilltrust/repos/samber/cc-skills-golang/)
Score history
| Date | Version | Score |
|---|---|---|
| 2026-11-11 | d68d80a | 85 |
| 2026-11-08 | bb1d43d | 85 |
| 2026-11-07 | bb1d43d | 85 |