# Render git diffs as shareable HTML review reports with Diff2Html

> Use Diff2Html when an agent needs to turn raw unified diffs into readable HTML artifacts for reviews, audits, or status updates. This is a rendering and packaging workflow, not a generic Git hosting, code review, or SCM platform listing.

- Skill: `agentskillexchange/render-git-diffs-as-shareable-html-review-reports-with-diff2` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/render-git-diffs-as-shareable-html-review-reports-with-diff2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/render-git-diffs-as-shareable-html-review-reports-with-diff2/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Web & Frontend
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/render-git-diffs-as-shareable-html-review-reports-with-diff2

---


# Render git diffs as shareable HTML review reports with Diff2Html

Use Diff2Html when an agent needs to turn raw unified diffs into readable HTML artifacts for reviews, audits, or status updates. This is a rendering and packaging workflow, not a generic Git hosting, code review, or SCM platform listing.

## Prerequisites

Node.js

## Installation

Requirements and caveats from upstream:
- [![node](https://img.shields.io/node/v/diff2html)](https://www.npmjs.com/package/diff2html)
- [Diff2Html NPM / Node.js Library](#diff2html-npm--nodejs-library)
- [Node Library](https://www.npmjs.org/package/diff2html)

Basic usage or getting-started notes:
- [Online Example](#online-example)
- [Usage](#usage)
- [Diff2HtmlUI Usage](#diff2htmlui-usage)

- Source: https://github.com/rtfpessoa/diff2html
- Extracted from upstream docs: https://raw.githubusercontent.com/rtfpessoa/diff2html/HEAD/README.md

## Documentation

- https://github.com/rtfpessoa/diff2html#readme

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/render-git-diffs-as-shareable-html-review-reports-diff2html/)

