go-cli-development

Installation
SKILL.md

Go CLI development

Use this skill when building, extending, or releasing a Go command-line tool. It covers the full lifecycle: project structure, subcommand and flag patterns, config wiring, output presentation, release packaging, and Homebrew distribution.

Use this skill when

  • Creating a new Go CLI tool from scratch.
  • Adding subcommands, flags, or argument handling to an existing Go CLI.
  • Wiring configuration (viper, env vars, config files) into a CLI.
  • Formatting CLI output: tables, colors, progress bars, or structured text.
  • Building a TUI with Bubble Tea or similar Charmbracelet libraries.
  • Setting up or debugging a goreleaser configuration for multi-platform release.
  • Adding Homebrew formula distribution to a Go CLI release pipeline.
  • Injecting version info at build time with -ldflags.
  • Handling signals, graceful shutdown, or terminal state cleanup in a CLI.

Do not use this skill when

Installs
5
GitHub Stars
4
First Seen
Sep 1, 2026