diffs

Generate visual and file-based diffs from text or patch inputs.

3|1|Updated Feb 3, 2026
One-click install
npx skills add https://github.com/gensparx/GenSparx --skill diffs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: diffs
Source: https://github.com/gensparx/GenSparx/tree/main/extensions/diffs/skills/diffs
Command: npx skills add https://github.com/gensparx/GenSparx --skill diffs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a standardized way to generate and share code or text differences, eliminating the need for manual, error-prone edit summaries.

Core Features & Use Cases

  • Generate Visual Diffs: Create interactive viewer URLs or static file artifacts (PNG, PDF) of differences between two versions of text or code.
  • Flexible Input: Accepts either before and after text, or a unified patch string.
  • Use Case: When proposing a code change, use this Skill to generate a clear, visual diff that can be easily shared and reviewed by teammates, improving collaboration and reducing misunderstandings.

Quick Start

Use the diffs tool to generate a viewer URL for the provided before and after text.

Frequently Asked Questions about diffs

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

FAQPage Schema
How do I generate a visual diff for code review?

To generate a visual diff for code review, provide before and after text or a patch string to create shareable interactive viewer URLs or downloadable PNG and PDF file artifacts.

What's the best way to share code changes with teammates without manual summaries?

Sharing code changes without manual summaries is best done by generating a standardized visual diff, which produces an interactive viewer URL or file artifact that clearly communicates edits and reduces misunderstandings.

Can I create a downloadable file artifact from a unified patch string?

Yes, you can create downloadable file artifacts from a unified patch string by passing it as input to generate static visual differences in PNG or PDF formats for offline sharing.

Does the text comparison support both raw before and after inputs as well as patches?

Text comparison supports flexible input by accepting either raw before and after text for direct comparison or a unified patch string to process and visualize differences.

How do I generate an interactive viewer URL for text comparison?

To generate an interactive viewer URL for text comparison, input the two text versions or a patch string, and the tool produces a shareable link for visual review.