Fix Bug.goal
# Codex Prompt: Fix Bug ## Target Tool OpenAI Codex CLI or Codex-style coding-agent goal mode. ## Purpose Use this prompt when there is a specific reproducible bug and the safest fix is a small code, test, documentation, or prompt-template change. ## Inputs To Fill | Input | Description | Example | | --- | --- | --- | | `{bug}` | The observed problem. | `safe_autofix.py --check misses missing final newlines` | | `{reproduction}` | Exact steps that demonstrate the bug. | `Run command X; observe output Y` | | `{expected}` | The correct behavior. | `Command reports the file and exits nonzero` | | `{actual}` | The current behavior. | `Command exits 0` | | `{suspected_files}` | Files/tests to inspect first. | `scripts/safe_autofix.py`, `tests/test_safe_autofix.py` | | `{checks}` | Required validation. | `focused unittest plus repo checks` | ## Full Prompt
fill the variables
This prompt has 6 variables. Pro fills them into a ready-to-paste prompt for you — no manual find-and-replace.
{bug}{reproduction}{expected}{actual}{suspected_files}{checks}
Unlock with Pro →when to use it
Community prompt sourced from the open-source GitHub repo Yaked1/ai-lab-codex-workbench (MIT). A "Fix Bug.goal" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
productivitycommunitydeveloper
source
Yaked1/ai-lab-codex-workbench · MIT
more in Productivity
Productivity✓ tested
Summarize a doc into decisions & actions
chief of staff who extracts what to DO, not just what was said
Productivity✓ tested
Draft a reply to a hard email
calm, direct communicator who de-escalates without caving
Productivity✓ tested
Turn a brain-dump into a weekly plan
planning coach who protects your focus, not just your calendar