differential-review

Analyzes code diffs for security risks and produces a structured markdown report.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/ashwnn/agent-config --skill differential-review-ashwnn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: differential-review
Source: https://github.com/ashwnn/agent-config/tree/main/skills/differential-review
Command: npx skills add https://github.com/ashwnn/agent-config --skill differential-review-ashwnn

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Security reviewers and teams need a structured, evidence-based way to assess code changes before merge, focusing on authentication, data handling, external calls, and sensitive logic.

Core Features & Use Cases

  • Phase 0 triage and risk tiering for diffs/PRs
  • Phase 1 code analysis: inputs, outputs, trust boundaries, vulnerability patterns
  • Phase 2 historical context with git history
  • Phase 3 blast radius estimation and structured risk scoring
  • Phase 4 test coverage assessment and reporting
  • Use cases in security reviews prior to deployment and post-merge audits

Quick Start

Provide the diff or PR range to initiate a differential security review and produce a structured markdown report.

Frequently Asked Questions about differential-review

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

FAQPage Schema
How do I automate a security review of a pull request diff?

To automate a security review of a pull request diff, provide the PR range to trigger phase-based code analysis, tracing inputs and outputs to identify vulnerabilities and generate a structured markdown audit report.

What is differential code review for security risks?

Differential code review for security risks is the process of analyzing code changes rather than the entire codebase to identify vulnerabilities in authentication, data handling, and external calls before deployment.

Can I use this security audit in a CI workflow before merge?

Yes, you can use this security audit in a CI workflow before merge; it applies phase 0 triage, blast radius estimation, and test coverage checks to code changes touching sensitive logic.

How does blast radius estimation work in a differential security audit?

Blast radius estimation in a differential security audit works by tracing trust boundaries and vulnerability patterns in the diff to score the potential impact of code changes on sensitive logic.

What's the best way to assess test coverage for security vulnerabilities in a PR?

The best way to assess test coverage for security vulnerabilities in a PR is to run a phase 4 test coverage assessment that evaluates whether existing tests adequately protect trust boundaries touched by the diff.

Why should I use a risk-based approach for code review instead of full codebase scanning?

A risk-based approach for code review targets only the changed code, performing git history analysis and risk tiering to efficiently identify security risks without scanning the entire codebase.