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:
- App name — binary/project name (lowercase, hyphen-separated, e.g.
my-tool) - Module path — Go module path (e.g.
github.com/user/my-tool) - 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: