go-code-review

Review Go code for idiomatic patterns, error handling, and concurrency safety.

Updated Feb 17, 2026
One-click install
npx skills add https://github.com/javierhbr/random-poc --skill go-code-review-javierhbr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: go-code-review
Source: https://github.com/javierhbr/random-poc/tree/main/custom-skills/beagle-main/plugins/beagle-go/skills/go-code-review
Command: npx skills add https://github.com/javierhbr/random-poc --skill go-code-review-javierhbr

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps developers write more robust, idiomatic, and maintainable Go code by identifying common mistakes, concurrency issues, and potential bugs.

Core Features & Use Cases

  • Idiomatic Go Review: Checks for common Go anti-patterns in error handling, concurrency, naming, and resource management.
  • Safety & Robustness: Identifies potential race conditions, resource leaks, and unhandled errors.
  • Use Case: Before merging a new Go service, use this Skill to perform an automated code review, ensuring it adheres to best practices and avoids common pitfalls.

Quick Start

Use the go-code-review skill to analyze the provided Go source files for common mistakes and concurrency issues.

Frequently Asked Questions about go-code-review

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

FAQPage Schema
How do I check my Go code for idiomatic patterns and common mistakes?

To check Go code for idiomatic patterns and common mistakes, you analyze .go files to identify anti-patterns in error handling, naming, interface design, and resource management based on standard library conventions, ensuring the codebase remains robust and maintainable.

How do I find race conditions and concurrency issues in Go?

To find race conditions and concurrency issues in Go, review goroutine usage and resource management for concurrency safety, which identifies potential race conditions and resource leaks to guarantee concurrency safety.

What are common Go error handling anti-patterns to avoid before merging?

Common Go error handling anti-patterns include unhandled errors and improper resource management. Reviewing source code against Go best practices identifies these issues to ensure robustness and standard library compliance.

Does this automated Go code review work with standard library conventions?

Yes, this automated Go code review works directly with standard library conventions, requiring adherence to Go best practices to accurately analyze source files and identify deviations from idiomatic Go.

When should I use an automated review for Go resource management?

You should use an automated review for Go resource management before merging a new Go service, which helps identify potential resource leaks and ensures proper goroutine usage and interface design early in the development cycle.