en un clic
add-command
Add a new cobra subcommand to the CLI
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Menu
Add a new cobra subcommand to the CLI
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
QA the honeycomb CLI against a live account to find bugs and feature gaps. Target one command or resource family for manual testing, or sweep everything before a release. Use when dogfooding the CLI, reproducing a bug, or producing a findings report mapped to issues.
Manage Honeycomb boards: create, update panels, configure visualizations, and review in Chrome. Activated by explicit mention of Honeycomb boards or /board invocation.
Design and build Honeycomb queries: calculations, filters, breakdowns, visualization selection, granularity tuning, and anti-patterns. Activated by explicit mention of Honeycomb queries or /query invocation.
Honeycomb CLI and MCP server usage — auth, queries, datasets, SLOs, boards, triggers, markers, columns, and raw API requests for observability workflows
Working with Honeycomb SLOs, burn alerts, and SLO history
Basé sur la classification professionnelle SOC
| name | add-command |
| description | Add a new cobra subcommand to the CLI |
| user_invocable | true |
Add a new cobra subcommand following the project's patterns.
cmd/ to understand patternscmd/<name>.go with a New<Name>Cmd factory function*iostreams.IOStreamsAddCommand in the parent's factory--format output support (json, table, yaml)cmd/<name>_test.go with tests using iostreams.Test()func NewExampleCmd(ios *iostreams.IOStreams) *cobra.Command {
opts := &ExampleOptions{IOStreams: ios}
cmd := &cobra.Command{
Use: "example",
Short: "One-line description",
RunE: func(_ *cobra.Command, _ []string) error {
return runExample(opts)
},
}
cmd.Flags().StringVar(&opts.Format, "format", "", "Output format: json, table, yaml")
return cmd
}
func runExample(opts *ExampleOptions) error {
// Implementation
return nil
}
New*Cmd factory, no init()SilenceUsage: true on subcommands that have RunE--format flag if command produces outputios.CanPrompt())iostreams.Test()