diffdive

Compare the current branch to trunk and generate a structured situation report.

3|1|Updated Mar 22, 2026
One-click install
npx skills add https://github.com/itzcull/software-skills --skill diffdive
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: diffdive
Source: https://github.com/itzcull/software-skills/tree/main/skills/diffdive
Command: npx skills add https://github.com/itzcull/software-skills --skill diffdive

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Branch context loading by analyzing a branch's divergence from trunk to produce a structured situation report highlighting changes, intent, risks, and outstanding questions.

Core Features & Use Cases

  • Detects the current branch and automatically identifies the trunk (main or master) when present.
  • Computes the divergence point and gathers context: commit counts, logs, diffs, and files changed.
  • Generates a narrative report describing intent, risk areas, and follow-up questions to inform reviews or onboarding.
  • Use cases include onboarding onto unfamiliar branches, resuming work after time away, reviewing pull requests, or obtaining a branch status snapshot.

Quick Start

Run the diffdive process on the current branch to compare it against trunk and generate a structured situation report.

Frequently Asked Questions about diffdive

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

FAQPage Schema
How do I get a summary of git branch changes compared to main?

To summarize git branch changes, this Skill compares your current branch to trunk and generates a structured situation report. It highlights commit logs, file diffs, intent, and risk areas to accelerate branch onboarding.

What is the best way to onboard onto an unfamiliar git branch?

Onboarding onto an unfamiliar git branch involves analyzing its divergence from main or master. By gathering commit counts, logs, and diffs, you receive a narrative report describing the intent and open questions of the changes.

How do I generate a situation report for a pull request review?

Generating a situation report for a pull request review requires comparing the branch to trunk. The process computes the divergence point, gathers changed files and diffs, and provides a narrative highlighting risks and follow-up questions.

Does this branch analysis tool automatically detect the trunk branch?

Yes, branch analysis tools can automatically identify the trunk branch. It detects the current branch and automatically identifies the trunk, whether it is named main or master, to compute the divergence point accurately.

Can I use git diff reports to resume work after being away from a branch?

Yes, you can use git diff reports to resume work after time away. By comparing your current branch to trunk, the analysis gathers commit logs and changed files to produce a narrative describing open questions and current status.