agentleFS
yimwooyimwoo/hotl-plugin/skills/requesting-code-review/SKILL.md

requesting-code-review

Skill27 starsChanged 9 months agoMITView on GitHub

Use at executor review checkpoints to dispatch the code-reviewer agent with structured context — git range, workflow contracts, and verification evidence.

155 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use diagnosing-superpowers, workflow-runner and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • obraSkill

    diagnosing-superpowers

    Use when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.

    Also in 6 projects that use this

  • MorningStar0709Skill

    workflow-runner

    Run an agency-orchestrator style YAML workflow inside the current Trae conversation by simulating or coordinating multiple roles. Use when the user provides a `.yaml` or `.yml` workflow, asks for multi-role collaboration, says things like “用多个角色一起评审这个 PRD”“多角色协作”“先生成工作流再执行”“让产品经理、架构师、QA 一起看一下”, or wants roles such as product manager, architect, reviewer, or QA to work together. Supports layered execution, role prompting, variable interpolation, document-backed inputs, and parallel steps only when the current environment has a clear subagent mapping. Do not use for ordinary implementation plans, simple code changes, or tasks already covered by `writing-plans`, `executing-plans`, `subagent-driven-development`, or single-purpose review/debug skills.

    Also in 5 projects that use this

  • MorningStar0709Skill

    chinese-git-workflow

    Configure Git for domestic platforms and manage branching strategies suitable for Chinese teams. Use when the user asks to configure remotes, set up SSH, or manage Git workflows for Gitee, Coding, Jihu GitLab, or CNB, including requests like "配置国内 Git", "设置 Gitee 远程仓库", "推荐适合小团队的 Git 流程".

    Also in 4 projects that use this

  • kevinnftSkill

    touchdesigner-mcp

    Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.

    Also in 7 projects that use this

  • aivrarSkill

    sdlc-review

    Review Kanban handoffs and route verified outcomes.

    Also in 5 projects that use this

  • braxtonROSE4Skill

    songwriting-and-ai-music

    Songwriting craft, AI music generation prompts (Suno focus), parody/adaptation techniques, phonetic tricks, and lessons learned. These are tools and ideas, not rules. Break any of them when the art calls for it.

    Also in 11 projects that use this

The file

We split this skill into the rules it gives an agent

12 rules. 0 are common, 10 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 146 edited versions we read keep these.

  • 10

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Only request review when the checkpoint work is in a reviewable state and its planned verification has completed.

    line 14
  2. Distinctive:

    executing-plans: After each 3-step batch boundary

    line 20
  3. Very specific:

    subagent-execution: After meaningful delegated implementation batches (3+ completed implementation steps, or cross-module change, or …

    line 21
  4. Distinctive:

    All executors: Before final completion (claiming done, merging, or creating a PR)

    line 22
  5. Distinctive:

    Ad-hoc development: Before merge to main. Optionally when stuck or before a large refactor.

    line 27
  6. Distinctive:

    After trivial single-step changes (typo, config value, import fix)

    line 31
  7. Distinctive:

    When the same code was already reviewed and hasn't changed since

    line 33
  8. Distinctive:

    Do not request a second full review when a scoped follow-up review is enough

    line 34
  9. Very specific:

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

    line 46
  10. Distinctive:

    Follow Verify → Evaluate → Respond → Implement

    line 82
  11. Distinctive:

    If any accepted BLOCK finding requires re-review after fix, dispatch a scoped follow-up review

    line 83
  12. Distinctive:

    Do not proceed past the checkpoint until all BLOCK findings are resolved

    line 84

“Common” is measured: kept by at least 6 in 10 of the 146 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

  • executing-plans: After each 3-step batch boundary
  • subagent-execution: After meaningful delegated implementation batches (3+ completed implementation steps, or cross-module change, or high-risk/user-facing/shared-infra change)
  • All executors: Before final completion (claiming done, merging, or creating a PR)

Conditional Triggers

  • loop-execution: At intermediate gates only when the change is high-risk, cross-module, or feature-scale. Always at final completion.
  • Ad-hoc development: Before merge to main. Optionally when stuck or before a large refactor.

When NOT to Request

  • After trivial single-step changes (typo, config value, import fix)
  • Mid-loop iterations that haven't reached a gate
  • When the same code was already reviewed and hasn't changed since
  • Do not request a second full review when a scoped follow-up review is enough

Review Base (Deterministic)

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

  • Batch review: git rev-parse HEAD recorded by the executor before starting the batch
  • Final review: Branch point or last recorded review base, whichever is more recent. A final review is required unless the most recent review already covers all current changes and no code changed afterward.
  • Follow-up review: HEAD immediately before the fix. Re-review only the changed scope unless the fix affects shared architecture, risk level, or multiple modules.

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

  • checkpoint — executor mid-run at a batch boundary (uses PROCEED/HOLD verdict)
  • final — executor completing a governed workflow run (uses READY/NOT READY verdict)
  • follow-up — scoped re-review after fixing BLOCK findings
  • direct — user-invoked review via hotl:code-review (uses READY/NOT READY verdict). Findings are returned to the user without automatically invoking receiving-code-review.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.