One-click install
npx skills add https://github.com/syedsaif666/LGTM --skill compare-syedsaif666
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: compare
Source: https://github.com/syedsaif666/LGTM/tree/main/skills/compare
Command: npx skills add https://github.com/syedsaif666/LGTM --skill compare-syedsaif666

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manually opening and scrolling through two files to spot differences is time-consuming and error-prone, especially when reviewing code changes or configuration updates. This Skill eliminates that hassle by automatically opening a clear side-by-side diff view in VSCodium.

Core Features & Use Cases

  • Flexible File Resolution: Accepts explicit file paths as arguments, or can search your codebase to locate files if you provide a general description (e.g., "original config.json vs updated config.json").
  • Existence Validation: Checks that both files exist before opening the diff, and suggests alternative files from the same directory if a specified file is missing.
  • Use Case: Perfect for code review, verifying configuration changes, or checking document revisions—any scenario where you need to quickly identify differences between two versions of a file.

Quick Start

Use the compare skill to open a side-by-side diff view of the original 'app.config' file and the modified 'app.config' file to review all changes at a glance.

Frequently Asked Questions about compare

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I compare two files to review code changes visually?

To compare two files for code review, this Skill opens a side-by-side diff view in VSCodium. It resolves file paths automatically and validates their existence before launching the visual comparison interface.

Do I need VSCodium installed to use the file diff comparison feature?

Yes, VSCodium must be installed and accessible via the system PATH to use the file diff comparison feature. The Skill relies on VSCodium's native diff viewer to render the side-by-side visual output.

What is the best way to compare configuration files and verify changes?

The best way to verify configuration file changes is launching a side-by-side diff view. You can provide explicit file paths or a general description, and the Skill will locate the files and open them in VSCodium.

Can I compare files if I only know their general names and not the exact paths?

Yes, you can compare files without exact paths by providing a general description. The Skill searches your codebase to locate the specified files and opens them directly in the VSCodium diff viewer.

What happens if a file is missing when I try to open a diff view?

If a file is missing during a diff view attempt, the Skill validates file existence and suggests alternative files from the same directory. This prevents errors when reviewing code or configuration updates.

Are there limitations when tracking document revisions with this comparison method?

A key limitation is the dependency on VSCodium being installed and accessible via the system PATH. Without this environment prerequisite, the visual diff analysis cannot be performed for document revision tracking.