WRV Workflow
Use this skill to execute a coding task as three distinct roles in one Codex session:
- Writer implements.
- Reviewer audits the diff.
- Verifier validates behavior against the requirement.
Keep the boundaries explicit. Writer may edit files. Reviewer and Verifier must not edit files.
Quick Start
When the user asks for WRV or one-click delivery:
- Restate the requirement and derive acceptance criteria.
- Run Writer.
- Run Reviewer.
- Let Writer fix accepted review findings.
- Run Verifier.
- Let Writer fix failed acceptance items.
- Re-run Verifier until passed, blocked, or the user stops.
If acceptance criteria are missing, derive a short checklist and mark it as assumptions.
Writer Pass
Act as Writer.
- Read relevant files before editing.
- Identify files to change before editing.
- Provide a 3-6 step plan.
- Keep the diff small and consistent with the repo.
- Follow
AGENTS.md and existing project style.
- Add or update tests for behavior changes when the project has tests.
- Run the fastest relevant check first.
- Perform a self-review before handing off to Reviewer.
Writer output:
- Summary
- Files changed
- Verification performed
- Self-review findings
- Remaining risks
Reviewer Pass
Switch to code-review stance. Do not modify files.
- Inspect the current diff first.
- Read surrounding code only as needed.
- Prioritize bugs, regressions, missing tests, type safety, security, performance, and unnecessary edits.
- Findings must lead the response and be ordered by severity.
- If no blocking issues are found, say so and name residual risks.
Finding format:
- Severity: P0/P1/P2/P3
- File and line
- Issue
- Impact
- Suggested fix
After Reviewer reports findings, return to Writer only for accepted fixes.
Verifier Pass
Switch to acceptance-verification stance. Do not modify files.
- Verify from the user/product perspective, not by re-reviewing code.
- Run the app, tests, browser, simulator, or commands needed to observe behavior.
- Check the requested behavior and nearby regression flows.
- For UI changes, inspect visual output when possible.
- Capture concrete evidence: command output, screenshots, URLs, logs, observed state, or reproduction steps.
Verifier verdicts:
- Passed: acceptance criteria satisfied.
- Failed: one or more criteria not satisfied.
- Questionable: expected behavior is ambiguous.
- Blocked: environment, permission, dependency, or data prevents verification.
Failure format:
- Acceptance item
- Steps to reproduce
- Expected result
- Actual result
- Evidence
- Suggested owner: Writer, Reviewer, or user clarification
Permissions And Commands
Before non-trivial commands, state the command and rough time estimate.
Use Codex escalation when a command may need:
- Network access
- Simulator/browser/desktop access
- Writes outside the workspace
- Process/cache/environment access outside the sandbox
- Git index/ref updates
Do not run destructive commands unless the user explicitly asks or approves.
Final Response
End with:
- Summary
- Files changed
- Verification performed
- Reviewer findings
- Verifier verdict
- Remaining risks
Keep the answer concise and in the user's language.
1---2name: wrv-workflow3description: Run a Codex coding task through a Writer -> Reviewer -> Verifier delivery loop. Use when the user asks for one-click WRV, Writer/Reviewer/Verifier, implementation plus review plus acceptance verification, "一写一审一验收", or wants Codex to implement a coding change and then self-review and validate the result against requirements.4---56# WRV Workflow78Use this skill to execute a coding task as three distinct roles in one Codex session:9101. Writer implements.112. Reviewer audits the diff.123. Verifier validates behavior against the requirement.1314Keep the boundaries explicit. Writer may edit files. Reviewer and Verifier must not edit files.1516## Quick Start1718When the user asks for WRV or one-click delivery:19201. Restate the requirement and derive acceptance criteria.212. Run Writer.223. Run Reviewer.234. Let Writer fix accepted review findings.245. Run Verifier.256. Let Writer fix failed acceptance items.267. Re-run Verifier until passed, blocked, or the user stops.2728If acceptance criteria are missing, derive a short checklist and mark it as assumptions.2930## Writer Pass3132Act as Writer.3334- Read relevant files before editing.35- Identify files to change before editing.36- Provide a 3-6 step plan.37- Keep the diff small and consistent with the repo.38- Follow `AGENTS.md` and existing project style.39- Add or update tests for behavior changes when the project has tests.40- Run the fastest relevant check first.41- Perform a self-review before handing off to Reviewer.4243Writer output:4445- Summary46- Files changed47- Verification performed48- Self-review findings49- Remaining risks5051## Reviewer Pass5253Switch to code-review stance. Do not modify files.5455- Inspect the current diff first.56- Read surrounding code only as needed.57- Prioritize bugs, regressions, missing tests, type safety, security, performance, and unnecessary edits.58- Findings must lead the response and be ordered by severity.59- If no blocking issues are found, say so and name residual risks.6061Finding format:6263- Severity: P0/P1/P2/P364- File and line65- Issue66- Impact67- Suggested fix6869After Reviewer reports findings, return to Writer only for accepted fixes.7071## Verifier Pass7273Switch to acceptance-verification stance. Do not modify files.7475- Verify from the user/product perspective, not by re-reviewing code.76- Run the app, tests, browser, simulator, or commands needed to observe behavior.77- Check the requested behavior and nearby regression flows.78- For UI changes, inspect visual output when possible.79- Capture concrete evidence: command output, screenshots, URLs, logs, observed state, or reproduction steps.8081Verifier verdicts:8283- Passed: acceptance criteria satisfied.84- Failed: one or more criteria not satisfied.85- Questionable: expected behavior is ambiguous.86- Blocked: environment, permission, dependency, or data prevents verification.8788Failure format:8990- Acceptance item91- Steps to reproduce92- Expected result93- Actual result94- Evidence95- Suggested owner: Writer, Reviewer, or user clarification9697## Permissions And Commands9899Before non-trivial commands, state the command and rough time estimate.100101Use Codex escalation when a command may need:102103- Network access104- Simulator/browser/desktop access105- Writes outside the workspace106- Process/cache/environment access outside the sandbox107- Git index/ref updates108109Do not run destructive commands unless the user explicitly asks or approves.110111## Final Response112113End with:114115- Summary116- Files changed117- Verification performed118- Reviewer findings119- Verifier verdict120- Remaining risks121122Keep the answer concise and in the user's language.