Review Diff
Analyzes code review diffs, highlighting potential issues and suggesting improvements based on best practices.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add review-diff npx -- -y @trustedskills/review-diff
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"review-diff": {
"command": "npx",
"args": [
"-y",
"@trustedskills/review-diff"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The review-diff skill allows an AI agent to compare two versions of text and highlight the differences. It can identify additions, deletions, and modifications between the texts, presenting them in a clear and concise format. This is useful for code reviews, document comparisons, or tracking changes over time.
When to use it
- Code Review: Compare a proposed change with the original codebase to understand the impact of the modification.
- Document Editing: Identify revisions made between drafts of a document, such as a legal contract or marketing copy.
- Tracking Changes in Configuration Files: See exactly what has changed when updating server configurations or application settings.
- Content Updates: Compare an older version of a webpage with the current one to see what content has been added or removed.
Key capabilities
- Highlights additions and deletions.
- Identifies modifications between text versions.
- Provides a clear, concise comparison format.
Example prompts
- "Compare these two code snippets and show me the differences: [Snippet 1] [Snippet 2]"
- "Can you review this document change? Here's the original: [Original Document]. And here's the revised version: [Revised Document]."
- "Show me a diff between version 1.0 and version 1.1 of this file: [File Content Version 1.0] [File Content Version 1.1]"
Tips & gotchas
The quality of the comparison depends on the similarity of the two texts; significant structural differences may make the output harder to interpret. Ensure both text versions are accurately provided for best results.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.