Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/nirecom/agents --skill review-tests명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
Edit source code for the current task. Delegates editing and lint/typecheck/self-repair to a subagent.
Plan and write test cases with high reasoning effort. Test iteration runs in a subagent to minimize confirmations.
Conduct a decision-tree interview with the user to lock in requirements, motivation, scope, and non-goals before planning.
SKILL.md 표시 중
| name | review-tests |
| description | Codex-primary single-round test coverage review |
| model | sonnet |
| effort | low |
| context | fork |
Review test case completeness against source code via Codex (single round, no re-loop).
Note: the Stop-guard silence during dispatch is automatic (PostToolUse marks the step in_progress). Do not emit NEXT_STEP_PAUSE.
RT-0. Resolve the session-bound linked worktree path:
WORKTREE="$("$AGENTS_CONFIG_DIR/bin/resolve-worktree-path")"
If WORKTREE == "NOSTATE", set WORKTREE="" — the internal scripts handle the CWD-fallback path for that case.
RT-0a. Read:
rules/core-principles.mdrules/test.md — on-demand-only; never auto-injected, so this Read is mandatoryskills/_shared/test-design.mdskills/_shared/test-design/protection-fix-tests.md — additionally, for security / guard / classifier fix targetsskills/_shared/test-design/parser-regex-tests.md — additionally, for parser / regex / allowlist targets
RT-1. Identify staged test file(s) and source file(s):STAGED="$("$AGENTS_CONFIG_DIR/skills/review-tests/scripts/select-staged-files.sh")"/review-tests from the linked worktree, or specify the test and source files manually."
and ask the user for the files.$STAGED or from the user's manual input.
RT-2. Assemble review input — concatenate test file(s) and source file(s) contents into <PLANS_DIR>/<session-id>-test-review.md via Write. Resolve <PLANS_DIR> via skills/_shared/resolve-plans-dir.md. Initialize EXTENSIONS_USED=0.
RT-3. Invoke "$AGENTS_CONFIG_DIR/skills/review-tests/scripts/run-codex-review-loop.sh" (Bash), exporting AGENTS_CONFIG_DIR, SESSION_ID, PLANS_DIR, EXTENSIONS_USED. The wrapper auto-adds --context test-design.md. Exit-code handling (SSOT: skills/_shared/codex-review-loop.md; single-round — no re-loop):<PLANS_DIR>/<session-id>-test-review-codex-round-<N>-raw.md (<N> from <PLANS_DIR>/<session-id>-test-review-last-round.txt); present gaps; suggest specific test cases → RT-4 WARNINGS (no re-loop).review-loop-summarize-concerns --budget-remaining 0; present summary → RT-4 WARNINGS.<PLANS_DIR>/<session-id>-test-review-codex-round-<N>-raw.md (<N> from <PLANS_DIR>/<session-id>-test-review-last-round.txt); run review-loop-summarize-concerns --budget-remaining 0; present unresolved HIGH concerns → RT-4 WARNINGS (do not emit WORKFLOW_REVIEW_TESTS_COMPLETE).test-reviewer subagent; APPROVED → RT-4 COMPLETE; NEEDS_REVISION → RT-4 WARNINGS.<PLANS_DIR>/<session-id>-test-review-unresolved-concerns.json could not be written; HALT, surface the ## Concern Ledger: FINALIZE-FAILED line, launch no fallback, emit no sentinel. After an ESCALATE, confirm the artifact with "$AGENTS_CONFIG_DIR/bin/concern-ledger" check-finalized --plans-dir <PLANS_DIR> --session-id <session-id> --format test-review before RT-4.
RT-4. Emit workflow sentinel — two separate Bash calls, not chained:TOKEN=$(node "$AGENTS_CONFIG_DIR/bin/compute-staged-tests-token.js" "${WORKTREE:-}")echo "<<WORKFLOW_REVIEW_TESTS_COMPLETE: token=${TOKEN}>>"echo "<<WORKFLOW_REVIEW_TESTS_WARNINGS: token=${TOKEN} warnings=N — blocking: /write-code stays blocked until the gaps are addressed and /review-tests is re-run>>"WORKFLOW_WRITE_TESTS_NOT_NEEDED was emitted (propagated skip).The Test Case Categories checklist lives in skills/_shared/test-design.md — do not duplicate it here.
WARNINGS is BLOCKING: hooks/workflow-gate/review-tests-checker.js blocks /write-code while warnings_summary is recorded.
Emit exactly one sentinel per run: COMPLETE on pass, WARNINGS on any gap or warning.
On exit 4 or exit 7, emit neither sentinel and HALT.
Invariant: RT-4 emits exactly one of COMPLETE/WARNINGS; never both, never zero (except exit 4 and exit 7).
Scan scope is limited to files changed in the current PR diff (soft scope). Pre-existing gaps outside the PR diff are excluded.
To accept documented gaps and unblock /write-code, emit echo "<<WORKFLOW_REVIEW_TESTS_WARNINGS_ACCEPTED: {reason}>>".
Only critical and high tier gaps block COMPLETE. Medium and low are advisory.
Worktree resolution is delegated to bin/resolve-worktree-path (SSOT: hooks/workflow-state/resolve-worktree-path.js); staged file selection is delegated to scripts/select-staged-files.sh — do not re-implement inside the skill.