원클릭으로
prompt-optimize
Use when optimizing a task prompt or asking how to route curdx-flow work without executing it.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Use when optimizing a task prompt or asking how to route curdx-flow work without executing it.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Use when a spec has tasks.md and should enter autonomous task execution.
Use when starting curdx-flow, creating a spec, resuming work, or routing intent.
Use when handling curdx-flow flags, state files, delegation, execution loops, or skill entrypoint rules.
Use when curdx-flow needs user decisions after codebase facts are discovered.
Use when a spec has design.md and needs implementation tasks.
Use when showing curdx-flow slash skills, options, workflow, or troubleshooting.
| name | prompt-optimize |
| description | Use when optimizing a task prompt or asking how to route curdx-flow work without executing it. |
| argument-hint | [draft prompt or task goal] |
| allowed-tools | Read Bash |
| disable-model-invocation | true |
Advisory only. Optimize the user's task prompt and recommend curdx-flow routing. Do not execute the task, edit files, create specs, run implementation commands, spawn executor agents, commit, push, or tag.
$ARGUMENTS: draft prompt, task goal, or rough idea to improve.Run the deterministic router in read-only mode:
curdx-flow route --goal "$ARGUMENTS"
Use the returned route, intent, stackProfile, qualityGates,
suggestedVerifier, contextBudget, and recommendedCapabilities as facts.
For non-trivial routes, also run:
curdx-flow route --compile --goal "$ARGUMENTS"
Use the execution brief to describe context budget, completion evidence,
agent/reviewer plan, and .curdx/brain.jsonl warnings. Do not execute the
brief.
If the command is unavailable, infer conservatively from the prompt and state
that routing is estimated.
Respond in the user's language with exactly these sections:
## Prompt Diagnosis
- Strengths:
- Gaps:
## Recommended Route
- route:
- why:
- context budget:
## Recommended curdx-flow Skills/Agents
| Item | Use |
|---|---|
## Risks
- ...
## Quality Gates
| Gate | Required | Command |
|---|---:|---|
## Optimized Prompt
```text
...
```
stackProfile.primary != "unknown".direct-change: prompt should ask for a small direct edit plus exact verifier.lite-spec: prompt should ask for a lightweight spec and 1-3 value-slice tasks.full-spec: prompt should ask for research -> requirements -> design -> tasks
-> implementation with phase verification.epic-split: prompt should ask for /curdx-flow:triage.scaffold: prompt should require latest official/ecosystem scaffold docs and
baseline verification.product-inception: prompt should ask for product context before source code.greenfield-spec: prompt should ask for product context, constitution, walking
skeleton, then vertical slices.prototype: prompt should include a bounded success criterion.import-spec: prompt should preserve traceability to the source artifact.