# AI Code Reviewer

A GitHub Actions bot that reviews pull requests with the Claude API, posting inline comments on changed lines and a summary comment on every pull request.

AI Code Reviewer is a GitHub Actions workflow that fetches a pull request's diff, sends each changed file to Claude for analysis, and posts the results back as inline comments and a top-level summary on the pull request. On a new pull request it reviews every changed file; on a later push to the same pull request, it reviews only the files touched by that push rather than the whole pull request again.

Certain paths are skipped by default, such as lock files and anything inside a dist directory, and the excluded-file pattern and the review prompt itself are both defined in one configuration file, so a team can change what the bot focuses on or ignores.

Setup is copying the provided workflow file and its supporting scripts into a target repository and adding an Anthropic API key as a repository secret; GitHub supplies its own token automatically. It is written in TypeScript and run with a Node-based TypeScript executor.

Website: https://github.com/MoaKK/AI-Code-Reviewer
