code_repair — Claude Code prompt for code fixes
code_repair is a Claude Code prompt that fixes issues listed in technical and visual reports. It keeps the current plotting approach and dependencies.
Apache-2.0 ★ 108 updated 2026-11-17
.claude/commands/code_repair.mdWhat code_repair does
code_repair limits code changes to the issues named in technical and visual quality reports. Other parts of the project stay outside the repair scope.
The prompt preserves the existing plotting approach and dependencies. A new dependency can be added only when it is explicitly requested and approved through the dependency workflow.
What it helps with
- fix issues listed in a technical report
- correct plotting problems reported in a visual review
- preserve existing dependencies while repairing code
Example prompts for the agent
- Fix only the issues listed in the technical and visual reports.
- Correct the reported plotting issues while keeping the current plotting approach.
- Repair the listed defects without adding dependencies.
How to install code_repair
Manually: put the files in place
.claude/commands/code_repair.mdHow to use
Paste the text at the start of a chat or into project instructions
Questions about code_repair
How do I install code_repair in Claude Code?
Save the prompt as .claude/commands/code_repair.md.
What does code_repair do?
It repairs only issues named in technical and visual quality reports while preserving the current plotting approach and dependencies.
Can code_repair add a dependency?
Only when a new dependency is explicitly requested and approved through the dependency workflow.
Source text
code_repair.md · Apache-2.0
# Code Repair Repair only the issues listed in the technical and visual quality reports. Keep the existing plotting approach and dependencies unless a new dependency is explicitly requested and approved by the dependency workflow.
© cjh-solver · Apache-2.0 · cjh-solver/MathModeling-Skills-Arsenal