Skip to content
Development
Skill

/requesting-code-review

Use when you need to request a code review for a PR/MR and want a consistent review brief (context, scope, risk areas, test instructions, acceptance criteria) before merge.

From plugin
agent-skills-library
414 skills

Claude Code

$ npx -y skills add izyanrajwani/agent-skills-library --skill requesting-code-review --agent claude-code

SKILL.md

requesting-code-review.SKILL.md
name: requesting-code-review
description: Use when you need to request a code review for a PR/MR and want a consistent review brief (context, scope, risk areas, test instructions, acceptance criteria) before merge.

Requesting Code Review

Dispatch code-reviewer subagent to catch issues before they cascade.

**Core principle:** Review early, review often.

How to Request

**1. Get git SHAs:**

# For PR/branch review (recommended):
BASE_SHA=$(git merge-base origin/main HEAD)
HEAD_SHA=$(git rev-parse HEAD)

# For single commit only:
# BASE_SHA=$(git rev-parse HEAD~1)

**2. Dispatch code-reviewer subagent:**

Use Task tool with template at [templates/code-reviewer.md](templates/code-reviewer.md)

**Placeholders:**

  • `{WHAT_WAS_IMPLEMENTED}` - What you just built
  • `{PLAN_OR_REQUIREMENTS}` - What it should do
  • `{BASE_SHA}` - Starting commit
  • `{HEAD_SHA}` - Ending commit
  • `{DESCRIPTION}` - Brief summary

**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)

Example

[Just completed Task 2: Add verification function]

BASE_SHA=$(git log --oneline | grep "Task 1" | head -1 | awk '{print $1}')
HEAD_SHA=$(git rev-parse HEAD)

[Dispatch code-reviewer subagent with references/code-reviewer.md]
  WHAT_WAS_IMPLEMENTED: Verification and repair functions for conversation index
  PLAN_OR_REQUIREMENTS: Task 2 from docs/plans/deployment-plan.md
  BASE_SHA: a7981ec
  HEAD_SHA: 3df7661
  DESCRIPTION: Added verifyIndex() and repairIndex() with 4 issue types

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

[Fix progress indicators, continue to Task 3]

Integration with Workflows

**Subagent-Driven Development:**

  • Review after EACH task
  • Catch issues before they compound
  • Fix before moving to next task

**Executing Plans:**

  • Review after each batch (3 tasks)
  • Get feedback, apply, continue

**Ad-Hoc Development:**

  • Review before merge
  • Review when stuck

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
Read more
@izyanrajwani
Ships withagent-skills-library

๐Ÿ› ๏ธ Enhance programming workflows with a curated library of agent skills for tasks like code review, debugging, and planning for efficient project execution.

Stars on GitHub

Momentum

stars in total
4
Star history of izyanrajwani/agent-skills-library on GitHub, a chart by star-history.com

Other skills on agent-skills-library.

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, orโ€ฆ

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills10d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android โ€” semantic ARIA roles and labels,โ€ฆ

ecc11d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commitsโ€ฆ

react1d252k
@facebook@facebookInstall Skill

Questions about requesting-code-review.

Which coding agents can use requesting-code-review?
requesting-code-review installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.