Clab

AI-powered review of self-hosted GitLab merge requests. Fetches MR diff, applies project-specific rules, posts inline comments. Can analyze past MRs to generate review rules.

54 stars 4 forksGit & Code Review

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add mberneti/clab --skill clab
Manual install
git clone --depth 1 https://github.com/mberneti/clab.git /tmp/clab
mkdir -p ~/.claude/skills
cp -r /tmp/clab/. ~/.claude/skills/clab

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# clab — Claude Code Skill

Two commands. Install both by copying the files in `commands/` to your project's `.claude/commands/`:

```bash
mkdir -p .claude/commands
curl -fsSL https://raw.githubusercontent.com/mberneti/clab/main/commands/clab-review.md \
  -o .claude/commands/clab-review.md
curl -fsSL https://raw.githubusercontent.com/mberneti/clab/main/commands/clab-prepare-rules.md \
  -o .claude/commands/clab-prepare-rules.md
```

## Commands

| Command | Purpose |
|---------|---------|
| `/clab-review` | Review a single MR — fetch diff, lint, semantic review, post inline comments |
| `/clab-prepare-rules` | Analyze past MRs and generate project-specific review rules |

See each command file for full usage and steps.

## Required config

Create `.claude/gitlab-mr-review.env` in your project (never commit this):

```env
GITLAB_TOKEN=glpat-xxxxxxxxxxxxxxxxxxxx
GITLAB_HOST=git.digikala.com
GITLAB_PROJECT=frontend%2Fdigikala-now-react
```

## Binaries

All commands depend on Go binaries installed via:

```bash
curl -fsSL https://raw.githubusercontent.com/mberneti/clab/main/install.sh | bash
```

| Binary | Used by |
|--------|---------|
| `clab-fetch-diff` | `/clab-review`, `/clab-prepare-rules` |
| `clab-lint-rules` | `/clab-review`, `/clab-prepare-rules` |
| `clab-post-comments` | `/clab-review` |
| `clab-list-mrs` | `/clab-prepare-rules` |

## Typical workflow
Read the full skill on GitHub

Details

Skill name
clab
Repository
mberneti/clab
Repo updated
25 May 2026

FAQ

What does the Clab skill do?

AI-powered review of self-hosted GitLab merge requests. Fetches MR diff, applies project-specific rules, posts inline comments. Can analyze past MRs to generate review rules.

How do I install the Clab skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add mberneti/clab --skill clab. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Clab popular?

It lives in mberneti/clab, which has 54 GitHub stars and 4 forks.

Related skills

Better Github Skill

52

AVGVSTVS96/better-github-skill

GitHub work via gh CLI: PRs, review conversations, CI failures, repo state. Use when inspecting a PR, reading a review (bodies, comments, inline threads), debugging CI (finding which run failed, why a check or Actions run is red, reading job logs), or composing non-trivial gh commands. Scripts cover what raw gh can't do (thread resolution state) or reliably fumbles (PR snapshots, CI log drilldown); use raw gh directly for everything else.

Git & Code Review

Aoci Wuch

73

CCharlie-xiu/aoci-wuch

个人能力库「至关重要」的入口。当前任务可能复用已有能力时使用:先读 GitHub 最新索引,命中后再按需读取对应能力文件;用户要求更新本能力库源仓库时,执行安全的 GitHub main 快进更新流程。

Git & Code Review

Agoragentic

41

Agoragentic/agoragentic-integrations

Route an Agoragentic task to the smallest applicable skill. Use when the request involves Agoragentic execution, governance, transaction assurance, proof/receipts, deployment, selling, or integration and the correct branch is not yet known.

Git & Code Review10

Gcc

64

faugustdev/git-context-controller

Git Context Controller (GCC) v2 — Lean agent memory backed by real git. Stores hash + intent + optional decision notes instead of verbose markdown. Auto-bridges to aiyoucli vector memory when available. Dual mode: git-backed (lean index.yaml) or standalone (markdown fallback). Triggers on /gcc commands or natural language like 'commit this progress', 'branch to try an alternative', 'merge results', 'recover context'.

Git & Code Review

Skill Forge

46

motiful/skill-forge

Validate, fix, and publish skills as GitHub repos. Structures workflow skills for execution fidelity. Registers skills across platforms via symlinks and guides first-use onboarding. Use when the user says "create a skill", "forge a skill", "review this skill repo", "audit this skill", "audit all my skills", "audit this project", "clean up my skills", "check my skill", "publish this skill", "push this to GitHub", "structure my workflow skill", "extract a skill from this folder", "turn my prototype into a skill", or points to a project directory with mixed skills and rules, or to an engineering

Git & Code Review

Report Helper

60

Jiaranbb/report-helper

当用户说「深度研究 X」「深入研究 X」或要求生成某产品、公司、概念、人物、产业链、政策、趋势的深度研究/发展研究报告时触发,自动进行联网搜索和研究,产出排版后的 PDF 文档,总字数通常 1-3 万字。 作者:嘉然 | GitHub: https://github.com/Jiaranbb/report-helper

Git & Code Review

Browse the most popular Claude skills, all git & code review skills, or write your own with the skills generator.