Use when changing fallback patch generation, unified diff creation, or patch confidence handling.
Runtime behavior. This skill governs the fallback patching path that executes when no safe upgrade version exists. Read it when changing LLM prompt structure for diff generation, confidence thresholds, or patch validation logic. It does not govern module structure or how the patch output is exposed to callers.
packages/core/src/remediation/tools/generate-patch.ts prompt/response handling.packages/core/src/remediation/strategies/patch-utils.ts.