Skip to main content

rpm-patch-applier

星标0
分支0
更新时间2026年4月7日 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.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

文件资源管理器
6 个文件
SKILL.md
readonly