document-comparison

Compare two documents and generate an HTML diff with a Markdown change summary.

47|2|Updated Jun 3, 2026
One-click install
npx skills add https://github.com/Amazon-Quick/Amazon-Quick-official-catalog --skill document-comparison-amazon-quick
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: document-comparison
Source: https://github.com/Amazon-Quick/Amazon-Quick-official-catalog/tree/main/skills/document-comparison
Command: npx skills add https://github.com/Amazon-Quick/Amazon-Quick-official-catalog --skill document-comparison-amazon-quick

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The skill compares two documents side-by-side, generating a visual diff and a structured change summary to help you quickly understand revisions between versions.

Core Features & Use Cases

  • Visual side-by-side diff highlighting additions, deletions, and modifications.
  • Paragraph-level comparison with word-level highlighting for precise edits.
  • Output options include a Markdown change summary and an HTML diff for review workflows.
  • Supports DOCX, PDF, Markdown, and plain text inputs for policy updates, contracts, and version control of documents.

Quick Start

Compare two documents by providing their file paths and ask me to run a comparison.

Frequently Asked Questions about document-comparison

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

FAQPage Schema
How do I compare two PDF or DOCX documents to see what changed?

To compare two documents, you provide the file paths for your DOCX, PDF, Markdown, or plain text inputs. The Skill computes a paragraph-level diff with word-level highlighting to show exactly what changed between the two versions.

Can I get a visual side-by-side diff for contract review?

Yes, you can generate a visual side-by-side diff for contract review that highlights additions, deletions, and modifications. It outputs an HTML diff file that visually distinguishes the exact edits made across paragraphs.

Does the comparison tool support Markdown and plain text inputs?

Yes, the comparison tool supports Markdown and plain text inputs alongside DOCX and PDF files. It processes these formats to compute paragraph-level differences and word-level changes for version control.

What is the best way to summarize document revisions between versions?

The best way to summarize document revisions is to use the structured change summary output. It generates a Markdown summary of additions, deletions, and modifications after computing the paragraph-level diff.

How does paragraph-level diff with word-level highlighting work?

Paragraph-level diff with word-level highlighting works by scanning two documents and matching text at the paragraph level first, then isolating specific word changes within those paragraphs. This results in a precise visual diff showing exactly what was added or deleted.

What are the limitations of comparing PDF files for changes?

The Skill computes paragraph-level diffs with word-level highlighting for PDF files, but complex PDF layouts may affect text extraction accuracy. It outputs a Markdown change summary and HTML diff to help review revisions despite potential formatting constraints.