/grepika:diff-filesfrom grepika
Compares two files and explains their differences using the grepika MCP server. Handles line-range specifications and provides categorized change analysis.
Ships in grepika. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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:
What SKILL.md sets; muted values are Claude Code's defaults
haikuExplore), in the backgroundThree short reads, in order
9 skills in this plugin
/apply-patternThis skill should be used when the user asks to "apply a pattern",
"use a blueprint", "implement [pattern] from [source]",
"what blueprints do I have", "list patterns", "adapt this pattern",
or mentions keywords related to applying previously extracted
architectural patterns to their current project.
/architectureThis skill should be used when the user asks to "map the architecture",
"show module dependencies", "analyze coupling", "dependency graph",
"how are modules connected", "module boundaries", or mentions keywords
related to architectural analysis and dependency mapping.
/find-usagesThis skill should be used when the user asks to "find usages of",
"where is this used", "what calls this function", "trace symbol usage",
"find all references", "who uses this", or mentions keywords related
to symbol reference tracing and call hierarchy analysis.
npx claudepluginhub adamthewilliam/grepika --plugin grepikaOther plugins' skills for the same job