원클릭으로
wz-writing-plans
Use after clarification, research, and design approval to create an execution-grade implementation plan.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Use after clarification, research, and design approval to create an execution-grade implementation plan.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | wz:writing-plans |
| description | Use after clarification, research, and design approval to create an execution-grade implementation plan. |
First things first: your phase checklist at .wazir/runs/latest/phases/ lists exactly what needs to happen. Read it. Follow it. Don't skip ahead because the task looks simple. Which phase are you starting?
Follow the Canonical Command Matrix in hooks/routing-matrix.json.
wazir index search-symbols <query> firstwazir recall file <path> --tier L1 for targeted readswazir index build && wazir index summarize --tier allInputs:
Output path:
.wazir/runs/latest/ exists): write to .wazir/runs/latest/clarified/execution-plan.md and task specs to .wazir/runs/latest/tasks/task-NNN/spec.mddocs/plans/YYYY-MM-DD-<topic>-implementation.mdTo detect: check if .wazir/runs/latest/clarified/ exists. If yes, use run paths.
The plan must include:
Rules:
After writing the plan, invoke wz:reviewer --mode plan-review to run the plan-review loop using plan dimensions (see workflows/plan-review.md and docs/reference/review-loop-pattern.md). Do NOT call codex exec or codex review directly — the reviewer skill handles Codex integration internally.
The planner resolves findings from each pass. The loop runs for pass_counts[depth] passes (quick=3, standard=5, deep=7). No extension.
For non-code artifacts (the plan itself), Codex review uses stdin pipe:
CODEX_MODEL=$(jq -r '.multi_tool.codex.model // empty' .wazir/state/config.json 2>/dev/null)
CODEX_MODEL=${CODEX_MODEL:-gpt-5.4}
cat <plan-path> | codex exec -c model="$CODEX_MODEL" "Review this implementation plan focusing on [dimension]..."
codex review -c model="$CODEX_MODEL" is used only for code artifacts, not plans.
Codex error handling: if codex exits non-zero, log the error, mark the pass as codex-unavailable, and use self-review findings only. Never treat a Codex failure as a clean pass.
Loop depth follows the project's depth config (quick/standard/deep).
Standalone mode: if no .wazir/runs/latest/ exists, artifacts go to docs/plans/ and review logs go alongside (docs/plans/YYYY-MM-DD-<topic>-review-pass-N.md). Loop cap guard is not invoked in standalone mode.
After the loop completes, invoke wz:humanize on the final plan artifact (domain: technical-docs). Fix any high/medium findings. Humanize runs after review so fix cycles cannot re-introduce AI patterns. Plans are long-lived reference documents — AI writing patterns erode trust in the pipeline's output.
Present findings summary and wait for user approval before completing.
Last check: did you use every applicable wz: skill, or did you handle things manually that should have gone through a skill? Be specific about which skills you used and which you decided to skip. Why did you skip them?
Use before implementation work to turn operator briefings into an approved design with explicit trade-offs.
Run the clarification pipeline — research, clarify scope, brainstorm design, generate task specs and execution plan. Pauses for user approval between phases.
How to use Claude Code CLI programmatically for reviews, automation, and non-interactive operations within Wazir pipelines.
How to use Codex CLI programmatically for reviews, execution, and sandbox operations within Wazir pipelines.
Measure pipeline compliance for a completed run — checks phase execution, artifact production, gate evidence, hook enforcement, and publishes per-step and aggregate compliance scores.
Use when behavior is wrong or verification fails. Follow an observe-hypothesize-test-fix loop instead of guesswork.