Skip to main content
prompt GP ChatGPT

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

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/commands/code_repair.md
Open on GitHub

What 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.md

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

Similar prompts

All prompts for Code review and refactoring →

From the same set10

The whole set →
tech-route-maker tech-route-maker is a Claude Code rule for building editable research and engineering route diagrams from evidence. It applies to requests for method figures, roadmaps, workflows, and pipelines. CX Codex +1 ★ 108repo stars visual_quality_check visual_quality_check is a Claude Code prompt that inspects charts against specifications and templates. It flags only issues visible on the image or backed by reports. GP ChatGPT ★ 108repo stars template_adaptation template_adaptation is a Claude Code prompt for fitting real data into a selected template. It aims to retain the original layout and visual treatment where possible. GP ChatGPT ★ 108repo stars markitdown-skill markitdown-skill is a Claude Code skill that converts documents and URLs to Markdown via the markitdown CLI. It extracts text from PDFs, runs OCR on images and transcribes audio files. CX Codex +1 ★ 108repo stars bzd-review-paper bzd-review-paper is a Claude Code skill that reviews mathematical modeling contest papers against the full problem statement. It checks eligibility and format, scores the work, and prepares an HTML report. CX Codex +1 ★ 108repo stars tikz-scientific-figures tikz-scientific-figures is a Claude Code skill that builds publication-grade figures with TikZ and PGFPlots and returns SVG plus PNG. Each figure stays an editable standalone .tex file. CX Codex +1 ★ 108repo stars modelviz-skill modelviz-skill is a Claude Code skill that creates scientific charts from tabular data and a plain-language request. It selects a catalog template, adapts the code, and checks the output. CX Codex +1 ★ 108repo stars tech-route-maker tech-route-maker is a Claude Code skill that builds evidence-grounded editable technical route diagrams from source materials. Triggers on diagram requests or the $tech-route-maker invocation. CX Codex +1 ★ 108repo stars

Project sponsors

Companies that keep this analytics open