SKILL39.6K installs3.7K

Golang Cli

Golang CLI application development. Use when building, modifying, or reviewing a Go CLI tool — especially for command structure, flag handling, configuration layering, version embedding, exit codes, I/O patterns, signal handling, shell completion, argument validation, and CLI unit testing. Also triggers when code uses cobra, viper, or urfave/cli. For cobra-specific APIs → See `samber/cc-skills-golang@golang-spf13-cobra` skill; for viper configuration layering → See `samber/cc-skills-golang@golang-spf13-viper` skill.

Type
Skill
Author
samber
Category
Automation
GitHub stars
3.7K
Installs
39.6K
Last updated
November 1, 2026

Install

npx skills add https://github.com/samber/cc-skills-golang --skill golang-cli

Use cases


Frequently Asked Questions

Which CLI libraries does this skill cover?

It triggers when code uses cobra, viper, or urfave/cli, with dedicated skills for cobra APIs and viper configuration layering.

Does it cover signal handling?

Yes, it covers signal handling along with exit codes, I/O patterns, and version embedding.

Can it help review an existing CLI?

Yes, it applies when building, modifying, or reviewing a Go CLI tool.


About this skill

Covers Go CLI application development, including command structure, flag handling, configuration layering, version embedding, exit codes, signal handling, shell completion, and CLI unit testing. Use when building or reviewing a Go CLI tool, especially one using cobra, viper, or urfave/cli. Dedicated skills exist for cobra APIs and viper configuration layering.

Summary written with AI assistance from the project's public description.


Categories


More from samber


Similar Skills