← Prompt library
Level 5 · Debugging
Fix a bug without widening scope
Investigate {{ERROR}} in {{FILE}}. Reproduce it using {{STEPS}}, identify the cause, then make the smallest fix. Preserve unrelated user changes.
Fill in the variables
Replace the placeholders with your project’s real details. Keep secrets out.
Example input
PROJECT_NAME: codex-practice · SCOPE: index.html
Expected result
Show the failing case before the fix, the passing case after it, and a neighboring regression check.
Expected result
Review and edit before using it in your project.
Before you run
Practice safely: use a disposable folder and sample data. Check every placeholder and the actual project state before using this template.