johnlindquist/claude/diff-preview
Claude Code and agent skill by johnlindquist/claude
Trust tier 2
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Source check pending
Checking that the SKILL.md file is still in the repository.
Preview and analyze git diffs with AI explanations. Use to understand changes before committing, get impact analysis, and compare branches or commits.
Install
npx vskill@latest install johnlindquist/claude/diff-previewSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
Diff Preview & Analysis
Preview, explain, and analyze git changes with AI assistance.
Prerequisites
CLI Reference
Basic Diff Commands
Diff Output Options
Commit Comparison
AI-Powered Analysis
Explain Changes
Impact Analysis
Pre-Commit Review
Generate Commit Message
Comparison Patterns
Compare Branches
Find What Changed
Merge Preview
Workflow Patterns
Pre-Commit Check
PR Review Prep
Track Specific Changes
Best Practices
- Review before commit - Always check
git diff --staged - Use stat first - Get overview before full diff
- Compare with base - Use
main...branchfor PR context - Ignore whitespace - Use
-wfor meaningful changes - Request AI review - For complex changes
- Save important diffs - Redirect to file for reference
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/diff-preview/SKILL.md
Popularity
- Repository stars
- 23
- Repository forks
- 6
- 7-day trend score
- 16
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 7 May 2026, 6 months ago.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/johnlindquist/claude/diff-preview)