AI Skill MartBrowse skillsPromptsProgramsLearnWhat is a Skill?
← Back to list

PR Review Bot Weekly Tuning

A weekly loop that measures your code-review bot on recent PRs, diagnoses noise and misses, and proposes at most three backtested, independently verified rule changes for human approval.

Dev & CodingAdvanced★ 744⑂ 50AI score 8/10Last updated: Nov 11, 2026

What it does

  • Collects the week's PRs from GitHub or GitLab and computes threads per PR, reply/dismissal rates, threads unanswered at merge, cost per round, time to merge, and follow-up fix PRs.
  • Diagnoses noise (threads nobody uses) and misses (problems the bot failed to flag) by reading the raw threads, not just the numbers, and records each judgment with evidence.
  • Proposes at most three ranked rule changes with expected effect on four goals, then backtests them on past PRs with known outcomes inside an agreed token budget.
  • Has an independent session recompute at least five headline numbers and write PASS/FAIL into verify.md before the report ships.
  • Changes nothing until a human approves; on approval it only prepares a PR and stops.

Who it's for

  • Team leads running an automated review bot who want to answer "the bot is too noisy" with data.
  • Platform/DevEx engineers who must prove review automation ROI numerically.
  • Teams that want a repeatable weekly review-quality cadence.

Examples

  1. "Run pr-review-tuning for this week" → collects the last full Monday-to-Monday window and reports top noise patterns.
  2. First run → baseline metrics only, no proposals, plus three ranked candidate problems for next week.
  3. "Approve P1" → prepares a branch editing .mcode-review.json, writes the PR description, and logs the dated decision in decisions.md.

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/MiniMax-AI/mcode-stack/HEAD/stacks/jiachen/skills/pr-review-tuning/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on AI Skill Mart.
Copy the stacks/jiachen/skills/pr-review-tuning folder from the GitHub repo MiniMax-AI/mcode-stack into my ~/.claude/skills/pr-review-tuning/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/MiniMax-AI/mcode-stack.git /tmp/mcode-stack && mkdir -p ~/.claude/skills && cp -r /tmp/mcode-stack/stacks/jiachen/skills/pr-review-tuning ~/.claude/skills/

⚠ This is a third-party skill. Check the source repository before installing.

  1. Confirm Node.js 22 or later is installed (node -v).
  2. Clone the repo: git clone https://github.com/MiniMax-AI/mcode-stack.git
  3. Copy the skill into place: mkdir -p ~/.claude/skills && cp -r mcode-stack/stacks/jiachen/skills/pr-review-tuning ~/.claude/skills/
  4. Export an API token: GITHUB_TOKEN for GitHub or GITLAB_TOKEN for GitLab (or log in with gh auth login / glab auth login).
  5. In the repository you will analyze, add .mcode-review-tuning/ to .gitignore — it stores real names and comments.
  6. Open Claude Code and ask it to "run pr-review-tuning"; it will ask for host, project, target branches, time zone and a standing backtest token budget.
  7. The first run only measures, so review the baseline report, then expect proposals from the following week onward.