code-review

Automate GitHub PR reviews with scale-adaptive direct or delegated review.

12|1|Updated Feb 6, 2026
One-click install
npx skills add https://github.com/RyderFreeman4Logos/cli-sub-agent --skill code-review-ryderfreeman4logos
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-review
Source: https://github.com/RyderFreeman4Logos/cli-sub-agent/tree/main/patterns/code-review/skills/code-review
Command: npx skills add https://github.com/RyderFreeman4Logos/cli-sub-agent --skill code-review-ryderfreeman4logos

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates GitHub PR reviews by applying a scale-adaptive strategy that matches effort to PR size, reducing manual toil and speeding up feedback loops.

Core Features & Use Cases

  • Adaptive review workflow based on PR size: direct review for small/medium diffs, delegated CSA review for large diffs.
  • Authorship-aware arbitration: uses adversarial debate when the author and caller are the same model family.
  • AGENTS.md compliance and structured output: checks conformity and produces organized review results with recommendations and checklists.

Quick Start

Run the code-review skill on a GitHub PR to start a scale-adaptive review workflow.

Frequently Asked Questions about code-review

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

FAQPage Schema
How do I automate GitHub PR reviews for different diff sizes?

You automate GitHub PR reviews by applying a scale-adaptive strategy that matches effort to diff size, selecting direct review for small and medium diffs and delegating large ones. This reduces manual toil and speeds up feedback loops.

What is a scale-adaptive code review strategy?

A scale-adaptive code review strategy automatically adjusts the review workflow based on PR size, directly reviewing small to medium diffs while delegating large diffs to a specialized review process to maintain efficiency.

How do I get GitHub PR context for automated code review?

You gather GitHub PR context for automated code review by using the gh CLI tool, which feeds the diff data and metadata into the scale-detection logic to produce structured review outputs.

Does the automated PR review check AGENTS.md compliance?

Yes, the automated PR review checks AGENTS.md compliance. It verifies conformity and produces organized review results that include actionable recommendations and checklists based on the repository standards.

How does the code review skill handle arbitration when the author and caller share a model family?

When the author and caller share the same model family, the code review skill handles arbitration by using an adversarial debate mechanism to ensure objective evaluation and mitigate potential model bias.

Can I use this automated review workflow for large GitHub PRs?

Yes, you can use this automated review workflow for large GitHub PRs. The scale-adaptive logic specifically delegates large diffs to a delegated CSA review process to handle the increased complexity effectively.