bug-to-patch-generator

Installation
SKILL.md

Bug-to-Patch Generator

Produce the minimal edit that makes the failing test pass without breaking anything else. The discipline is subtractive: most first-draft patches are too big, and every unnecessary line is a line a reviewer has to verify.

Preconditions — do not start patching until you have these

Precondition Why you need it If missing
Fault location (file:line) You need to know where to edit bug-localization
Failing test You need a red→green signal bug-reproduction-test-generator
Green baseline You need to know what "doesn't break anything" means Run the full suite once, record result

If you don't have all three, you are not patching a bug — you are guessing.

Step 1 — Classify the fault

Match the fault to a fix family. Different families have different minimal-patch shapes.

Installs
1
GitHub Stars
1
First Seen
Mar 29, 2026
bug-to-patch-generator — santosomar/general-secure-coding-agent-skills