1 KiB
Minimal Codex prompts
First run
Read AGENTS.md, SPEC.md, ARCHITECTURE.md, and TODO.md. Inspect the repository and implement Phase 0 only. Do not implement later phases. Compile/test, fix errors, then update TODO.md only for work actually completed.
Subsequent run
Implement the next unchecked phase in TODO.md. Follow AGENTS.md; read only the relevant sections of SPEC.md and ARCHITECTURE.md, then inspect existing code before editing. Do not implement later phases. Compile/test, fix errors, and update TODO.md accurately.
Bug-fix run
Investigate this bug against SPEC.md and ARCHITECTURE.md: . Reproduce or identify the failing path first. Make the smallest safe fix, add a regression test when practical, compile/test, and do not refactor unrelated code.
Integration run
Implement only after inspecting the exact installed dependency/API version. Do not guess API names. Keep the integration optional and verify the mod still starts without that dependency.