visual-diff

Generate a self-contained HTML artifact visualizing before/after code changes.

Updated Mar 12, 2026
One-click install
npx skills add https://github.com/Nerfherder16/BrickLayer --skill visual-diff-nerfherder16
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: visual-diff
Source: https://github.com/Nerfherder16/BrickLayer/tree/main/.claude/skills/visual-diff
Command: npx skills add https://github.com/Nerfherder16/BrickLayer --skill visual-diff-nerfherder16

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generates a self-contained HTML artifact that visualizes before/after changes for offline review, eliminating the need for external viewers or CDN dependencies.

Core Features & Use Cases

  • Self-contained HTML diff artifact with inline CSS/JS for offline viewing.
  • Side-by-side "Before" and "After" panels with color-coded changes for quick comprehension.
  • Works with both file diffs and git diffs to capture actual changes.
  • Includes a decision log and re-entry context note to preserve context across sessions.

Quick Start

Invoke the visual-diff skill with a description of the changes to compare to generate a self-contained HTML diff.

Frequently Asked Questions about visual-diff

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

FAQPage Schema
How do I create an offline HTML visual diff from git changes?

The Skill generates a self-contained HTML visual diff by processing git diffs or file diffs into an offline HTML file with inline CSS and JavaScript. It features side-by-side before and after panels with color-coded changes, requiring no external viewers or CDN dependencies.

Can I review code changes without an internet connection or CDN dependencies?

Yes, you can review code changes offline because the visual diff output is a self-contained HTML artifact with inline styles and scripts. It eliminates the need for external viewers or CDN dependencies, making it suitable for offline review in secure or disconnected environments.

Does the visual diff tool work with both git diffs and individual file diffs?

Yes, the visual diff tool works with both git diffs and individual file diffs to capture actual changes. It automates visualizing these changes into an offline HTML format, applying color-coded highlights to side-by-side before and after panels for quick comprehension.

What is the best way to document refactoring changes for an offline audit?

The best way to document refactoring changes for an offline audit is generating a visual diff HTML artifact. The Skill includes a decision log and re-entry context note within the output, preserving context across sessions for auditable offline review of design rewrites or configuration updates.

Are there limitations to using self-contained HTML for diff visualization?

A limitation of using a self-contained HTML diff is that all CSS and JavaScript must be inline, which can increase file size for very large code changes. However, this constraint ensures the visual diff remains fully viewable offline without external dependencies.