원클릭으로
review
Review current changes after Codex implementation. 用于在 Codex 改完后,基于当前 diff 做二次审查。
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Review current changes after Codex implementation. 用于在 Codex 改完后,基于当前 diff 做二次审查。
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | review |
| description | Review current changes after Codex implementation. 用于在 Codex 改完后,基于当前 diff 做二次审查。 |
| argument-hint | [--timeout <sec>] [--skip-tests] [scope or concern] |
| disable-model-invocation | true |
| allowed-tools | Read Grep Glob Bash |
Review the current implementation changes with this focus: $ARGUMENTS
Extract flags from $ARGUMENTS before treating the rest as the review scope:
--timeout <seconds> — override the default test timeout (default 300). Strip from scope.--skip-tests — do not run tests. Strip from scope. The review must still emit a
# Test results section marked SKIPPED: --skip-tests flag..codex-handoff/latest.md exists. If it does, read it and use whatever
context is available (acceptance criteria, constraints, scope boundaries, review
focus, and especially any How to test / 如何测试 section) as a cross-reference
when evaluating the implementation.Unless --skip-tests was specified, run the project's test suite to ground the
verdict in real signal.
Discovery order (use the first that succeeds):
How to test / 如何测试 section in .codex-handoff/latest.md — extract the
command(s) verbatim.package.json with a test script → npm testpyproject.toml or pytest.ini or setup.cfg with [tool:pytest] → pytest -qgo.mod → go test ./...Cargo.toml → cargo testMakefile with a test target → make testSKIPPED (command unknown) and continue.Execution rules:
--timeout <sec> (default 300s)..codex-handoff/history/YYYY-MM-DD-HHMMSS-validation.log.
Create the directory if needed.SKIPPED (not safe to auto-run)
and note why.Combine the test outcome with the code review findings.
| Test outcome | Code findings | Allowed verdict |
|---|---|---|
| FAIL (non-zero exit) | any | REWORK (hard rule — never APPROVE or MINOR_FIX on red tests) |
| PASS | no substantive issues | APPROVE |
| PASS | small fixable issues | MINOR_FIX |
| PASS | significant issues | REWORK |
| SKIPPED | any | any verdict, but the # Test results section must state why tests did not run, and the Next step must recommend running them before shipping |
Prioritize bug-finding, regression risks, missing tests, and incorrect assumptions over style commentary. Match the user's language.
The review must provide:
APPROVE, MINOR_FIX, or REWORK# Test results section containing, at minimum:
Command: — the exact command run, or SKIPPED: <reason>Exit code: — numeric exit code, or N/A when skippedDuration: — wall-clock time, or N/A when skippedSummary: — brief outcome line (e.g. 42 passed, 0 failed, or key failing
test names); N/A when skippedLog: — path to the saved validation log, when tests ranAPPROVE → ship or merge,
MINOR_FIX → small follow-up changes,
REWORK → revise before approvalIf .codex-handoff/latest.md is available and contains acceptance criteria, include
a handoff coverage assessment that marks each criterion as MET, NOT_MET, or
UNTESTED.
If a category has no substantive content, say so briefly rather than inventing
filler. Organize the review in whatever structure is clearest, but keep the verdict
and # Test results prominent near the top so they are easy to find.
After generating the review, save it to
.codex-handoff/history/YYYY-MM-DD-HHMMSS-review.md. Create the directory if needed.