go-style-guide

Enforce Go style, architecture, and naming conventions during code reviews.

7|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/KentoShimizu/sw-agent-skills --skill go-style-guide-kentoshimizu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: go-style-guide
Source: https://github.com/KentoShimizu/sw-agent-skills/tree/main/skills/go-style-guide
Command: npx skills add https://github.com/KentoShimizu/sw-agent-skills --skill go-style-guide-kentoshimizu

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Go projects often suffer from inconsistent coding standards, brittle architecture boundaries, and unclear naming conventions that slow reviews and introduce regressions. This guide defines a consistent approach to style, architecture, and conformance to Go idioms, helping teams ship reliable code faster.

Core Features & Use Cases

  • Establishes rules for error handling, concurrency patterns, interface design, and package boundaries.
  • Guides code reviews and refactoring to maintain cohesive packages and clean architecture across Go codebases.
  • Use Case: during a PR, apply the style guidelines to ensure changes align with the Go project’s conventions before merging.

Quick Start

Run the style-check pass on a Go project to enforce the defined standards.

Frequently Asked Questions about go-style-guide

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

FAQPage Schema
How do I enforce Go code style and architecture conventions during a PR review?

To enforce Go code style during a PR review, run a style-check pass against the project to validate error handling, concurrency patterns, and package boundaries before merging. This ensures changes align with established project conventions.

What rules does a Go style guide cover for maintaining codebase consistency?

A Go style guide covers rules for error handling, concurrency patterns, interface design, and package boundaries. These rules maintain cohesive packages and clean architecture across Go projects, preventing brittle boundaries and naming regressions.

How do I check my Go project for naming conventions and interface design issues?

Check Go project naming conventions and interface design by applying style guidelines during refactoring. This process validates conformance to Go idioms and ensures consistent architecture across packages during code changes.

Can I use a Go style guide for CI checks to prevent inconsistent coding standards?

Yes, you can apply a Go style guide in CI checks to enforce consistent coding standards. Integrating these checks prevents unclear naming conventions and brittle architecture boundaries from introducing regressions into the codebase.

When do I need to apply Go architecture boundaries and concurrency pattern checks?

Apply Go architecture and concurrency checks when a project suffers from inconsistent standards that slow reviews. Use these checks during code modifications to satisfy trigger references and validate configuration quality gates.

What is the best way to handle Go refactoring without breaking package boundaries?

The best way to handle Go refactoring without breaking boundaries is to guide code reviews with established style guidelines. This maintains cohesive packages and clean architecture while ensuring conformance to Go idioms.