Evo maven patch generation

From OpenLAIR/OpenSkill · View interactive version

Evo maven patch generation is an AI agent skill from the GitHub repository OpenLAIR/OpenSkill. Generates GNU-compatible unified diff patches for proposed code or POM fixes, writes them to numbered patch files, and applies them to the repository.

How to use this skill

Skill file

evo-maven-patch-generation

Generates and applies unified diff patches for Java Maven build fixes.

Key Functions

Usage

import sys
sys.path.insert(0, '/app/environment/skills/evo-maven-patch-generation/scripts')
from utils import (
    make_strict_patch, write_patch_file, apply_patch,
    modify_file_content, create_travis_fix_patch
)

# Fix .travis.yml typo
create_travis_fix_patch('.travis.yml', 'build.pom.xml', 'build-pom.xml', 'patch_1.diff')

# Apply patch
apply_patch('patch_1.diff', '/path/to/project')

Important Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.