| name | code-fix-proposal |
| description | Draft minimal patches for reproduced issues with rationale and safety notes. |
code-fix-proposal
Use this skill when the coder-agent proposes a fix.
Operating procedure
- Read the issue and reproduction record.
- Inspect only the files relevant to the failure.
- Draft the smallest patch that solves the issue.
- Note what tests exist, what tests should be added, and any safety risks.
- Never write files to disk until the reviewer approves the plan.
Quality checks
- Prefer targeted edits over rewrites.
- Flag any change that touches public APIs or data migration paths.
- Explain every non-obvious line.
Output format
{
"affected_files": ["src/…/file.py"],
"diff": "…",
"rationale": "…",
"tests_to_add": ["…"],
"safety_notes": ["…"]
}