go-styleguide

Community

Master Google's Go Style Guide

Authorrigerc
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Ensures Go code adheres to Google's official style guide, promoting consistency, readability, and maintainability across projects.

Core Features & Use Cases

  • Code Formatting: Enforces gofmt standards.
  • Naming Conventions: Guides on clear and idiomatic naming for packages, functions, variables, etc.
  • Error Handling: Best practices for returning, wrapping, and handling errors.
  • Testing Patterns: Recommendations for writing effective and maintainable Go tests.
  • Concurrency Best Practices: Guidance on using goroutines and channels safely.
  • Use Case: Reviewing a Pull Request for a new Go module to ensure it meets Google's coding standards before merging.

Quick Start

Apply Google's Go Style Guide to the provided Go code snippet.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: go-styleguide
Download link: https://github.com/rigerc/bubbletea-v2-scaffold/archive/main.zip#go-styleguide

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.