You are reviewing a diff and leaving inline comments using the diffity agent CLI.
Works with
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versiondiffity-reviewExecute the skills CLI command in your project's root directory to begin installation:
Fetches diffity-review from kamranahmedse/diffity and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate diffity-review. Access via /diffity-review in your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Create detailed user stories, acceptance criteria, and feature specs
Example
Generate user stories for 'password reset feature' with acceptance criteria, edge cases, and test scenarios
Reduce spec writing time by 50%, ensure comprehensive coverage
Research competitors, compare features, identify gaps
Example
Analyze 5 competitor products, create feature comparison matrix, suggest differentiation opportunities
Complete competitive research in 2 hours instead of 2 days
Evaluate features using frameworks (RICE, ICE, Kano) and create prioritized backlogs
Example
Score 20 feature ideas using RICE framework, generate prioritized roadmap with rationale
0
total installs
0
this week
509
GitHub stars
0
upvotes
Run in your terminal
0
installs
0
this week
509
stars
You are reviewing a diff and leaving inline comments using the diffity agent CLI.
ref (optional): Git ref to review (e.g. main..feature, HEAD~3). Defaults to working tree changes. When both ref and focus are provided, use both (e.g. /diffity-review main..feature security).focus (optional): Focus the review on a specific area. One of: security, performance, naming, errors, types, logic. If omitted, review everything.diffity agent diff
diffity agent list [--status open|resolved|dismissed] [--json]
diffity agent comment --file <path> --line <n> [--end-line <n>] [--side new|old] --body "<text>"
diffity agent general-comment --body "<text>"
diffity agent resolve <id> [--summary "<text>"]
diffity agent dismiss <id> [--reason "<text>"]
diffity agent reply <id> --body "<text>"
--file, --line, --body are required for comment--end-line defaults to --line (single-line comment)--side defaults to newgeneral-comment creates a diff-level comment not tied to any file or line<id> accepts full UUID or 8-char prefixdiffity is available: run which diffity. If not found, install it with npm install -g diffity.The review needs a running session whose ref matches the requested ref. A ref mismatch causes "file not in current diff" errors when adding comments.
diffity list --json to get all running instances. Parse the JSON output and find the entry whose repoRoot matches the current repo.ref field against the requested ref:
"work" for working-tree sessions and the user-provided ref string (e.g. "main", "HEAD~3") for named refs.diffity <ref> --no-open --new (or diffity --no-open --new if no ref). The --new flag kills the old session and starts a fresh one. Use Bash tool with run_in_background: true. Wait 2 seconds, then verify with diffity list --json and note the port."work" → restart with diffity --no-open --new (the running session is for a named ref, but we need working-tree).diffity <ref> --no-open (or diffity --no-open if no ref)run_in_background: truediffity list --json and note the port.diffity agent diff
This outputs the full unified diff for the current session. Line numbers are in the @@ hunk headers.Gauge the diff size and plan your approach. Every file gets a thorough review regardless of diff size — the difference is how you organize the work:
No matter the size, read and review every changed file. Do not skip or spot-check files.
Summarize the change first. Before looking for problems, build a mental model of the diff:
git log --oneline <args>) and any linked issues or PR descriptions for context.Understanding intent helps you distinguish intentional behavior from real bugs.
For each changed file (adjusted by size strategy above), read the entire file (not just the diff hunks) to understand the full context.
Cross-reference callers and dependents. For any changed function signature, renamed export, modified return type, or altered behavior: grep for usages across the codebase. A function that looks correct in isolation can break every caller. Check:
Analyze the code changes using the techniques below. If a focus argument was provided, concentrate on that area. Otherwise, apply all analysis passes and the signal threshold.
The diff tells you what changed; the surrounding code tells you whether the change is correct. Apply these analysis passes:
Data flow analysis — Trace values through the changed code. Where does each variable come from? Where does it go? Check:
if (x)) that the diff accidentally moved outside of?State and lifecycle analysis — For stateful code (React state, database transactions, streams, event listeners):
Contract analysis — Check the changed code against the contracts it must satisfy:
Boundary analysis — For code at system boundaries (user input, network, file I/O, IPC):
Edge case analysis — Only for cases that will happen in practice, not theoretical ones:
After analyzing the code for correctness, check whether the change is complete — not just correct, but finished:
Test coverage:
[suggestion].Missing pieces:
Only flag missing pieces that are clearly needed for this change to work correctly. Don't flag aspirational improvements.
Flag real problems that would affect correctness, security, or reliability:
[suggestion], not [must-fix], unless the project's CLAUDE.md requires tests)Skip style concerns, linter-catchable issues, and pre-existing problems in unchanged code. Focus on the diff, not the whole file.
For each finding, verify it's real before posting:
If a repeated pattern appears across files, comment on the first occurrence and mention the pattern in the general summary instead of duplicating comments.
Order comments by severity. Post all [must-fix] comments first, then [suggestion], then [question]. Within each severity, follow file order. This ensures the most important issues are seen first if the author skims.
Categorize each finding with a severity prefix in the comment body:
[must-fix] — Bugs, security issues, data loss risks. Code that will break or produce wrong results.[suggestion] — Concrete improvements with a clear reason. Not style preferences — real improvements. This includes missing tests, incomplete changes, and better approaches.[question] — Something unclear that needs clarification from the author.For each finding, leave an inline comment using:
diffity agent comment --file <path> --line <n> [--end-line <n>] [--side new] --body "<comment>"
--side new (default) for comments on added/modified code--side old for comments on removed code--end-line when the issue spans multiple linesAfter leaving all inline comments, decide whether a general comment is needed:
diffity agent general-comment --body "<overall review summary>"
Open the browser now that comments are ready:
diffity open <ref>
Pass the ref argument if one was provided (e.g. diffity open HEAD~3). Omit it to open the default view.
Tell the user the review is ready and they can check the browser. Example:
Review complete — check your browser.
Found: 2 must-fix, 1 suggestion
When you're ready, run /diffity-resolve to fix them.
Make data-driven prioritization decisions faster
Draft PRDs, status updates, and stakeholder presentations
Example
Create executive summary of Q3 roadmap, monthly progress report, feature launch announcement
Save 3-5 hours/week on communication overhead
Prerequisites
Time Estimate
30-60 minutes to see productivity improvements
Steps
Common Pitfalls
✓ Do
✗ Don't
💡 Pro Tips
✓ Use when
Use for user story writing, competitive research, roadmap prioritization, stakeholder communication, and PRD drafting. Best for reducing repetitive documentation and research work.
✗ Avoid when
Avoid for strategic product vision (requires deep customer empathy), pricing decisions (needs market and financial expertise), or when face-to-face customer discovery is more valuable than speed.
mattpocock/skills
parcadei/continuous-claude-v3
cursor/plugins
ailabs-393/ai-labs-claude-skills
pproenca/dot-skills
mattpocock/skills
Registry listing for diffity-review matched our evaluation — installs cleanly and behaves as described in the markdown.
Solid pick for teams standardizing on skills: diffity-review is focused, and the summary matches what you get after install.
Useful defaults in diffity-review — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
diffity-review is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
I recommend diffity-review for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
Keeps context tight: diffity-review is the kind of skill you can hand to a new teammate without a long onboarding doc.
diffity-review has been reliable in day-to-day use. Documentation quality is above average for community skills.
diffity-review fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
Useful defaults in diffity-review — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
We added diffity-review from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
showing 1-10 of 60