snarktank

AI PR Review — AI skill for Claude Code

AI community

A robust GitHub Actions workflow that provides AI-powered code reviews using Amp or Claude Code.

How to install AI PR Review

This entry records only its repository, not the path inside it, so there is no exact command to give. Open snarktank/ai-pr-review and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What AI PR Review does

A robust GitHub Actions workflow that provides AI-powered code reviews using Amp or Claude Code.

Alternatives in AI

  • Browserwing — BrowserWing turns your browser actions into MCP commands Or Claude Skill, allowing AI agents to control browse 1.2k ★
  • Kibitz — Real-time decoded feed of AI agent actions — monitor multiple Claude Code & Codex sessions, see exactly what e 521 ★
  • Kindly Web Search MCP Server — Kindly Web Search MCP Server: Web search + robust content retrieval for AI coding tools (Claude Code, Codex, C 377 ★

README

AI PR Review Workflow

A robust GitHub Actions workflow that provides AI-powered code reviews using [Amp](https://ampcode.com) or [Claude Code](https://docs.anthropic.com/en/docs/claude-code). Get intelligent, context-aware feedback on your pull requests automatically.

Table of Contents

Features

  • Smart Reviews: Advanced AI analysis with context-aware feedback
  • Robust Error Handling: Multiple JSON extraction methods, timeouts, and fallback mechanisms
  • Secure: Proper secret masking, minimal permissions, and configurable security options
  • Flexible: Configurable review behavior (comment, approve, request changes)
  • Reliable: Handles non-deterministic AI responses with multiple parsing strategies

Prerequisites

Before setting up the workflow, you need:

  1. A GitHub repository with Actions enabled (free for public repositories)
  2. An AI API key from one of these providers:
  3. GitHub CLI (optional but recommended): Install from cli.github.com

Quick Start

1. Add the Workflow

Copy [`.github/workflows/ai-pr-review.yml`](.github/workflows/ai-pr-review.yml) to your repository's `.github/workflows/` directory.

**Important:** You must commit this workflow file to your main branch first before it will be able to run on pull requests.

2. Get Your API Key

For Amp (Recommended)

  1. Visit ampcode.com and create a free account (includes $10 free credit)
  2. Sign up or log in to your account
  3. Navigate to [ampcode.com/settings](ht