com um clique
new-command
Scaffold a new Cobra CLI command following the project's patterns.
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
Scaffold a new Cobra CLI command following the project's patterns.
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
This project uses flow for automation. When asked to build, test, run, deploy, lint, generate, or perform any dev task, check for a flow executable before falling back to raw shell commands.
Add a new executable type to the flow runner (a new kind of automation block users can define in .flow files).
Run a pre-PR readiness check and report READY or NOT READY.
Run flow validate and fix any failures. Invoke after completing a feature or bug fix to confirm the codebase is clean before committing.
Baseado na classificação ocupacional SOC
| name | new-command |
| description | Scaffold a new Cobra CLI command following the project's patterns. |
| disable-model-invocation | true |
| argument-hint | <verb> [noun] — what the command does |
| allowed-tools | Bash(flow build:*) Bash(go build:*) Read |
Scaffold a new Cobra CLI command for: $ARGUMENTS
Before writing any code, read a similar existing command to match the exact style:
cmd/exec.gocmd/workspace/ or cmd/vault/Then follow these patterns:
cmd/<verb>.go for top-level, or cmd/<noun>/<verb>.go for subcommandsinit() or cmd/root.goerrhandler.HandleFatal(ctx, cmd, err)errhandler.HandleUsage(ctx, cmd, "message", args...)log.Fatal, os.Exit, or logger.Log().FatalErr() in cmd/pkg/context before delegating to internal/services--output flag (text/json/yaml) for structured responsesAfter scaffolding, verify it builds: flow build binary ./bin/flow