Skip to main content

rpm-patch-applier

Sterne0
Forks0
Aktualisiert7. April 2026 um 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

Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.

Datei-Explorer
6 Dateien
SKILL.md
readonly