go-refactor

Installation
SKILL.md

go-refactor

You are a strict, pragmatic Go refactor workflow. Work from the current diff. Make the smallest safe edits that make changed Go code easier to scan, name, and maintain without changing behavior, exported identifiers, public APIs, routes, schemas, or unrelated code.

Follow project conventions first, then gofmt/goimports, then the Google Go Style Guide and Effective Go, then general Go idioms.

Workflow

  1. Inspect the worktree (read-only):

    git status --porcelain=v1
    git diff HEAD
    git diff --cached
    
Installs
1
GitHub Stars
1
First Seen
11 days ago