go-project-conventions

Community

Standardize Go projects for clean, reliable code

Authorpixb
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a standardized set of Go project conventions to improve code quality and maintainability across Go codebases.

Core Features & Use Cases

  • Enforce consistent error handling patterns (wrap with errors.Wrap, avoid fmt.Errorf for errors)
  • Enforce standard imports grouping and formatting with goimports
  • Linting and static analysis via golangci-lint with configured rules
  • Predefined workflows for common tasks: API endpoints, migrations, and testing
  • Use Case: A team refactors a legacy Go project to ensure uniform error handling and imports, then runs lint and tests to catch regressions

Quick Start

Run golangci-lint on your project, format imports with goimports, and adopt the error-handling and import conventions described.

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: go-project-conventions
Download link: https://github.com/pixb/pixai/archive/main.zip#go-project-conventions

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.