bootstrap-go-cli

Installation
SKILL.md

Bootstrap Go CLI

Scaffold a production-ready Go CLI application using Cobra + Viper + slog.

Gather Input

Ask the user for:

  1. App name — binary/project name (lowercase, hyphen-separated, e.g. my-tool)
  2. Module path — Go module path (e.g. github.com/user/my-tool)
  3. Subcommands — initial subcommands to scaffold (e.g. serve, init, sync)

Derive ENV_PREFIX from app name: uppercase, hyphens replaced with underscores (e.g. my-tool → MY_TOOL).

Generate Project

Read references/templates.md for all file templates.

Create files in this order:

Installs
3
GitHub Stars
1
First Seen
May 21, 2026