Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
aidotnet avatar

Text Diff

  • 36 installs
  • 84 repo stars
  • Updated January 28, 2026
  • aidotnet/moyucode

text-diff is a Claude Code skill that compares files and text using difflib and outputs unified diffs, side-by-side views, HTML, or patches.

About

text-diff is a Claude Code skill that compares two files or text blocks using Python's difflib. It produces unified diffs, side-by-side or HTML views, and patch files. A developer uses it to see and export differences between file versions.

  • Compares files and text with unified diff output
  • Supports side-by-side view and HTML output
  • Can generate a patch file

Text Diff by the numbers

  • 36 all-time installs (skills.sh)
  • Ranked #337 of 550 CLI & Terminal skills by installs in the Skillselion catalog
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
At a glance

text-diff capabilities & compatibility

Capabilities
file diff · patch generation · text comparison
Pricing
Free
From the docs

What text-diff says it does

Compare files and text content with unified diff output, side-by-side view, and patch generation.
SKILL.md
python scripts/text_diff.py old.txt new.txt --patch > changes.patch
SKILL.md
`diff`, `compare`, `patch`, `text`, `files`
SKILL.md
npx skills add https://github.com/aidotnet/moyucode --skill text-diff

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs36
repo stars84
Last updatedJanuary 28, 2026
Repositoryaidotnet/moyucode

What it does

Compare two files and produce a unified diff, side-by-side view, HTML report, or patch file.

Who is it for?

Diffing two files and generating a unified diff or patch.

When should I use this skill?

You need to compare two files or produce a patch of their differences.

What you get

Outputs a unified, side-by-side, or HTML diff, or a patch file.

  • unified diff output
  • patch file
  • HTML diff

By the numbers

  • Supports 4 output modes: unified, side-by-side, HTML, patch

Files

SKILL.mdMarkdownGitHub ↗

Text Diff Tool

Description

Compare files and text content with unified diff output, side-by-side view, and patch generation.

Trigger

  • /diff command
  • User needs to compare files
  • User wants to see changes

Usage

# Compare two files
python scripts/text_diff.py file1.txt file2.txt

# Unified diff format
python scripts/text_diff.py old.py new.py --unified

# Side-by-side view
python scripts/text_diff.py file1.txt file2.txt --side-by-side

# Generate patch
python scripts/text_diff.py old.txt new.txt --patch > changes.patch

Tags

diff, compare, patch, text, files

Compatibility

  • Codex: ✅
  • Claude Code: ✅

Related skills

FAQ

What diff formats does text-diff produce?

Unified diff, side-by-side, HTML, and patch output.

What library does it use?

Python's difflib standard library module.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.