go-code-review

Identify and fix Go code quality issues using a structured review checklist.

Updated Feb 28, 2026
One-click install
npx skills add https://github.com/phant-app/phant --skill go-code-review-phant-app
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: go-code-review
Source: https://github.com/phant-app/phant/tree/main/.agents/skills/go-code-review
Command: npx skills add https://github.com/phant-app/phant --skill go-code-review-phant-app

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This checklist provides a quick-reference for Go code reviews based on the Go Wiki CodeReviewComments, helping teams identify common issues and maintain consistent quality across Go codebases.

Core Features & Use Cases

  • Formatting: Ensure code is formatted with gofmt or goimports.
  • Documentation: Verify comments, doc comments, and package documentation conventions are followed.
  • Error Handling: Check for proper error propagation and avoidance of ignored errors.
  • Naming & Package Structure: Enforce clear naming conventions and coherent package layout.
  • Concurrency & Interfaces: Review goroutine usage, synchronization, and interface design for safety and clarity.

Quick Start

Run this checklist against your Go PRs to ensure code quality.

Frequently Asked Questions about go-code-review

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

FAQPage Schema
How do I perform a structured Go code review for a pull request?

Perform a structured Go code review by applying a checklist based on Go Wiki CodeReviewComments to identify issues in formatting, error handling, naming, concurrency, and security. This enforces consistent quality across Go projects of all sizes during pull requests.

What common Go code quality issues should I check during a code review?

Check for Go code quality issues like improper error propagation, ignored errors, missing documentation, and incorrect goroutine synchronization. A structured review checklist enforces explicit criteria for interfaces, data structures, and security practices to identify these common problems.

Does this code review checklist work for small Go projects and onboarding new contributors?

Yes, this code review checklist applies to Go projects of all sizes, including onboarding new contributors. It provides a quick-reference guide to help teams identify common issues and maintain consistent quality across Go codebases during the onboarding process.

How do I enforce Go formatting and error handling conventions in my codebase?

Enforce Go formatting and error handling conventions by applying explicit, checkable criteria during code reviews. Verify code is formatted with gofmt or goimports and check for proper error propagation to avoid ignored errors, ensuring codebase consistency.

What is the best way to review Go concurrency and interface design for safety?

The best way to review Go concurrency and interface design is using a quick-reference checklist that applies explicit criteria for goroutine usage, synchronization, and interface clarity. This ensures safety and maintains coherent package layout during code reviews.

Can I use this to check Go package structure and naming conventions?

Yes, you can use this checklist to check Go package structure and naming conventions. It enforces clear naming conventions and coherent package layout, helping teams identify structural issues and maintain consistent quality across their Go codebases.