con un clic
new-command
Scaffold a new Cobra CLI command following the project's patterns.
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Scaffold a new Cobra CLI command following the project's patterns.
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
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.
| 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