diffs

Generate shareable diffs from before/after text or patch strings.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Use the diffs tool to produce real, shareable diffs (viewer URL, file artifact, or both) instead of manual edit summaries.

Core Features & Use Cases

  • Accepts before/after text or a patch string to render diffs.
  • Supports viewer mode (mode=view), file artifacts (mode=file), or both (mode=both), with optional viewerBaseUrl for shareable URLs.
  • Produces a viewer URL or a downloadable artifact, useful for code reviews, audits, and documentation.

Quick Start

Provide a before/after diff to the tool and receive a shareable viewer URL or artifact.

Frequently Asked Questions about diffs

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

FAQPage Schema
How do I generate a shareable diff for code review instead of writing manual summaries?

To generate a shareable diff for code review, provide before/after text or a patch string to produce a viewer URL or downloadable file artifact. This replaces manual edit summaries with precise, interactive diff outputs.

Can I create a visual diff viewer from a raw patch string?

Yes, you can create a visual diff viewer from a raw patch string by using the interactive viewer mode. The tool renders the patch into a shareable viewer URL when deployed behind a loopback proxy.

What is the best way to share code edits for audits and documentation?

The best way to share code edits for audits is to render before/after texts into a downloadable file artifact. This produces a precise record of changes that can be saved and reviewed offline.

Does the diffs tool support outputting both an interactive viewer and a file artifact at the same time?

Yes, the diffs tool supports outputting both an interactive viewer and a file artifact simultaneously. By selecting the combined output mode, you receive a shareable viewer URL alongside a rendered artifact.

How do I configure the file format for rendered diff artifacts?

You can configure the file format for rendered diff artifacts by adjusting the viewer options when applying the tool. This allows you to customize the output artifact format alongside the generated viewer URL.

When should I use a loopback proxy for diff generation?

You should use a loopback proxy for diff generation when you need to provide a shareable interactive viewer URL. This deployment method enables the tool to serve the rendered diff visually to collaborators.