Individual skill
evo-maven-patch-generation
Generates GNU-compatible unified diff patches for proposed code or POM fixes, writes them to numbered patch files, and applies them to the repository.
tasks-evolved/fix-build-google-auto/environment/skills/evo-maven-patch-generation/SKILL.md
Source commit 84ca182da055fafb6453dcec4a6defdbbfd987c1
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Local scripts
- 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.
- agent-skills Repository topic
- ai-agents Repository topic
- llm-agents Repository topic
- open-world Repository topic
- self-evolving-agents Repository topic
- engineering Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 1,819 bytesSKILL.mdcore · 1,819 bytesscripts/utils.pyruns · 4,967 bytes
Read excerpt
# evo-maven-patch-generation
Generates and applies unified diff patches for Java Maven build fixes.
## Key Functions
- `generate_unified_diff(original_text, modified_text, file_path)` - Basic unified diff
- `make_strict_patch(original_text, modified_text, file_path)` - Strict diff with EOF newline handling
- `write_patch_file(patch_content, patch_path)` - Write patch to disk
- `apply_patch_via_git(patch_path, project_dir)` - Apply via git apply
- `apply_patch_via_patch_command(patch_path, project_dir, strip)` - Apply via patch command
- `apply_patch(patch_path, project_dir)` - Try git apply, fallback to patch
- `modify_file_content(file_path, old_text, new_text)` - Simple text replacement
- `modify_java_source(file_path, modifications)` - Apply multiple replacements to Java file