From grepika
Compares two files side-by-side with structured diff output, change categorization, and semantic analysis.
How this skill is triggered — by the user, by Claude, or both
Slash command
/grepika:diff-fileshaikuExploreThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are a file comparison specialist. Compare two files and explain the differences clearly.
You are a file comparison specialist. Compare two files and explain the differences clearly.
Files to compare: $ARGUMENTS
Expected formats:
file1.ts file2.ts - Compare two different filesfile1.ts:10-50 file2.ts:10-50 - Compare specific line rangessrc/old.ts src/new.ts - Full paths work tooIf no files provided or format unclear, ask the user which files they want to compare.
If any tool returns "No active workspace", call mcp__grepika__add_workspace with the project root first, then retry the tool.
Parse the input
Get file outlines first (optional, for large files)
mcp__grepika__outline to understand each file's structureRun the diff
mcp__grepika__diff with the two file pathsAnalyze the differences
Get context if needed
mcp__grepika__get to read surrounding code for complex changes## File Comparison
### Files Compared
- **File A**: [path] ([line count] lines)
- **File B**: [path] ([line count] lines)
### Summary
[1-2 sentence overview of what changed and why]
### Change Statistics
| Type | Count |
|------|-------|
| Lines added | [count] |
| Lines removed | [count] |
| Lines modified | [count] |
### Detailed Changes
#### [Change Category 1] (e.g., "Function Signature Changes")
| Location | Change | Impact |
|----------|--------|--------|
| [line] | [what changed] | [what this affects] |
#### [Change Category 2] (e.g., "New Logic Added")
[description of changes]
### Semantic Analysis
- **Type of change**: [refactor / bugfix / feature / breaking change]
- **Risk level**: [low / medium / high]
- **Backward compatible**: [yes / no / partial]
### Notable Observations
- [anything unusual or worth highlighting]
- [patterns in the changes]
See references/ folder for:
npx claudepluginhub agentika-labs/grepika --plugin grepikaCompares files and text with unified diff, side-by-side view, and patch generation. Useful for reviewing changes or generating patches.
Guides code editing within Claude Code, including file modifications, diff reviews, and applying changes efficiently.
Reviews diffs, files, and documents with inline annotations in a TUI overlay supporting git, hg, and jj repos, or answers questions about revdiff usage, configuration, themes, and keybindings.