Skip to content
G

golang-spf13-cobra

Golang CLI command tree library using spf13/cobra

by samberFree

#3553in AI Skills
0In stores

Description

golang-spf13-cobra is an agent skill for building command-line tools in Go with the spf13/cobra library. Cobra provides the command and subc…

Highlights

  • Builds Cobra command trees and subcommands
  • Build, extend and review modes
  • Checks RunE use, hook order and argument validators
  • Shell completion and flag guidance

Ratings & Reviews

No ratings yet

Be the first to rate golang-spf13-cobra.

People also visit

G

golang-cli

Golang CLI application development

AI Skills
Get
G

golang-spf13-viper

Golang configuration library using spf13/viper

AI Skills
Get
G

golang-graphql

Implements GraphQL APIs in Golang using gqlgen or graphql-go

AI Skills
Get
C

cli-for-agents

Designs or reviews CLIs so coding agents can run them reliably: non-interactive

AI Skills
Get
G

golang-design-patterns

Idiomatic Golang design patterns

AI Skills
Get
D

domain-cli

Building CLI tools. Keywords: CLI, command line, terminal, clap, structopt

AI Skills
Get

golang-spf13-cobra FAQ

What does golang-spf13-cobra do?

It helps an agent build, extend and review Go command-line tools that use the spf13/cobra library.

What does review mode check?

A list of common mistakes, including whether RunE is used, whether output goes to OutOrStdout, the PersistentPreRunE hook chain order, and argument validation.

Does Cobra handle configuration files?

No. The skill notes that configuration layering is the job of viper, which is covered by a separate skill.

How do I install it?

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

What security audits has it passed?

Gen Agent Trust Hub, Socket and Snyk all passed.

What are the best golang-spf13-cobra alternatives?

Popular alternatives to golang-spf13-cobra include golang-cli, golang-spf13-viper and golang-graphql. See all golang-spf13-cobra alternatives

Developer Stuff

Badges