원클릭으로
review-request
Generates a review-request mailbox message for code review from uncommitted changes, a specific short commit ref, or a branch.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Generates a review-request mailbox message for code review from uncommitted changes, a specific short commit ref, or a branch.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Use for non-trivial implementation tasks that require meaningful code changes.
Shared mailbox transport protocol for Agent Deck workflows.
Handles a `closeout_delivered` workflow message and completes planner-side closeout.
Generates a browser-check mailbox message for runtime page validation and sends it to a browser-tester session.
Claim pending agent mail with `mailbox_recv` and immediately execute the requested workflow action.
Send an `execute_plan` workflow message to a planner that should complete one supervisor-assigned goal inside one workspace and report back to a supervisor.
| name | review-request |
| description | Generates a review-request mailbox message for code review from uncommitted changes, a specific short commit ref, or a branch. |
Generate a copy/paste-friendly mailbox message for code review.
Workflow protocol baseline: use the agent-deck-workflow skill.
Before generating the message, determine one scope:
uncommitted changesspecific short commit refbranchWorkflow continuity rule:
task_idBranch plan continuity rule:
start_branch, integration_branch, and task_branch from delegated task contextuncommitted | commit | branchuncommitted: no valuecommit: short commit refbranch: branch namebase_branch (for branch scope)original_taskrequester_rolerequester_session_idreviewer_session_refreviewer_session_idreview_lanecoder_toolcoder_tool_profilereviewer_toolreviewer_tool_profilestart_branchintegration_branchtask_branchPopulate ## Original Task by priority:
original_taskUse read-only git commands only.
git status --shortgit diff --name-statusgit diff --cached --name-statusgit ls-files --others --exclude-standardgit show --name-status --format=fuller <short-commit-ref>base_branch -> recorded integration_branch -> askgit log --oneline <base>..<branch>git diff --name-status <base>...<branch>Classify changes into:
Rules:
Changed Paths Summary includes in-scope files onlyUse the agent-deck-workflow skill for shared protocol.
Skill-specific context resolution:
task_id: explicit -> branch task/<task_id> -> delegated context -> askplanner_session_id: explicit/context -> askplanner_workspace: explicit -> delegated context -> current workspace when requester is planner -> askrequester_role: explicit -> delegated context -> current workflow role -> default coderrequester_session_id: explicit -> current session id -> delegated context -> askreviewer_session_ref: explicit -> delegated context -> default reviewer-<task_id>reviewer_session_id: explicit actual id -> delegated context actual id -> created on demand when missingreview_lane: explicit -> delegated context -> default taskworkflow_policy (optional): explicit -> delegated context -> default unattended policyspecial_requirements (optional fallback): explicit -> delegated context -> omitcoder_tool_profile: explicit -> delegated context -> omit when coder_tool is already a full command -> default current-tool continuity or resolver role default codercoder_tool_cmd: explicit full command -> delegated context resolved command -> current AI tool when continuity is intended -> shared tool-resolution contract for role coderreviewer_tool_profile: explicit -> delegated context -> omit when reviewer_tool is already a full command -> default resolver role default reviewerreviewer_tool_cmd: explicit full command -> delegated context resolved command -> shared tool-resolution contract for role reviewerround: explicit -> infer from context -> default 1start_branch: explicit -> delegated context -> askintegration_branch: explicit -> delegated context -> asktask_branch: explicit -> delegated context -> askBranch-plan guard:
integration_branch must be the non-task landing branch; if it looks like task/*, ask for the real integration branch instead of sending the review requestWhen this is a follow-up round after reviewer feedback, summarize which findings were adopted, which were rejected, and why. Reviewer feedback is advisory input, not automatic instructions.
Review-request continuity rule:
1 uses the full review-request body>1 to the same reviewer session uses a delta-only bodyIdentity rules:
review_requested sender must be the active requester session id for this review lanereviewer_tool_cmd or the requested reviewer_tool_profile policy, ask user to choose:
Commit reference rule:
Round 1 or new reviewer session: use the full body below.
Use this exact structure as the mailbox body:
Task: <task_id>
Action: review_requested
From: <requester_role> <requester_session_id>
To: reviewer {{TO_SESSION_ID}}
Planner: <planner_session_id>
Planner workspace: <planner_workspace>
Round: <round>
## Summary
[One-line review request summary]
## Scope
- Type: [uncommitted | commit | branch]
- Target: [working tree | short commit ref | branch name]
- Base (if branch): [base branch or N/A]
## Original Task
[Original task text from explicit input or active session context. Use `Not provided` only after explicit clarification that no task text is available.]
## Branch Plan
- Start branch: [start_branch]
- Integration branch: [integration_branch]
- Task branch: [task_branch]
- Stability rule: treat this recorded branch plan as immutable task context unless the user explicitly changes it
## Review Context
- Lane: [task | integration_final]
## Tool Context
- Coder tool profile: [coder_tool_profile or `explicit`]
- Coder tool cmd: [coder_tool_cmd]
- Reviewer tool profile: [reviewer_tool_profile or `existing-session`]
- Reviewer tool cmd: [reviewer_tool_cmd or `existing-session`]
## Review Focus
- [Primary risk/review angle 1]
- [Primary risk/review angle 2]
## Implementation Summary
[Brief intent-level summary; do not restate the whole diff]
## Changed Paths Summary
- In-scope changed paths: [count + key paths, or `See scope target` when the git target is enough]
- Out-of-scope noise: [count + up to 3 examples, or `None`]
## Checks Already Run
- Lint: [command/result or `Not run`]
- Build/Link: [command/result or `Not run`]
- Compile/Type-check: [command/result or `Not run`]
- Tests: [command/result or `Not run`]
- Other verification: [manual/browser/scripted checks or `None`]
- Coverage gaps: [known missing tests or validation gaps; if none write: None identified]
## Workflow Policy
[resolved workflow policy]
## Special Requirements
[only when present]
## Known Issues or Limitations
[Known limitations; if none, write: None identified]
Round >1 to the same reviewer session: send only delta.
Keep the body as short as possible:
Use this structure:
Task: <task_id>
Action: review_requested
From: <requester_role> <requester_session_id>
To: reviewer {{TO_SESSION_ID}}
Planner: <planner_session_id>
Planner workspace: <planner_workspace>
Round: <round>
## Summary
[One-line delta summary]
## Delta Since Last Review
- Scope: [what changed in reviewed scope]
- Findings addressed: [adopted items]
- Findings rejected: [rejected items + rationale]
- New risks or open questions: [only if changed]
## Branch Plan
- Start branch: [start_branch]
- Integration branch: [integration_branch]
- Task branch: [task_branch]
- Change status: [unchanged | explicitly updated this round]
## Review Context
- Lane: [task | integration_final]
## Updated Implementation Summary
[Only what changed since the last review request; do not restate the whole diff]
## Changed Paths Since Last Review
- [count + key paths, or `See scope target` when the git target is enough]
## Checks Already Run Since Last Review
- Lint: [new or rerun command/result or `No change`]
- Build/Link: [new or rerun command/result or `No change`]
- Compile/Type-check: [new or rerun command/result or `No change`]
- Tests: [new or rerun command/result or `No change`]
- Other verification: [new manual/browser/scripted checks or `No change`]
- Coverage gaps: [remaining gaps after this round]
## Known Issues or Limitations
[Current remaining limitations; if none, write: None identified]
Recommended subject:
review request: <task_id> r<round>Preferred path: use the agent_mailbox MCP tools.
Workflow send sequence:
agent_mailbox{{TO_SESSION_ID}} where the real reviewer session id must appearreviewer_session_id is known, call agent_deck_require_session
session_id = <reviewer_session_id>workdir = <current workspace>reviewer_session_id is missing, resolve reviewer tool metadata by the shared tool-resolution contract for role reviewer, then create or reuse the reviewer on demand with agent_deck_create_session
ensure_title = <reviewer_session_ref>ensure_cmd = <reviewer_tool_cmd>workdir = <current workspace>parent_session_id = <planner_session_id>group_path = <planner session group; empty string for root>no_parent_link = falsesession_id as the authoritative reviewer_session_idmailbox_send with:
from_address = agent-deck/<requester_session_id>to_address = agent-deck/<reviewer_session_id>subject = "review request: <task_id> r<round>"body = <review-request mailbox body>Rules:
1 sends the full review request in mailbox bodyChecks Already Run section so reviewer can reuse coder-run verification instead of rerunning the same slow checksChecks Already Run in a separate verification section; record coverage gaps inside Checks Already Runreviewer-<task_id> as the planner-scoped allocation label; sender should prefer an existing delegated reviewer_session_id when presentreview-request, and only with parent_session_id = <planner_session_id> plus group_path = <planner session group; empty string for root>; never create reviewer as a child of coder/requestermailbox_send may trigger a best-effort non-local reviewer nudge; correctness relies on mailbox deliveryReview Focus and Checks Already Run fieldsworkflow_policy unchanged when presentspecial_requirements unchanged when present