requesting-code-review

Automate code-review requests to a dedicated subagent before merging using git SHAs and severity-based templates.

4|2|Updated Jan 25, 2026
One-click install
npx skills add https://github.com/lyfe2025/lyfes-coding-skills --skill requesting-code-review-lyfe2025
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: requesting-code-review
Source: https://github.com/lyfe2025/lyfes-coding-skills/tree/main/skills/superpowers/requesting-code-review
Command: npx skills add https://github.com/lyfe2025/lyfes-coding-skills --skill requesting-code-review-lyfe2025

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates code-review requests to a dedicated subagent before merging, reducing manual coordination and speeding up feedback.

Core Features & Use Cases

  • Automatically dispatch a code-reviewer subagent after completing a task batch or major feature
  • Use templates to collect structured feedback and ensure consistent review quality
  • Categorize feedback by severity (Critical, Important, Minor) and resolve issues before merge
  • Integrate with git SHAs to reference exact changes and track review status

Quick Start

  1. Identify the base and head SHAs for the changes you want reviewed: BASE_SHA=$(git rev-parse HEAD~1) # or origin/main HEAD_SHA=$(git rev-parse HEAD)
  2. Dispatch the code-reviewer subagent and populate the template: [Task tool] type superpowers:code-reviewer, fill code-reviewer.md with WHAT_WAS_IMPLEMENTED, PLAN_OR_REQUIREMENTS, BASE_SHA, HEAD_SHA, DESCRIPTION
  3. Apply feedback:
    • If Critical: fix immediately
    • If Important: fix before proceeding
    • If Minor: document and defer If reviewer disagrees, provide a technical justification and evidence.

Frequently Asked Questions about requesting-code-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate code review requests before merging a PR?

Automate code review requests by dispatching a dedicated subagent to analyze your git diff and provide structured feedback. This Skill triggers after completing a major feature or task batch, using git SHAs to reference exact changes and categorize remediation by severity before merge.

How does a subagent use git SHAs to perform diff analysis?

A subagent uses git SHAs to perform diff analysis by comparing a base SHA against a head SHA to identify exact changes. You provide these SHA references when dispatching the code-reviewer, ensuring the automated feedback is anchored to specific commits in your workflow.

What is the best way to categorize code review feedback for remediation?

The best way to categorize code review feedback is by severity levels: Critical, Important, and Minor. This ensures Critical issues are fixed immediately, Important issues are resolved before proceeding, and Minor issues are documented and deferred, streamlining the remediation process before merging.

When should I trigger an automated code review in my git workflow?

Trigger an automated code review in your git workflow after completing a task batch or major feature, or whenever a change requires independent verification. This timing ensures the subagent reviews complete, cohesive diffs via git SHAs before you attempt to merge the code.

Do I need to provide a template when requesting an automated code review?

Yes, you need to provide a template when requesting an automated code review to collect structured, consistent feedback. The template requires details like what was implemented, the plan or requirements, base and head git SHAs, and a description to guide the subagent's diff analysis.

What should I do if the code reviewer subagent flags a Critical issue?

If the code reviewer subagent flags a Critical issue, you must fix it immediately before merging. If you disagree with the reviewer's feedback on any severity level, you should provide a technical justification and evidence to override the suggested remediation.