golang-rules

Community

Go coding rules for safer, cleaner code

AuthorLuohaothu
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Go projects often suffer from inconsistent style and fragile error handling, making maintenance costly and error-prone.

Core Features & Use Cases

  • Enforces immutability by guiding new objects creation and discouraging in-place mutations.
  • Standardizes formatting with gofmt and goimports, and promotes small, focused interfaces.
  • Provides a robust testing and security baseline including 80%+ test coverage, error wrapping, and input validation.

Quick Start

Adopt gofmt, goimports, and a minimum 80% test coverage to ensure consistent, high-quality Go code.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: golang-rules
Download link: https://github.com/Luohaothu/everything-codex/archive/main.zip#golang-rules

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 471,000+ vetted skills library on demand.