squad-code-review

Review source code with two-pass correctness and complexity assessment.

48|3|Updated Mar 29, 2026
One-click install
npx skills add https://github.com/picassio/pi-squad --skill squad-code-review
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: squad-code-review
Source: https://github.com/picassio/pi-squad/tree/main/src/skills/squad-code-review
Command: npx skills add https://github.com/picassio/pi-squad --skill squad-code-review

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill facilitates efficient code reviews by providing a two-pass review methodology that helps maintain code correctness, scope, and complexity, leading to cleaner, maintainable code.

Core Features & Use Cases

  • Two-Pass Review Process: Ensures code correctness and minimizes scope violations during the first pass and identifies complexity issues in the second pass.
  • Surgical-Change Discipline: Focuses on necessary changes and avoids unnecessary ones.
  • Machine-Parsed Verdicts: Standardizes the review feedback for automation and consistency.
  • Use Case: Ideal for reviewing diffs, pull requests, or any code changes, especially in projects where maintainability and performance are critical.

Quick Start

Run 'squad code-review -p <pull_request_id>' to review the specified pull request.

Frequently Asked Questions about squad-code-review

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

FAQPage Schema
How do I automate code review for pull requests?

You can automate code review for pull requests by running a structured two-pass process that verifies correctness and scope first, then assesses complexity, generating machine-parsable feedback for consistency.

What is a two-pass code review methodology?

A two-pass code review methodology first checks code correctness and minimizes scope violations, then identifies complexity issues in the second pass to ensure cleaner and more maintainable source code.

How do I generate machine-parsable code review feedback?

To generate machine-parsable code review feedback, run the review process against a pull request context; it standardizes verdicts on correctness, scope, and complexity for automated downstream consumption.

Can I review code diffs without a full pull request context?

No, reviewing code diffs requires a pull request context for analysis. The review process depends on this context to accurately assess correctness, scope, and complexity.

How do I prevent scope creep during code reviews?

To prevent scope creep during code reviews, apply a surgical-change discipline that focuses only on necessary modifications, enforced during the first pass of the structured review process.

What is the best way to assess code complexity in pull requests?

The best way to assess code complexity in pull requests is using a structured second-pass review that identifies complexity issues after initial correctness and scope verification are complete.