go-packages

Community

Organize Go packages with clean imports and deps.

Authorcxuu
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Go projects often struggle with unclear package boundaries, inconsistent import layouts, and unmanaged dependencies. This skill provides practical guidelines to structure packages, organize imports, and manage dependencies in Go according to Google and Uber style guides.

Core Features & Use Cases

  • Package organization: create cohesive, well-scoped packages with clear responsibilities.
  • Import management: apply standard Go import grouping and ordering to improve readability.
  • Init usage guidance: use init() only when deterministic and necessary, with safe patterns.
  • Dependency management: align module structure and dependencies for maintainability in large codebases.

Quick Start

Organize your Go project by creating well-scoped packages and applying standard import grouping and dependency guidelines.

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-packages
Download link: https://github.com/cxuu/golang-skills/archive/main.zip#go-packages

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.