mcpField
T
text-diff

text-diff

github.com/aidotnetDevelopment8543 installsUpdated 39w ago
Repository

About text-diff

text-diff is a development skill for comparing files or text and producing diff views or patches. It is intended for users who need to inspect changes, with commands for unified and side-by-side output.

Key features

  1. 01Compare files and text
  2. 02Unified diff output
  3. 03Side-by-side view
  4. 04Patch generation

Use cases

  1. 01Reviewing changes between file versions
  2. 02Inspecting text differences side by side

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/aidotnet/moyucode --skill text-diff

After installing, type/text-diffin Claude Code to confirm it loaded.

Bundled filesscripts/text_diff.py

Details

From the project README

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: ✅

Comments

Markdown supported