Requesting code review

From yimwoo/hotl-plugin · View interactive version

Requesting code review is an AI agent skill from the GitHub repository yimwoo/hotl-plugin. Use at executor review checkpoints to dispatch the code-reviewer agent with structured context — git range, workflow contracts, and verification evidence.

How to use this skill

Skill file

HOTL Requesting Code Review

Lifecycle

Executors invoke requesting-code-review at defined checkpoints. This skill dispatches the code-reviewer agent with structured context. Returned findings are handled by receiving-code-review.

Precondition

Only request review when the checkpoint work is in a reviewable state and its planned verification has completed. Do not request review for code that has failing required verification unless the purpose of the review is to diagnose the failure.

When to Request Review

Mandatory Triggers

Conditional Triggers

When NOT to Request

Review Base (Deterministic)

The review base defines the git range for the reviewer. Executors record this before starting each reviewable batch.

Dispatch Template

When dispatching the hotl:code-reviewer agent, provide this context:

Review the following implementation work.

**Review type:** checkpoint | final | follow-up | direct
**Workflow:** {workflow_file} (or "No workflow — reviewing against stated intent")
**Steps reviewed:** {step_range} (or "N/A")
**Git range:** {review_base}..{HEAD_SHA}

**Intent contract:**
- intent: {intent}
- constraints: {constraints}
- success_criteria: {success_criteria}
- risk_level: {risk_level}
(or "No formal contract — review against stated intent and general correctness/risk")

**Implementation summary:**
{summary}

**Changed files:**
{git_diff_stat}

**Verification evidence:**
- Commands run: {verification_commands}
- Outcomes: {pass_fail_status}
- Known gaps: {limitations}

Review against the workflow plan and HOTL contracts (if provided),
or against the stated intent and general correctness/risk.
Produce findings with file:line references.

Acting on Results

  1. Invoke receiving-code-review
  2. Follow Verify → Evaluate → Respond → Implement
  3. If any accepted BLOCK finding requires re-review after fix, dispatch a scoped follow-up review
  4. Do not proceed past the checkpoint until all BLOCK findings are resolved

Review Types

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.