Skip to content
ruvnet avatar

Diff Analyze

Analyzes git diffs for risk scoring, change classification, and reviewer recommendations before merging.

CCM score
63 of 100
skills.sh installs
753
GitHub stars
82.6K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers PR preparation and large or cross-module changes, resolving the ref from HEAD, a branch, or a PR's base and head
  • Includes analyze tools for overall diff analysis, quantified risk, change type, reviewer roles, diff stats, and per-file risk
  • Flags risk from churn history, security-sensitive paths like auth and crypto, diffs over 500 lines, cross-module changes, and migrations
  • Recommends reviewer roles from paths and risk, with CODEOWNERS checked separately when assigning people

Install

$ npx -y skills add ruvnet/ruflo --skill diff-analyze -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Diff Analysis

Analyze git diffs for risk, complexity, and reviewer assignment.

When to use

Before submitting a PR or after making significant changes, analyze the diff to understand risk level, get reviewer recommendations, and classify the type of change.

Steps

Details

Repository
github.com/ruvnet/ruflo
Categories
Code Review & Quality, Git & Releases
First seen
Jun 3, 2026

Questions

What does the diff-analyze skill do?

diff-analyze scores the risk of a git diff, classifies the change as a feature, bugfix or refactor, and recommends reviewer roles based on the touched paths. It also reports line and file counts and can check file-level risk for each flagged file. It is aimed at work before a pull request or merge.

How do I install the diff-analyze skill?

Run npx -y skills add ruvnet/ruflo --skill diff-analyze -y in your project. The diff-analyze skill then lets the agent analyze the branch, pull request or uncommitted changes you point it at.

Which tools does diff-analyze need to run?

diff-analyze calls ruflo MCP tools such as analyze_diff, analyze_diff-risk and analyze_diff-reviewers, plus Bash for git and the gh CLI. Those tools take a git ref and run git themselves, so the skill needs a git repository in the project.

Where does diff-analyze stand among other code review skills?

diff-analyze is listed in the Code Review and Quality category alongside improve-codebase-architecture, codebase-design, code-review, setup-ts-deep-modules and caveman-review. Its own focus is quantified risk scoring of a diff before merging, not general review comments.

More from ruvnet/ruflo

All 236

Similar to Diff Analyze

More Code Review & Quality