go-code-review

Review Go repositories and pull requests for correctness, concurrency, and API design issues.

64|9|Updated Mar 27, 2026
One-click install
npx skills add https://github.com/eduardo-sl/go-agent-skills --skill go-code-review-eduardo-sl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: go-code-review
Source: https://github.com/eduardo-sl/go-agent-skills/tree/main/skills/%28code-quality%29/go-code-review
Command: npx skills add https://github.com/eduardo-sl/go-agent-skills --skill go-code-review-eduardo-sl

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides a structured, repeatable checklist to catch correctness, concurrency, API design, error-handling, testing, and documentation issues in Go code before merge, reducing regressions and maintenance costs.

Core Features & Use Cases

  • Comprehensive Checklist: Step-by-step review areas covering error handling, nil safety, concurrency, API design, idiomatic patterns, package layout, testing, documentation, and dependencies.
  • Severity Classification: Classifies findings as BLOCKER, WARNING, or SUGGESTION and prescribes concrete fixes and rationale tied to Go best practices.
  • Review Output Template: Produces a clear summary format that lists files reviewed, overall assessment, and grouped findings for PR comments or reviewer handoffs.
  • Use Cases: Automated assistance for PR reviews, onboarding and mentoring engineers, pre-merge quality gates, and auditing legacy code for modernization.

Quick Start

Ask the skill to review a pull request by pasting the changed files and saying: Please perform a go-code-review on these files and highlight blockers, warnings, and suggestions.

Frequently Asked Questions about go-code-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I review Go code for concurrency bugs and idiomatic issues?

To review Go code for concurrency bugs and idiomatic issues, apply a structured checklist to source files and diffs that identifies nil safety faults, race conditions, and non-idiomatic patterns. This process yields severity-classified findings with concrete fix recommendations.

What is the best way to check Go pull requests for error handling and API design faults?

The best way to check Go pull requests for error handling and API design faults is evaluating changed files against Go best practices. This produces a severity-classified report of BLOCKERS, WARNINGS, and SUGGESTIONS tied to package boundaries and exported APIs.

Can I audit legacy Golang modules for testing gaps and package layout problems?

Yes, you can audit legacy Golang modules for testing gaps and package layout problems. Perform module-level reviews across packages by accessing Go source files, tests, and go.mod to evaluate test coverage and modernize outdated code structures.

How do I classify severity when reviewing Go code before merge?

Classify severity when reviewing Go code before merge by grouping findings into BLOCKER, WARNING, and SUGGESTION categories. This classification prescribes concrete fixes and rationale based on correctness, concurrency, and error handling constraints.

What do I need to perform a structured Golang code review?

To perform a structured Golang code review, you need access to Go source files, tests, go.mod, and context about intended behavior and runtime constraints. These inputs allow the evaluation of exported APIs, concurrency patterns, and test coverage.

Does this Go code review process work for individual files or only full pull requests?

This Go code review process works for both individual files and full pull requests. It applies to individual Go files, diffs in pull requests, and module-level reviews across packages depending on the required evaluation scope.