go-cli-development

Community

Structure, build, and release Go CLIs.

Authormatt-riley
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Go CLI development often lacks a standardized project layout, version injection, and release wiring, leading to inconsistencies and slower delivery.

Core Features & Use Cases

  • Canonical project structure: main.go → cmd/ → internal/ with clean separation of concerns.
  • Version injection and build metadata wired into the binary via ldflags and goreleaser configuration.
  • Release packaging and distribution setup for multi-platform binaries (Homebrew + tar.gz / darwin linux builds).
  • Guidance for config wiring (viper), signal handling, and testability.

Quick Start

Scaffold a new Go CLI project following the canonical main.go → cmd/ → internal/ structure and wire version injection.

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-cli-development
Download link: https://github.com/matt-riley/agent-skills/archive/main.zip#go-cli-development

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