From codex-handoff
Review current changes after Codex implementation. 用于在 Codex 改完后,基于当前 diff 做二次审查。
How this skill is triggered — by the user, by Claude, or both
Slash command
/codex-handoff:reviewThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Review the current implementation changes with this focus: $ARGUMENTS
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.
npx claudepluginhub eilen6316/claude-code-codex-handoff --plugin codex-handoffGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.