원클릭으로
new-command
Scaffold a new Cobra CLI command following the project's patterns.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Scaffold a new Cobra CLI command following the project's patterns.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
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.
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