go-code-review

Analyze Go code for error handling, nil safety, naming, interfaces, and concurrency patterns.

5|1|Updated Jul 30, 2010
One-click install
npx skills add https://github.com/gonzaloserrano/dotfiles --skill go-code-review-gonzaloserrano
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: go-code-review
Source: https://github.com/gonzaloserrano/dotfiles/tree/main/claude/skills/go-code-review
Command: npx skills add https://github.com/gonzaloserrano/dotfiles --skill go-code-review-gonzaloserrano

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill analyzes Go code and provides pattern-based code review feedback that helps developers produce higher-quality, more maintainable code.

Core Features & Use Cases

  • Pattern-based guidance: ensures Go best practices across error handling, nil safety, concurrency, and naming.
  • Comprehensive review checklists: covers common issues from Go code review guidelines, Uber Go Style, and Effective Go.
  • Use Case: When reviewing a PR in a large Go monorepo, apply these patterns to guide edits and align with team standards.

Quick Start

Provide a Go file or PR diff for review to generate actionable feedback following Go code-review patterns.

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 and error handling patterns?

Reviewing Go code for concurrency and error handling patterns involves checking for sentinel errors, nil safety, and early returns. This Skill analyzes Go files or PR diffs to provide actionable feedback based on established guidelines like Effective Go and Uber Go Style.

What are the best practices for Go code review in a monorepo?

Best practices for Go code review in a monorepo include applying pattern-based guidance for naming, interfaces, and concurrency. This Skill generates review checklists derived from Go code review guidelines to help align PR edits with team standards.

Does this Go code review tool check for nil safety and proper initialisms?

Yes, this Go code review tool checks for nil safety and proper initialisms. It analyzes your code to ensure best practices like early returns and proper naming conventions are followed according to standard Go review guidelines.

How do I use a checklist to analyze a Go PR diff?

To use a checklist to analyze a Go PR diff, you provide the diff to this Skill. It then generates actionable feedback focusing on error handling, concurrency patterns, and interface design derived from comprehensive Go style guidelines.

Can I get pattern-based feedback for Go sentinel errors and early returns?

Yes, you can get pattern-based feedback for Go sentinel errors and early returns. The Skill evaluates your Go code against best practices, ensuring proper error handling and concise logic flow are maintained.

What Go style guidelines does this code review Skill implement?

This code review Skill implements best practices from Go code review guidelines, Uber Go Style, and Effective Go. It focuses on concurrency, error handling, nil safety, naming, and interfaces to ensure high-quality, maintainable code.