GitLab MR Reviewer

by Killian0812

9 downloads
Not rated
GitHub

Description

# GitLab MR Reviewer An AI-powered GitLab Merge Request code reviewer that integrates with Anthropic's Claude models to provide automated code reviews and checklist compliance evaluation. ## Features - Automatically reviews code when a merge request is opened or updated -…

About

# GitLab MR Reviewer An AI-powered GitLab Merge Request code reviewer that integrates with Anthropic's Claude models to provide automated code reviews and checklist compliance evaluation. ## Features - Automatically reviews code when a merge request is opened or updated - Analyzes code for style, quality, security…

Details

Author
Killian0812
Downloads
9
Categories
Developer Tools

- Automatically reviews code on MR open or update
- Analyzes style, quality, security, and best practices
- Evaluates MRs against a customized team checklist
- Provides per-file feedback and overall recommendation
- Supports manual trigger or GitLab webhooks
- Sends optional Slack notifications

Clone the repository, install dependencies (Node.js v14+), copy .env.example to .env and fill in your GitLab API credentials, Claude API key, and optional Slack webhook URL. Run npm start to start the service, then configure a GitLab webhook to trigger reviews on merge request events or use the manual POST /api/review endpoint.

GitLab MR Reviewer

An AI-powered GitLab Merge Request code reviewer that integrates with Anthropic's Claude models to provide automated code reviews and checklist compliance evaluation.

Features

- Automatically reviews code when a merge request is opened or updated
- Analyzes code for style, quality, security issues, and best practices
- Evaluates MRs against a customized checklist based on team standards
- Provides detailed feedback on each file
- Gives an overall assessment with a final recommendation (APPROVE, APPROVE WITH MINOR CHANGES, REQUEST CHANGES)
- Can be triggered manually or via GitLab webhooks
- Sends notifications to Slack (optional)

Prerequisites

- Node.js (v14 or later)
- npm or yarn
- GitLab account with API access
- Anthropic Claude API key

Installation

1. Clone the repository:

   git clone <repository-url>
cd gitlab-mr-reviewer

2. Install dependencies:

   npm install

3. Copy the example environment file and update it with your configuration:

   cp .env.example .env

Edit the .env file with your GitLab and Claude credentials.

Configuration

Update the .env file with the following variables:

```

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.