diff-visual

Solid

Visualize git diffs as interactive HTML reports with architecture diagrams and change analysis. Use when asked to visualize, review, or summarize a diff, branch, commit, or PR. Accepts branch names, commit hashes, HEAD, PR numbers, or commit ranges.

Code & Development 47 stars 4 forks Updated 4 days ago MIT

Install

View on GitHub

Quality Score: 87/100

Stars 20%
56
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Diff Visual Visualize git diffs as either self-contained interactive HTML reports (default) or inline markdown reports. HTML includes architecture diagrams, file maps, and change analysis. Markdown is the lighter alternative for terminal review or chat sharing. You write the output directly — no templates, no intermediate JSON, no agent chains. ## Instructions ### Format Detection Parse `--format` first: | Flag | Values | Default | Meaning | |------|--------|---------|---------| | `--format` | `html` \| `md` | `html` | `html` → full interactive dashboard at `${CLAUDE_PLUGIN_DATA}/reports/`. `md` → inline markdown report, delivered in the response | ### Scope Detection Parse the user's argument to determine the diff scope: | Input | Interpretation | Git command | |-------|---------------|-------------| | `HEAD` or nothing | Uncommitted changes | `git diff HEAD` | | `branch-name` | Branch vs main/master | `git diff main...branch-name` | | `#123` or PR URL | Pull request diff | `gh pr diff 123` | | `abc1234` | Single commit | `git show abc1234` | | `abc..def` | Commit range | `git diff abc..def` | | `abc...def` | Three-dot range | `git diff abc...def` | **Default base**: If the scope implies comparison against a base branch, detect the default branch: ``` git rev-parse --verify main 2>/dev/null || git rev-parse --verify master ``` **Scope validation**: Verify the ref/range exists before proceeding. If invalid, inform the user and stop. ### Language Detection Determ...

Details

Author
LeeJuOh
Repository
LeeJuOh/claude-code-zero
Created
4 months ago
Last Updated
4 days ago
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category