nurettincoban

Diff2ai — AI skill for Claude Code

AI community

Turn Git diffs into high-signal AI code reviews: any AI CLI, multi-reviewer consensus, inline PR comments, SARIF.

How to install Diff2ai

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

What Diff2ai does

Turn Git diffs into high-signal AI code reviews: any AI CLI, multi-reviewer consensus, inline PR comments, SARIF.

Alternatives in AI

  • Skill Architecture — System architecture and API design with multi-AI consensus — use for design reviews and new subsystems 2.8k ★
  • Ataru — High-performance AI memory retrieval for local agent history — a Rust search core (SDK / API / JSON CLI) plus 351 ★
  • Claudecode Harness — Production-grade orchestration harness for Claude Code — Context discipline, subagents, and multi-model consen 223 ★

README

diff2ai: AI code reviews that cite the right line

diff2ai

[![CI](https://github.com/nurettincoban/diff2ai/actions/workflows/ci.yml/badge.svg)](https://github.com/nurettincoban/diff2ai/actions/workflows/ci.yml) [![npm version](https://img.shields.io/npm/v/diff2ai.svg?logo=npm&label=npm)](https://www.npmjs.com/package/diff2ai) [![npm downloads](https://img.shields.io/npm/dm/diff2ai.svg?color=blue)](https://www.npmjs.com/package/diff2ai) ![node version](https://img.shields.io/badge/node-%3E%3D22.13-brightgreen) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE) [![Website](https://img.shields.io/badge/website-diff2ai-3fb950)](https://nurettincoban.github.io/diff2ai/)

Turn your Git diffs into high-signal AI code reviews — with the AI you already use, locally, from your terminal or CI.

  • 🤖 Any AI CLI: --run claude | codex | gemini | opencode | cursor | ollama: — or just copy the prompt into any chat
  • 🧑‍⚖️ Multi-reviewer consensus: several reviewer personas run in parallel, then a judge validates every finding against the diff, and a mechanical check demotes anything that points outside the change
  • 🎯 Line-accurate findings: diffs are annotated with real line numbers and enriched with commit messages and a file summary, so reviews cite the right file:line
  • 💬 Posts where you review: inline comments on GitHub PRs (via gh) or a formatted note on GitLab MRs (via glab)
  • 🚦 CI-ready: a GitHub Action, SARIF export for code scanning, and --fail-on high severity gates
  • ⚡️ Local-first: pure git; nothing leaves your machine unless you run an AI or post a comment
  • 🧩 Big diffs welcome: token-budgeted batches that split at file and hunk boundaries

Quick links: **[Website](https://nurettincoban.g