bootstrap-go-cli
OfficialScaffold a production-ready Go CLI fast
Authoragoodway
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Starting a new Go command-line tool often wastes time on repetitive boilerplate for commands, configuration, logging, releases, and basic project structure.
Core Features & Use Cases
- Cobra command scaffold: Generates a root command plus stubs for requested subcommands so you can implement behavior quickly.
- Viper configuration wiring: Sets up a config-file workflow plus environment variable support using an app-derived ENV_PREFIX.
- slog structured logging: Adds configurable text/JSON logging with a verbose/debug option.
- Developer-ready project skeleton: Creates justfile and release configuration (goreleaser) and initializes git/build sanity checks.
- Use case: Build a maintainable internal tool that supports multiple commands (for example: serve, init, sync) with consistent logging and configurable settings.
Quick Start
Ask: "bootstrap go cli for my-tool, module path github.com/acme/my-tool, with subcommands serve init sync".
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: bootstrap-go-cli Download link: https://github.com/agoodway/GoodSkills/archive/main.zip#bootstrap-go-cli Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.