mikker GitHub avatar

semantic-review

mikker

Semantic-review is an LLM-powered tool that reorganizes git diffs into narrative HTML reports grouped by concern, enabling human reviewers to give structured feedback that coding agents can consume.

Stars

32

7-day growth

No data

Forks

0

Open issues

0

License

MIT

Last updated

2026-07-28

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

It bridges the gap between AI-generated code changes and human review by presenting diffs in a semantically organized, commentable format with seamless agent integration.

Who it is for

  • Developers using coding agents like Claude Code or Codex
  • Reviewers of AI-generated code changes
  • Teams adopting AI-assisted code review workflows
  • Developers seeking better diff visualization

Use cases

  • Reviewing uncommitted changes or branch diffs interactively
  • Piping any git diff for semantic analysis
  • Generating structured feedback for agent-driven development loops
  • Comparing analyses from multiple LLM backends in a tabbed view

Strengths

  • Reorganizes diffs by semantic concern, not alphabetically, making reviews more intuitive
  • Generates interactive HTML reports with inline highlights and commenting
  • Supports multiple LLM backends (Anthropic, Claude, Codex, Gemini, Pi) and parallel runs
  • Designed for agent integration: comments print to stdout as plaintext for agent consumption

Considerations

  • Requires Node >=20 or Bun
  • Requires an API key or CLI for a supported LLM backend (may incur costs)
  • Agent skill is user-invoked only, not automatic, requiring manual trigger

README quick start

semantic-review

Tell me that again but slowly...

Semantic diff review for coding agents.

Install the bundled agent skill:

npx skills add mikker/semantic-review

An LLM reads a git diff and reorganizes it into a narrative HTML report — grouped by concern, not alphabetically, with the interesting excerpts inline, highlighted and commentable. When the reviewer clicks Done, their comments print to stdout as plaintext for the agent that invoked it.

agent runs `semantic-review` ──► LLM analyzes the diff ──► browser opens the report
agent reads stdout ◄── plaintext feedback ◄── human comments, clicks Done

Requires Node >= 20 (or Bun) and one backend: ANTHROPIC_API_KEY, or an installed claude, codex, gemini, or pi CLI.

npx semantic-review

Run it like $ git diff:

semantic-review                        # review uncommitted changes
semantic-review main...HEAD            # review a branch
git diff -U10 | semantic-review        # review any piped diff
semantic-review --with anthropic,codex # one analysis per backend, tabbed
semantic-review --model claude-sonnet-5 --effort medium
# Generate a prompt, then render caller-provided analysis
semantic-review --emit-prompt > prompt.txt
semantic-review --analysis analysis.json

Try it with your agent:

Run npx semantic-review and wait for it to exit. Its stdout is the user's review feedback — treat each comment as a change request and address it.

Agent skill

The skill analyzes the diff in an isolated context by default, keeping implementation history out of the review:

/semantic-review

Describe a preferred harness or model naturally to launch an independent sidecar instead:

/semantic-review use Claude Code with fable
/semantic-review run this through Codex using gpt-5.3-codex-spark
/semantic-review use google/gemini-2.5-pro through Pi

The skill is deliberately user-invoked only. Claude Code runs it in a foreground fork with no conversation history; other agents prefer an isolated same-harness sidecar and fall back to host analysis only when isolation is unavailable.

Description

Semantic diff review for coding agents

Related repositories

Similar projects matched by category, topics, and programming language.

Jakubantalik
Featured
Jakubantalik GitHub avatar

thinking-orbs

A React component library that renders six hand-tuned animated thought orb loading indicators on a plain 2D canvas, with two purpose-tuned sizes and automatic theme detection for AI and agent UIs.

AI & Machine LearningAI Agents
1,191
makecindy
Featured
makecindy GitHub avatar

cindy

Cindy is an open-source AI agent that runs locally on your machine, integrates multiple AI harnesses and models, and provides memory, skills, and automation to perform real work in your projects and apps.

AI & Machine LearningLarge Language Models
958
mereyabdenbekuly-ctrl
Featured
mereyabdenbekuly-ctrl GitHub avatar

clodex-ide

Clodex is an open-source, local-first agentic IDE that combines persistent AI tasks, code, terminal, browser, Git, models, memory, and governed execution in one Electron workspace, currently in technical preview.

AI & Machine LearningAI Agents
859