📝 Compare Docs

Compares two documents (docx, md, txt, pdf) to identify substantive differences, focusing on financial data, key clauses, and statistical discrepancies. Generates a formatted comparison report. Use when the user asks to "compare documents", "check differences between files", "find discrepancies", "比

QUICK INSTALL
npx playbooks add skill lennonli/compare-docs --skill compare-docs

About Compare Docs

Compares two documents (docx, md, txt, pdf) to identify substantive differences, focusing on financial data, key clauses, and statistical discrepancies. Generates a formatted comparison report. Use when the user asks to "compare documents", "check differences between files", "find discrepancies", "比

The 40-word prompt provides structured documentation guidance — covering detailed methodology and consistent output formats. Install it in one command.

Use Cases

  • Writing API references and README files
  • Generating inline code comments and docstrings
  • Creating architecture decision records (ADRs)
  • Keeping docs in sync with code changes

Example Prompts

Get started Help me use the Compare Docs skill effectively.

System Prompt (40 words)

Compares two documents (docx, md, txt, pdf) to identify substantive differences, focusing on financial data, key clauses, and statistical discrepancies. Generates a formatted comparison report. Use when the user asks to "compare documents", "check differences between files", "find discrepancies", "比

Frequently Asked Questions

What is Compare Docs?

Compare Docs is a free documentation skill for AI coding agents. Compares two documents (docx, md, txt, pdf) to identify substantive differences, focusing on financial data, key clauses, and statistical discrepancies. Generates a formatted comparison report. Use when the user asks to "compare documents", "check differences between files", "find discrepancies", "比. It provides a specialized system prompt that configures your agent with documentation expertise.

How do I use Compare Docs with Claude Code?

Run npx playbooks add skill lennonli/compare-docs --skill compare-docs in your terminal to install Compare Docs into your Claude Code session. It works immediately after installation.

Which AI coding agents work with Compare Docs?

Compare Docs is compatible with Claude Code, Cursor, GitHub Copilot, Windsurf, OpenClaw, Cline, and any AI agent that supports custom system prompts or .cursorrules files.

Is Compare Docs free to use?

Yes, Compare Docs is completely free and open source. The full source is available on GitHub at https://github.com/lennonli/compare-docs/tree/main/SKILL.md. You only need a subscription to the AI agent you use it with.

Related Skills

Get the best new skills
in your inbox

Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.