agentleFS
roundpilotroundpilot/superpowers-antigravity/skills/requesting-code-review/SKILL.md

requesting-code-review

Skill80 starsChanged 7 days agoMITView on GitHub

Use when completing tasks, implementing major features, or before merging to verify work meets requirements

187 other projects use a version of this, 138 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use chinese-code-review, chinese-commit-conventions and 9 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.
  • Leodorareluctant259Skill

    chinese-code-review

    中文代码审查规范——在保持专业严谨的同时,用符合国内团队文化的方式给出有效反馈

    Also in 8 projects that use this

  • Leodorareluctant259Skill

    chinese-commit-conventions

    中文 Git 提交规范 — 适配国内团队的 commit message 规范和 changelog 自动化

    Also in 8 projects that use this

  • math-incSkill

    heartmula

    Set up and run HeartMuLa, the open-source music generation model family (Suno-like). Generates full songs from lyrics + tags with multilingual support.

    Also in 9 projects that use this

  • Tommy-ywSkill

    webhook-subscriptions

    Create and manage webhook subscriptions for event-driven agent activation, or for direct push notifications (zero LLM cost). Use when the user wants external services to trigger agent runs OR push notifications to chats.

    Also in 5 projects that use this

  • john-data-chenSkill

    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

  • math-incSkill

    minecraft-modpack-server

    Set up a modded Minecraft server from a CurseForge/Modrinth server pack zip. Covers NeoForge/Forge install, Java version, JVM tuning, firewall, LAN config, backups, and launch scripts.

    Also in 5 projects that use this

  • +3 more from Leodorareluctant259
  • +2 more from math-inc

The file

We split this skill into the rules it gives an agent

7 rules. 6 are common, 1 is distinctive, and 0 are very specific to this project.

  • 6

    Common

    Most of the 173 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Common:

    After each task in subagent-driven development

    line 15
  2. Common:

    After completing major feature

    line 16
  3. Common:

    Before merge to main

    line 17
  4. Common:

    When stuck (fresh perspective)

    line 20
  5. Common:

    Before refactoring (baseline check)

    line 21
  6. Common:

    After fixing complex bug

    line 22
  7. Distinctive:

    Use GitHub-style alerts in review output for severity classification:

    line 49

“Common” is measured: kept by at least 6 in 10 of the 173 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

Requesting Code Review

Dispatch a code reviewer subagent to catch issues before they cascade. The reviewer gets precisely crafted context for evaluation — never your session's history.

Core principle: Review early, review often.

When to Request Review

Mandatory:

  • After each task in subagent-driven development
  • After completing major feature
  • Before merge to main

Optional but valuable:

  • When stuck (fresh perspective)
  • Before refactoring (baseline check)
  • After fixing complex bug

How to Request

1. Get git SHAs — run each on its own and copy the SHA it prints:

  • BASE_SHA: git rev-parse HEAD~1 — or: git merge-base origin/main HEAD
  • HEAD_SHA: git rev-parse HEAD

2. Dispatch code reviewer subagent:

Use invoke_subagent with Workspace: "inherit" — reviewers only need read access. For a whole-branch review — after completing a major feature, before merge — use TypeName: "final-reviewer"; for one task's diff or a small range (when stuck, before refactoring, after fixing a complex bug), use TypeName: "code-reviewer". Both are bundled with this plugin. Fill the base template in code-reviewer.md and append its ## Whole-Branch and Ad-Hoc Reviews block inside the Prompt. If the TypeName is rejected, retry once with the prefixed name (superpowers:final-reviewer or superpowers:code-reviewer). If that is rejected too, read the agent's file — agents/<name>.md, two directories above this skill — and dispatch TypeName: "self" with that file's body (everything after its frontmatter) ahead of the filled template. Say which fallback ran when you report the review.

Placeholders:

  • {DESCRIPTION} - Brief summary of what you built
  • {PLAN_OR_REQUIREMENTS} - What it should do
  • {BASE_SHA} - Starting commit
  • {HEAD_SHA} - Ending commit
  • {REVIEW_FOCUS} - The plan's Review Focus section, if the work has a plan with one (whole-branch block; omit when absent)

3. Act on feedback:

  • Fix Critical issues immediately
  • Fix Important issues before proceeding
  • Note Minor issues for later
  • Push back if reviewer is wrong (with reasoning)
  • Rule on every "Declined to judge" line the reviewer returns — leave it out of scope or take it up as a finding — and say which, with the reason, when you report the review.
  • To push back or ask for clarification, send_message to that reviewer — its conversation id is in the dispatch result — and it answers with the diff still in context. If it is no longer available, dispatch a fresh reviewer with your question and the same range.

Use GitHub-style alerts in review output for severity classification:

  • > [!CAUTION] for Critical issues
  • > [!WARNING] for Important issues
  • > [!NOTE] for Minor observations

Example

[Just completed Task 2: Add verification function]

You: Let me request code review before proceeding.

[Run `git log --oneline`: Task 1's commit is a7981ec]
[Run `git rev-parse HEAD`: 3df7661]

[Dispatch code reviewer subagent]
  DESCRIPTION: Added verifyIndex() and repairIndex() with 4 issue types
  PLAN_OR_REQUIREMENTS: Task 2 from docs/superpowers/plans/deployment-plan.md
  BASE_SHA: a7981ec
  HEAD_SHA: 3df7661

[Subagent returns]:
  Strengths: Clean architecture, real tests
  Issues:
    Important: Missing progress indicators
    Minor: Magic number (100) for reporting interval
  Assessment: Ready to proceed

You: [Fix progress indicators]
[Continue to Task 3]

Common Rationalizations

ExcuseReality
"I'll just review the diff myself instead of dispatching a reviewer"You're the coordinator — reviewing the diff inline burns the context window you need to keep driving the work. Dispatch a reviewer subagent: the diff and the evaluation live in its context, and only the findings come back to you.
"The reviewer needs my whole session history to understand the change"Hand it precisely crafted context, never your session's history. That keeps the reviewer on the work product, not your thought process.

Red Flags

Never:

  • Skip review because "it's simple"
  • Ignore Critical issues
  • Proceed with unfixed Important issues
  • Argue with valid technical feedback

If reviewer wrong:

  • Push back with technical reasoning
  • Show code/tests that prove it works
  • Request clarification

See template at: requesting-code-review/code-reviewer.md

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.