Synaptic SkillsSynapticSkills
MarketplaceSkill GraphCriar SkillMCP ServerPlataformaEnterprise
v0.1.0-beta
Voltar ao Marketplace
DevelopmentMédio

Go CLI Best Practices

porsamber·samber· v1.0.0 · atualizado em 2026-04-10
82
Score

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.

gogolangclicobravipercommand-line-interfaceapplication-development
0Stars
0Forks
0Usos
Fork

Documento do Skill

SKILL.mdgolang-cli/workflow
1. Define the CLI's purpose and required commands.
2. Set up the project structure with `cmd/myapp/` for commands.
3. Initialize Cobra for command structure and Viper for configuration.
4. Define root command with persistent flags and `PersistentPreRunE`.
5. Implement subcommands in separate files.
6. Bind flags to Viper for configuration layering.
7. Implement argument validation.
8. Add shell completion support.

Telemetria de Agentes

Execuções
0
total
Taxa de Sucesso
0%
últimos 30d
Latência Média
0.0s
p50
Alucinação
0.0%
detecção
Tokens Entrada
0
avg 0/exec
Tokens Saída
0
avg 0/exec

Uso por Plataforma

Skills Relacionados

Compõe comGo Testing Patterns
70%
Hebbian Synapse
Composite0.700
w = 0.3·α + 0.5·β + 0.2·γ
83
Compõe comGo Design Patterns & Idioms
70%
Hebbian Synapse
Composite0.700
w = 0.3·α + 0.5·β + 0.2·γ
83
Compõe comDependency Injection in Go
70%
Hebbian Synapse
Composite0.700
w = 0.3·α + 0.5·β + 0.2·γ
82
Compõe comGo Project Layout
70%
Hebbian Synapse
Composite0.700
w = 0.3·α + 0.5·β + 0.2·γ
80
Similar aSolana Development Skill (framework-kit-first)
60%
Hebbian Synapse
Composite0.600
w = 0.3·α + 0.5·β + 0.2·γ
85
Similar aCoder
60%
Hebbian Synapse
Composite0.600
w = 0.3·α + 0.5·β + 0.2·γ
81
Similar aElysiaJS Development Skill
60%
Hebbian Synapse
Composite0.600
w = 0.3·α + 0.5·β + 0.2·γ
84

Árvore do Skill

Go CLI Best Practices
golang-cli
Fases Cognitivas6
1.SENSE
2.CONTEXTUALIZE
3.HYPOTHESIZE
4.ACT
5.EVALUATE
6.REFLECT
Triggers7
build a golang cli applicationcreate a command line tool in goadd subcommands to a go cliimplement flag handling in a go cliconfigure a go cli application with viperreview a go cli for best practicesadd shell completion to a go cli

Avaliar este Skill

Score Breakdown

⭐Avaliação Humana0%
🤖Sucesso de Agentes0%
🕐Atualidade100%
🔗Saúde de Dependências100%
🕸️Centralidade no Grafo0%
🛡️Segurança50%
CompositeScore = α·Humano + β·Agente + γ·Recência + δ·Deps + ε·Centralidade + ζ·Segurança

Instalação

$ synaptic mcp download golang-cli
$ synaptic skills detail golang-cli
$ synaptic skills live golang-cli

Dependências

github.com/spf13/cobragithub.com/spf13/vipergithub.com/spf13/pflaggithub.com/fatih/colorgithub.com/olekukonez/tablewritergithub.com/charmbracelet/bubbleteagoreleaser

Links

GitHub Repository