Skip to content
Skill

Go code review

Gives your agent a structured checklist for reviewing Go code, PRs and changes

Go code review is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
90
Last commit
License
MIT
Listing updated

Similar skills

About Go code review

This skill guides an agent through a read-only review of Go code, covering diffs, individual files or packages, and full codebase audits. It starts by running the Go toolchain (build, vet, golangci-lint if configured, and race-enabled tests) so mechanical issues are caught before manual reading begins. Each finding is classified as a blocker, warning or suggestion and must cite the principle behind it.

The review follows a fixed set of sections: correctness and safety (errors, nil handling, concurrency), API design, idiomatic Go, package structure, testing, documentation and dependencies. The skill also asks the agent to check callers and callees of changed code before reporting a bug, to lower severity when upstream code already guarantees a precondition, and to propose a linter, vet analyzer or test that could catch the issue later. For large repositories it suggests splitting the work into per-concern passes, optionally delegated to parallel sub-agents, and ends with a summary template that includes a section on what was done well.

It expects a Go toolchain installed and a Go project to review. It is limited to reading and searching files plus running go, gofmt and golangci-lint commands, and it reports findings without editing code. Security audits and performance analysis are handled by separate skills.

When your agent uses it

Comprehensive code review checklist for Go projects. Evaluates code quality, idiomatic patterns, error handling, naming, package structure, and test coverage. Use when reviewing Go code, PRs, or before merging changes. Trigger examples: "review this code", "check this PR", "code review", "review Go file". Not for: security audits (go-security-audit), performance analysis (go-performance-review).

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (7 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

Download the skill folder from https://github.com/eduardo-sl/go-agent-skills and copy it into your agent's skills folder.

What it does

Toolchain-first checks
Runs build, vet, lint and race-enabled tests before manual reading so mechanical problems are caught first.
Correctness and safety review
Checks error handling, nil safety and concurrency patterns such as goroutine lifecycles and context propagation.
Idiomatic Go guidance
Reviews naming, control flow, defer placement, interface design and API conventions against Go idioms.
Testing and structure review
Looks at test naming, table-driven tests, helper usage, package layout and separation of concerns.
Severity-classified report
Produces a review summary with blocker, warning and suggestion findings that cite file and line.
Large codebase audit strategy
Splits full audits into independent passes by concern and layer so findings can be aggregated.

Good for

  • Review my Go pull request before I merge it
  • Check this Go file for error handling and naming problems
  • Audit the whole Go repository and summarize issues by severity
  • Look over recent working-tree changes in my Go service
  • Check whether my Go package structure and tests follow common conventions

Go code review FAQ

What does the skill need to run?

It requires the Go toolchain. It can also use golangci-lint if the repository has a config, and it skips tools that are not installed.

Does Go code review change my code?

No. The skill is read-only and reports findings without editing code.

Does Go code review cover security or performance?

No. Its description points security audits to a separate go-security-audit skill and performance analysis to go-performance-review.

What kinds of review does Go code review support?

Diff review of changed lines by default, review of named files or packages including tests, and full codebase audits.

Does Go code review run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Go code review?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Go code review?

The closest alternatives to Go code review are Code review expert, Go architecture review, Project review, Code review and Code review.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from eduardo-sl/go-agent-skills

  1. Guides Go agents in designing HTTP REST APIs, handlers, middleware and shutdown

    • Open source
    • 90 GitHub stars
    • Developer tools
  2. Reviews Go project structure, dependency direction and module boundaries

    • Open source
    • 90 GitHub stars
    • Developer tools
  3. Guides an AI agent to build Go command-line tools with clean flags, streams and exit codes

    • Open source
    • 90 GitHub stars
    • Developer tools
  4. Guides Go code toward constructor injection, explicit wiring and no global state

    • Open source
    • 90 GitHub stars
    • Developer tools
  5. Guides Go code toward idiomatic design patterns like functional options and factories

    • Open source
    • 90 GitHub stars
    • Developer tools
  6. Guides building Go GraphQL servers with gqlgen, covering N+1 batching and query limits

    • Open source
    • 90 GitHub stars
    • Developer tools