Catalog / Skills

Go Cobra Applications

Build, refactor, test, and review Cobra-based Go applications with intentional command trees, fresh constructors, suggestions, typed boundaries, scoped flags, local or remote configuration, explicit precedence, safe live reload, context propagation, stable streams, shell completion, and generated documentation. Use for Cobra or Viper CLI architecture and implementation.

Gov0.4.0MITgogolangclicobravipercommand-treeconfiguration

Install

npx skills add LVTD-LLC/skills --skill go-cobra-applications

From `SKILL.md`

Keep Cobra and Viper at the application edge. Construct a fresh command tree per execution and translate CLI state into typed application calls.