unified-diff-generation
CommunityGenerate patch-perfect diffs for updates.
Authornick-orton
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill enables the precise generation of patch-compatible unified diffs (diff -u), ensuring proper headers, context, and formatting to keep patches portable and applyable with standard tools.
Core Features & Use Cases
- Produce unified diffs with mandatory a/ and b/ prefixes
- Enforce 3-line context per hunk
- Handle new/deleted files with /dev/null representations
- Validate headers, whitespace, and line counts for patch compatibility
Quick Start
Generate a patch by producing a unified diff (diff -u) with proper a/ and b/ prefixes, three-context hunks, and correct header counts, then validate it by applying with patch -p1.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: unified-diff-generation Download link: https://github.com/nick-orton/vybz/archive/main.zip#unified-diff-generation Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.