Prompt file imported from moeghashim/alalaam (
.codex/prompts/fix.md). Copyright stays with the author.
/fix
Purpose: fix a bug or issue end-to-end with regression safety.
Workflow:
- Reproduce and isolate the root cause.
- Write or identify a failing test, repro script, or equivalent proof before claiming the fix.
- If the fix touches React, Next.js, UI review, or transitions, read
docs/agent-skills.mdand consult the relevant vendored Vercel skill before editing. - Consult
agent/skills/addyosmani/test-driven-developmentandagent/skills/addyosmani/security-and-hardeningwhen the issue changes behavior or touches a trust boundary. - Implement the smallest safe fix.
- Add or update regression tests.
- Run
npm run check,npm test, andnpm run agent:check. - Summarize behavior change, repro coverage, tests added, and residual risks.
