golang-review

Enforce Go code quality rules for idiomatic patterns, safety, and maintainability.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/canopy-network/launchpad --skill golang-review
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: golang-review
Source: https://github.com/canopy-network/launchpad/tree/main/.claude/skills/golang-review
Command: npx skills add https://github.com/canopy-network/launchpad --skill golang-review

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill codifies Go code standards, including BEFORE-CODING rituals, testing, error handling, concurrency, contexts, and CI/CD practices.

Core Features & Use Cases

  • Before Coding Rules: Clarify approach, questions, and testing signals.
  • API & Boundaries: Use interfaces where variation is needed; keep surface area small.
  • Testing & CI: Ensure tests, race checks, and linting in CI.

Quick Start

Apply the rules in code reviews and in new module scaffolding.

Frequently Asked Questions about golang-review

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

FAQPage Schema
How do I enforce Go code quality standards in my CI pipeline?

Go code quality enforcement applies formatting, linting, and safety checks through gofmt, go vet, and integrated tooling gates in CI pipelines. This Skill codifies idiomatic patterns, error handling with %w and errors.Is/As, concurrency discipline, and testing requirements—table-driven tests with -race flag—to catch issues before merge.

What Go best practices should I follow for error handling and testing?

Wrap errors with %w for context preservation and use errors.Is/As for type checking. Implement table-driven tests with -race flag enabled to detect concurrency issues. This Skill enforces these patterns alongside context usage, logging discipline, and performance considerations across code reviews and new module scaffolding.

How do I set up code review rules for Go projects?

Apply before-coding rituals that clarify approach and testing signals, establish API boundaries using interfaces where variation is needed, and enforce CI checks for formatting, style, error handling, and race conditions. This Skill provides rules for code reviews and module initialization to maintain maintainability and safety.

Can I use this for reviewing existing Go codebases?

Yes, this Skill applies to writing, generating, or reviewing Go code. It enforces standards across PR reviews and day-to-day development, checking API boundaries, concurrency discipline, context usage, logging, observability, performance, configuration, security, and integrated tooling compliance in existing projects.

What concurrency and context patterns does Go code quality review cover?

This Skill enforces concurrency discipline and proper context usage throughout Go applications. It includes testing with -race flag to detect data races, validates context propagation, and ensures idiomatic patterns for goroutine management and resource cleanup—critical for safe, maintainable concurrent systems.

Does this cover security checks for Go applications?

Security checks are integrated into the code quality framework alongside formatting, style, error handling, API design, and observability. This Skill applies security checks as part of comprehensive quality gates in CI pipelines and code reviews to ensure production-ready Go code.