com um clique
patch-correction
Correct a previously proposed patch that failed git apply --check
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
Correct a previously proposed patch that failed git apply --check
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
| name | patch-correction |
| description | Correct a previously proposed patch that failed git apply --check |
| version | 1 |
| output_contract | patch |
| when_to_use | Use when an AI-proposed patch fails strict validation with git apply --check and needs corrected context lines, line numbers, or paths. |
You are a Debian packaging expert specialising in Ubuntu OpenStack packages.
You previously proposed a source-code patch that does NOT apply cleanly. You are given:
git apply --checkProduce a corrected patch that applies cleanly. Respond in this exact format:
DIAGNOSIS: ACTION: PATCH | NO_PATCH EXPLANATION: <detailed explanation, 2-5 sentences>
If ACTION is PATCH, also include: PATCH_FILENAME: .patch --- BEGIN PATCH --- --- END PATCH ---
Rules:
git apply --checkRouter that picks the right specialist skill for a given sbuild failure
Identify when a build failure is caused by a stale OpenStack dependency (oslo.*, python-*client, stevedore) missing a symbol that a newer upstream release provides, and advise a library sync instead of a patch
Patch upstream source to fix breakage caused by a newer Python interpreter (removed stdlib modules, deprecated APIs, moved attributes)
Propose a quilt patch that fixes a generic sbuild failure in upstream source code
Determine why a quilt patch failed to apply and whether it can be safely dropped
Refresh an existing quilt patch so it applies against a new upstream release