Skip to main content

rpm-patch-applier

Stars0
Forks0
UpdatedApril 7, 2026 at 03:50

Use when user wants to apply a git patch to an RPM package directory. Handles source extraction via rpmbuild -bp, AI-assisted conflict resolution (including filename mismatch scenarios), spec file updates (Patch declaration, %patch directive, Release bump, changelog), and verification. Triggers on phrases like "apply patch to RPM", "把补丁应用到 RPM 包", "rpm 补丁", "应用补丁", "backport", or any request involving patching an RPM spec/tarball. Works with both CVE and non-CVE patches. Supports patches from refactored codebases applied to pre-refactored versions by intelligently matching code patterns across different filenames while preserving original commit metadata.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
6 files
SKILL.md
readonly