review-diff

Reviews local Git diffs and reports actionable, evidence-backed findings.

Updated Aug 5, 2026
One-click install
npx skills add https://github.com/ahsanghalib/ai-workflow --skill review-diff-ahsanghalib
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: review-diff
Source: https://github.com/ahsanghalib/ai-workflow/tree/main/skills/review-diff
Command: npx skills add https://github.com/ahsanghalib/ai-workflow --skill review-diff-ahsanghalib

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Reviewing code changes by hand is slow and error-prone, and informal reviews often miss security, regression, or concurrency issues buried in a diff. This Skill enforces a disciplined review contract that inspects only the requested Git diff and reports verified, actionable findings. ## Core Features & Use Cases - Scoped Diff Review: Reviews the current working-tree diff by default, or validates and reviews a specified local Git range. - Evidence-Backed Findings: Every finding includes a title, exact file and line evidence, impact, and a concrete remediation direction, ordered by severity. - Safety Guardrails: Redacts secrets and credentials from findings, never edits files or Git state, and leaves all follow-up decisions to the user. - Use Case: Before merging a feature branch, ask for a review of the staged changes and receive a severity-ordered list of correctness, security, and performance issues with exact line references. ## Quick Start Review my current working-tree diff and report only actionable findings with file and line evidence.

Frequently Asked Questions about review-diff

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I review a Git diff before committing?▼

Ask for a review of your working-tree diff and the Skill inspects only the changed code plus minimal adjacent context. It returns severity-ordered findings with exact file and line evidence, impact, and remediation direction.

How do I review a specific Git commit range?▼

Supply a local Git diff range as the review scope. The Skill first verifies the range is valid, then reviews only that diff without fetching, running tests, or changing Git state.

What kinds of issues does a diff review report?▼

It reports actionable correctness, security, performance, regression, compatibility, concurrency, error-handling, and maintainability findings. It does not restate the diff or invent findings, and states explicitly when there is nothing actionable.

Does the review modify my code or Git history?▼

No. The review is strictly read-only: it never edits files, runs tests, fetches, commits, merges, pushes, or changes Git state. Every follow-up decision remains with the user.

How are secrets handled during code review?▼

Secrets, credentials, tokens, and sensitive configuration are redacted from finding text and quoted evidence. The review reports the existence and location of a sensitive value without reproducing it.