Skip to content
skillcellar
All skills

golang-spf13-cobra

Indexed

Golang CLI command tree library using spf13/cobra — cobra.Command, RunE vs Run, PersistentPreRunE hook chain, Args validators (NoArgs, ExactArgs, MatchAll, custom), persistent vs local flags, command groups, ValidArgsFunction, RegisterFlagCompletionFunc, ShellCompDirective, usage/help template customization, man-page and markdown doc generation, and testing with SetArgs/SetOut/SetErr. Apply when using or adopting spf13/cobra, or when the codebase imports `github.com/spf13/cobra`. For configuration layering alongside cobra, see the `samber/cc-skills-golang@golang-spf13-viper` skill. For general CLI architecture (project layout, exit codes, signal handling, I/O patterns), see `samber/cc-skills-golang@golang-cli`.

samber/cc-skills-golang/skills/golang-spf13-cobra4k starsMITLast pushed 8 Nov 2026Low risk
Indexed automatically from public GitHub, not reviewed. This page shows what the skill’s SKILL.md says about itself and what the scan flagged in it. It cannot show that the skill is safe. Read its files on GitHub before you install it.

Install

install

$ npx skills add https://github.com/samber/cc-skills-golang --skill golang-spf13-cobra

The skills CLI downloads the skill from GitHub when you run the command, so what you get may have changed since the scan.

Scan

  • Broad tool accessSKILL.md, line 18 · Lowallowed-tools: WebFetch lets Claude fetch any URL without asking.

Copies

No other indexed repository has this exact folder.