Skip to content
G

golang-refactoring

Golang refactoring

by samberFree

#5036in AI Skills
0In stores

Description

golang-refactoring is an agent skill from the samber/cc-skills-golang collection, listed on skills.sh. It guides a coding agent through safe…

Highlights

  • Behavior-preserving refactors with gopls
  • Plan gate with sign-off before any edit
  • One branch and PR per atomic change
  • Review mode for refactoring pull requests
  • Keeps a green test net throughout

Ratings & Reviews

No ratings yet

Be the first to rate golang-refactoring.

People also visit

O

orch-refine-code

Orchestrate a behavior-preserving refactor

AI Skills
Get
G

golang-modernize

Modernize Golang code to use recent language features

AI Skills
Get
R

refactor-plan

Detailed multi-file refactor planning with safety checks and rollback guidance

AI Skills
Get
U

use-modern-go

Use the Modern Go Guidelines CLI whenever writing, modifying, fixing

AI Skills
Get
G

golang-design-patterns

Idiomatic Golang design patterns

AI Skills
Get
R

request-refactor-plan

Create a detailed refactor plan with tiny commits

AI Skills
Get

golang-refactoring FAQ

What does the golang-refactoring skill do?

It guides an agent through restructuring Go code safely, one behavior-preserving change at a time, with a plan and sign-off before any edit.

How do I install it?

Run npx skills add https://github.com/samber/cc-skills-golang --skill golang-refactoring. Install gopls too, with go install golang.org/x/tools/gopls@latest.

Will it change behavior and structure together?

No. The skill says it never changes structure and behavior in the same step, and it keeps tests green as it goes.

Does it make changes without asking?

No. Plan mode is a gate, and each mid-refactor checkpoint is an approval the skill asks for.

Is it free?

Yes. The skill is listed on skills.sh as free.

What are the best golang-refactoring alternatives?

Popular alternatives to golang-refactoring include orch-refine-code, golang-modernize and refactor-plan. See all golang-refactoring alternatives

Developer Stuff

Badges