sc-diff-report

Analyze modified files from git diffs to identify security issues.

7|Updated Apr 9, 2026
One-click install
npx skills add https://github.com/fatihkan/badi --skill sc-diff-report-fatihkan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sc-diff-report
Source: https://github.com/fatihkan/badi/tree/main/.claude/skills/security-check/sc-diff-report
Command: npx skills add https://github.com/fatihkan/badi --skill sc-diff-report-fatihkan

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Incremental security scanning that analyzes only files changed in a git diff, pull request, or recent commit to deliver focused feedback.

Core Features & Use Cases

  • Incremental, diff-based vulnerability detection for touched files to accelerate PR reviews.
  • Classifies findings as new or existing relative to the touched scope and highlights actionable remediation guidance.
  • Produces a concise Security Diff Report with context, risk levels, and suggested mitigations for quick governance.

Quick Start

Run a diff-focused security scan on your current branch to generate a targeted report for touched files.

Frequently Asked Questions about sc-diff-report

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

FAQPage Schema
How do I run an incremental security scan on modified files in a git diff?

To run an incremental security scan, you analyze only files changed in a git diff or recent commit to deliver focused feedback on touched code. This targets pull requests and branches to surface new vulnerabilities within the modified scope.

What is the best way to find security vulnerabilities introduced in a pull request?

Finding security vulnerabilities introduced in a pull request requires diff-based vulnerability detection on touched files. This approach classifies findings as new or existing relative to the changed scope and highlights actionable remediation guidance.

Can I analyze recent commits for code quality and security issues without scanning the whole repository?

Yes, you can analyze recent commits for security issues without scanning the whole repository by targeting only modified files from git diffs. This enforces phase-based analysis with change detection to produce a focused diff-ready report.

Does incremental scanning detect existing vulnerabilities within touched code context?

Incremental scanning does detect existing vulnerabilities within touched code and their context. It enforces phase-based analysis with change detection, classifying findings and surfacing both new and existing issues in the modified files.

What does a security diff report include for PR review governance?

A security diff report includes context, risk levels, and suggested mitigations for quick governance. It classifies vulnerabilities as new or existing relative to the touched scope and provides concise remediation guidance for changed code.

When should I not use diff-based vulnerability detection for code review?

Diff-based vulnerability detection is not suitable for full codebase audits or baseline security assessments. It targets only modified files from git diffs, branches, and recent commits, meaning it ignores untouched code outside the current change scope.