samber/cc-skills-golang/golang-spf13-cobra
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 configurati
Agent skill · version 2.0.1-main.1794413032.gd68d80a · from samber/cc-skills-golang
Install
npx yarkr-cli add skill:samber/cc-skills-golang/golang-spf13-cobraWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:samber/cc-skills-golang/golang-spf13-cobra
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:samber/cc-skills-golang/golang-spf13-cobraOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:samber/cc-skills-golang/golang-spf13-cobraWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.