diffs

Generate shareable file or viewer diffs from text and patch strings.

Updated Mar 31, 2026
One-click install
npx skills add https://github.com/nuno7lopes/alisio --skill diffs-nuno7lopes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: diffs
Source: https://github.com/nuno7lopes/alisio/tree/main/extensions/diffs/skills/diffs
Command: npx skills add https://github.com/nuno7lopes/alisio --skill diffs-nuno7lopes

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

The diffs tool addresses the need for an efficient way to generate real diffs from edits, streamlining the process and ensuring a clear and concise presentation of changes.

Core Features & Use Cases

  • Real Diffs: Produce accurate and easy-to-understand diffs between 'before' and 'after' content or a unified 'patch' string.
  • Viewer & File Artifacts: Access diffs via an interactive viewer or download a rendered file artifact in PNG or PDF format.
  • Flexible Options: Customize the view mode, theme, layout, and quality settings to fit your specific requirements.
  • Use Case: Ideal for collaborative development, where showing detailed code changes to teammates or stakeholders is essential.

Quick Start

Generate a diff file for the changes between 'old.txt' and 'new.txt' with a high-quality PDF output: 'diff old.txt new.txt --mode=file --fileFormat=pdf --fileQuality=hq'.

Frequently Asked Questions about diffs

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

FAQPage Schema
How do I create a shareable diff from before and after text?

To create a shareable diff, input your 'before' and 'after' text or a unified 'patch' string. The tool processes these inputs to generate an interactive viewer URL or a downloadable file artifact.

Can I generate a PDF file artifact from a unified patch string?

Yes, you can generate a PDF file artifact from a unified patch string by setting the output mode to file. Specify the file format as PDF and adjust the quality settings to meet your requirements.

Does this code review diff tool support different themes and layouts?

Yes, this code review diff tool supports flexible customization options. You can adjust the view mode, theme, layout, and quality settings to fit your specific code review and version control workflows.

What is the best way to visualize code changes for stakeholders?

The best way to visualize code changes for stakeholders is generating a rendered diff artifact. Produce a high-quality PNG or PDF file from your text edits to ensure a clear, concise presentation of changes.

Are there limitations when using command-line tools for text comparison?

This text comparison approach relies on command-line tools and file I/O operations to produce diffs. It is designed for processing 'before' and 'after' content or unified 'patch' strings rather than complex version control merging.