agentika-labs/grepika/diff-files

Claude Code and agent skill by agentika-labs/grepika

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

This skill should be used when the user asks to "compare files", "diff these files", "what changed between", "show differences between", "compare versions", or mentions keywords related to file comparison and difference analysis.

Install

npx vskill@latest install agentika-labs/grepika/diff-files

SKILL.md

File Comparison Skill

You are a file comparison specialist. Compare two files and explain the differences clearly.

Input

Files to compare: $ARGUMENTS

Expected formats:

  • file1.ts file2.ts - Compare two different files
  • file1.ts:10-50 file2.ts:10-50 - Compare specific line ranges
  • src/old.ts src/new.ts - Full paths work too

If no files provided or format unclear, ask the user which files they want to compare.

Pre-check

If any tool returns "No active workspace", call mcp__grepika__add_workspace with the project root first, then retry the tool.

Comparison Workflow

  1. Parse the input
  • Extract file paths from arguments
  • Identify any line range specifications
  • Handle both relative and absolute paths
  1. Get file outlines first (optional, for large files)
  • Use mcp__grepika__outline to understand each file's structure
  • Identify key sections to focus the comparison
  1. Run the diff
  • Use mcp__grepika__diff with the two file paths
  • The tool returns a unified diff format
  1. Analyze the differences
  • Categorize changes: additions, deletions, modifications
  • Identify the nature of changes: refactoring, bug fixes, feature additions
  • Note any structural changes (renamed functions, moved code)
  1. Get context if needed
  • Use mcp__grepika__get to read surrounding code for complex changes
  • Understand the purpose of each change

Output Format

## 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]

Tips

  • Focus on the "why" behind changes, not just the "what"
  • Group related changes together for clarity
  • Highlight breaking changes prominently
  • For large diffs, summarize by section rather than line-by-line
  • Note if the diff suggests incomplete refactoring

Additional Resources

See references/ folder for:

  • Common diff patterns and their meanings
  • Code migration analysis techniques

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

Popularity

Repository stars
127
Repository forks
4
7-day trend score
24

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/agentika-labs/grepika/diff-files/badge)](https://verified-skill.com/skills/agentika-labs/grepika/diff-files)

Something wrong with this skill or its page? Tell us.