Back to list
grahama1970

code-review

by grahama1970

Shared skills for AI agents (Claude Code, Codex, Gemini)

0🍴 0📅 Jan 25, 2026

SKILL.md


name: code-review description: > Submit code review requests to multiple AI providers (GitHub Copilot, Anthropic Claude, OpenAI Codex, Google Gemini) and get patches back. Use when user says "code review", "review this code", "get a patch for", or needs AI-generated unified diffs for code fixes. allowed-tools: Bash, Read triggers:

  • code review
  • review this code
  • review my changes
  • review these changes
  • get a patch
  • generate a patch
  • generate diff
  • copilot review
  • codex review
  • claude review
  • review request
  • full review
  • code review loop
  • run a code review
  • request code review
  • use codex to review
  • use claude to review
  • opus vs codex
  • coder reviewer loop
  • 3 round review
  • multi-round review
  • assess and review
  • review based on changes
  • review with gpt-5
  • review with codex metadata: short-description: Multi-provider AI code review CLI

Code Review Skill

Submit structured code review requests to multiple AI providers and get unified diffs back.

Supported Providers & Models

ProviderCLIDefault ModelModels Available (Examples)Context Bridging
githubcopilotgpt-5gpt-5, claude-sonnet-4.5Native
anthropicclaudesonnetopus, sonnet, haiku, sonnet-4.5Native
openaicodexgpt-5.2-codexgpt-5.2-codex, o3, gpt-5Manually Bridged
googlegeminigemini-2.5-flashgemini-3-pro, gemini-2.5-proManually Bridged

Context Bridging: For providers that don't support session persistence (OpenAI, Gemini), the skill automatically injects previous round outputs into the next prompt to enable multi-round iteration.

Prerequisites

# Check provider availability
python .pi/skills/code-review/code_review.py check

Agent Actions (How to use)

Use the table below to map user requests to the correct command.

User RequestCommand Pattern
"Review this code" (Default)review-full --file request.md
"Review with Claude"review-full --file request.md --provider anthropic
"Review with GPT-5"review-full --file request.md --provider github --model gpt-5
"Review with Codex GPT-5.2"review-full --file request.md --provider openai --model gpt-5.2-codex
"4 round review with Codex"review-full --file request.md --provider openai --model gpt-5.2-codex --rounds 4
"Get a patch from Gemini"review-full --file request.md --provider google
"Auto-generate request from repo"build -A -t "Fix bug" -o request.md

Quick Start

1. Create Request File

First, creating a request file is recommended to define the scope.

# Auto-generate request context from git status
python .pi/skills/code-review/code_review.py build -A -t "Fix crash in Auth" -o request.md

2. Run Review (Standard)

Run the full 3-step pipeline (Generate -> Judge -> Finalize). Default: Uses GitHub Copilot (gpt-5) with 2 rounds.

python .pi/skills/code-review/code_review.py review-full --file request.md

3. Run Review (Custom Provider/rounds)

# Example: 4 rounds using OpenAI Codex
python .pi/skills/code-review/code_review.py review-full \
  --file request.md \
  --provider openai \
  --model gpt-5.2-codex \
  --rounds 4

Commands

Run the iterative review pipeline.

  • Supports session continuity for all providers (native or bridged).
  • Generates a final unified diff.
OptionDescription
--fileRequest markdown file (required)
--providergithub, anthropic, openai, google
--modelSpecific model ID (e.g. gpt-5.2)
--roundsNumber of iterations (default: 2)
--workspaceCopy uncommitted files to temp workspace

loop (Coder vs Reviewer)

Advanced: Run a feedback loop between two different agents (e.g., Anthropic Coder vs OpenAI Reviewer).

code_review.py loop \
  --coder-provider anthropic --coder-model opus-4.5 \
  --reviewer-provider openai --reviewer-model gpt-5.2-codex \
  --rounds 5 --file request.md

bundle

Bundle request for copy/paste into GitHub Copilot web (if CLI is unavailable).

code_review.py bundle --file request.md --clipboard

find

Find past review requests.

code_review.py find --dir . --pattern "*.md"

Project Agent Workflow

  1. Interpret User Request: e.g., "Fix the bug in auth"
  2. Build Request: code_review.py build -A -t "Fix Auth Bug" -o request.md
  3. Execute Review: code_review.py review-full --file request.md
  4. Apply Patch: Parse output and apply valid diffs.

Score

Total Score

50/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon