leek

AI Commit Review — AI skill for Claude Code

AI community

GitHub Action that reviews a single commit with Claude, GPT, and Gemini in parallel.

How to install AI Commit Review

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

What AI Commit Review does

GitHub Action that reviews a single commit with Claude, GPT, and Gemini in parallel.

Alternatives in AI

  • Fusion 3 — Fusion full panel — Opus 4.8 + GPT-5.5 + Gemini 3.1 Pro in parallel, judged by Opus 4.8 (opus4.8-gpt5.5-gemini 468 ★
  • Ring — 89 skills and 38 specialized agents that enforce proven engineering practices for AI-assisted development 176 ★
  • Ask All — Ask GPT, Gemini, Grok, and any configured OpenRouter models in parallel for independent second opinions, then 135 ★

README

AI Commit Review

GitHub Action that reviews a single commit with **Claude**, **GPT**, **Agy** (Gemini), and **Grok**, deduplicates findings, files them as a GitHub Issue, and optionally opens a draft PR with high-confidence fixes that multiple models agree on.

The action reviews **one commit per invocation**. Your workflow enumerates the SHAs and fans them out in a matrix so one failing review does not cancel the rest.

Quickstart

Save this as `.github/workflows/ai-commit-review.yml`. It is the full workflow, not a fragment: an `enumerate` job lists every commit in the push, then a `review` job runs this action once per SHA.

name: AI Commit Review

on:
  push:
    branches: [main]

permissions:
  contents: write
  issues: write
  pull-requests: write

jobs:
  # One job lists the SHAs. The action itself never walks history.
  enumerate:
    runs-on: ubuntu-latest
    outputs:
      matrix: ${{ steps.commits.outputs.matrix }}
      count: ${{ steps.commits.outputs.count }}
    steps:
      - uses: actions/checkout@v6
        with: { fetch-depth: 0 }

      - id: commits
        env:
          BEFORE: ${{ github.event.before }}
          AFTER: ${{ github.event.after }}
        run: |
          if [[ "$BEFORE" == "0000000000000000000000000000000000000000" ]]; then
            SHAS=$(git log --format='%H' -1 "$AFTER")
          else
            SHAS=$(git log --format='%H' "${BEFORE}..${AFTER}")
          fi
          MATRIX=$(echo "$SHAS" | jq -R -s -c 'split("\n") | map(select(. != "")) | map({sha: .})')
          echo "count=$(echo "$MATRIX" | jq 'length')" >> "$GITHUB_OUTPUT"
          echo "matrix=${MATRIX}" >> "$GITHUB_OUTPUT"

  # One matrix cell per commit. fail-fast: false keeps later SHAs running
  # if an earlier review fails. That is what "failures isolate per-commit" means.
  review:
    needs: enumerate
    if: needs.enumerate.outputs.count != '0'
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
      max-parallel: 5
      m