review-code

Orchestrate subagents to generate structured question-driven code reviews for Bottlerocket PRs.

5|12|Updated Nov 24, 2025
One-click install
npx skills add https://github.com/cbgbt/bottlerocket-forest --skill review-code-cbgbt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: review-code
Source: https://github.com/cbgbt/bottlerocket-forest/tree/main/skills/review-code
Command: npx skills add https://github.com/cbgbt/bottlerocket-forest --skill review-code-cbgbt

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps AI agents perform rigorous, question-driven code reviews by generating initial questions, refining them, and surfacing implications for PRs.

Core Features & Use Cases

  • Generate a structured backlog of questions from PR diffs and commit messages.
  • Classify questions by type (FACT, RESEARCH, DESIGN, CORRECTNESS, INTENT) and route to specialized subsystems.
  • Produce a final synthesized REVIEW.md and supporting artifacts for human reviewers.
  • Works across Bottlerocket forest PRs to standardize reviews and capture rationale.

Quick Start

Use the review-code skill as part of your PR review workflow to orchestrate subagents and produce a local set of artifacts that you can inspect and act on.

Frequently Asked Questions about review-code

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

FAQPage Schema
How do I automate PR code review with structured quality checks?

Automate PR code review by orchestrating subagents to generate deterministic, question-driven quality checks from git diffs and commit messages. The process classifies questions by type, routes them to specialized subsystems, and produces a synthesized REVIEW.md with supporting planning artifacts for human action.

What is a question-driven code review and how does it work?

A question-driven code review generates a backlog of questions from PR diffs, classifying them into FACT, RESEARCH, DESIGN, CORRECTNESS, and INTENT categories. Specialized subagents process each question type per commit, culminating in a final synthesized REVIEW.md that captures design considerations and rationale.

Can I use this code review assistant for any repository PR workflow?

The code review assistant requires access to PR metadata, git diffs, and the repository's planning workspace. It is designed to work across Bottlerocket forest PRs, standardizing reviews by producing local planning artifacts in the planning/ directory that you can inspect and act on.

How do I generate a REVIEW.md from a git diff?

Generate a REVIEW.md from a git diff by feeding PR metadata and commit messages to the review workflow. Subagents orchestrate the creation of structured artifacts, analyzing per-commit correctness checks and design considerations, then summarize everything into a human-actionable final review document.

What's the best way to standardize code reviews across multiple PRs?

Standardize code reviews across multiple PRs by applying a deterministic, question-driven review process that generates consistent planning artifacts. This approach captures rationale and design considerations per commit, outputting a structured REVIEW.md to ensure every PR undergoes identical quality and correctness checks.

What limitations exist when orchestrating subagents for PR analysis?

Orchestrating subagents for PR analysis is limited by its dependency on accessing the repository's planning workspace and PR metadata. Without the required git diffs and planning context, the subagents cannot generate the structured artifacts needed to produce the final synthesized REVIEW.md.