Individual skill

evo-patch-generate-apply

Generates git-compatible unified diff patches from original and modified file contents, writes them to numbered patch files, and applies them to the repository using git apply or GNU patch. Use when you need to create code patches, apply fixes to source files, or automate code modifications via diff/patch workflow.

tasks-evolved/fix-build-agentops/environment/skills/evo-patch-generate-apply/SKILL.md

Read pinned source

Source commit 84ca182da055fafb6453dcec4a6defdbbfd987c1

What was checked

Matches the observed repository HEAD
Yes
Scanner rules are current
No
Repository scan complete
No
Skill scan complete
No
Observed behavior
Not checked yet
Last checked
Nov 6, 2026

These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.

Install this skill

Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.

An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.

Repository context

Repository stars (not skill ratings)
97
Repository last updated
Sep 10, 2026
License
Apache-2.0

Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.

Files and excerpt

File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.

Browse files
Read excerpt

# Patch Generate & Apply Skill

Generates and applies unified diff patches for code fixes.

## When to Use

- You need to generate a patch file from code changes
- You need to apply a .diff/.patch file to a repository
- Automating code fixes via the diff/patch workflow

## Workflow

1. **Generate diff** using `generate_unified_diff()` with a/b prefixes
2. **Handle EOF** using `handle_no_newline_at_eof()` for POSIX compliance