# Code Review

Automated code review for pull requests using multiple specialized agents

- Repository: https://github.com/pipecat-ai/pipecat (16982 stars)
- Category: AI and agents
- License: BSD-2-Clause
- Last updated: 2026-11-01
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add pipecat-ai/pipecat --skill code-review -g -a claude-code -y`
Codex: `npx skills add pipecat-ai/pipecat --skill code-review -g -a codex -y`
Cursor: `npx skills add pipecat-ai/pipecat --skill code-review -g -a cursor -y`
Gemini CLI: `npx skills add pipecat-ai/pipecat --skill code-review -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add pipecat-ai/pipecat`

## Description

Automated code review for pull requests using multiple specialized agents

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

Provide a code review for the given pull request.

**Agent assumptions (applies to all agents and subagents):**

- All tools are functional and will work without error. Do not test tools or make exploratory calls. Make sure this is clear to every subagent that is launched.
- Only call a tool if it is required to complete the task. Every tool call should have a clear purpose.

To do this, follow these steps precisely:

1. Launch a haiku agent to check if any of the following are true:
   - The pull request is closed
   - The pull request is a draft
   - The pull request does not need code review (e.g. automated PR, trivial change that is obviously correct)
   - Claude has already commented on this PR (check `gh pr view <PR> --comments` for comments left by claude)

   If any condition is true, stop and do not proceed.

Note: Still review Claude generated PR's.

2. Launch a haiku agent to return a list of file paths (not their contents) for all relevant CLAUDE.md files including:
   - The root CLAUDE.md file, if it exists
   - Any CLAUDE.md files in directories containing files modified by the pull request

3. Launch a sonnet agent to view the pull request and return a summary of the changes

4. Launch 4 agents in parallel to independently review the changes. Each agent should return the list of issues, where each issue includes a description and the reason it was flagged (e.g. "CLAUDE.md adherence", "bug"). The agents should do the following:

   Agents 1 + 2: CLAUDE.md compliance sonnet agents
   Audit changes for CLAUDE.md compliance in parallel. Note: When evaluating CLAUDE.md compliance for a file, you should only consider CLAUDE.md files that share a file path with the file or parents.

The rest: https://github.com/pipecat-ai/pipecat/blob/HEAD/.claude/skills/code-review/SKILL.md
