Prompt file imported from kayleschmoyer/Legacy (
.codex/prompts/review.md). Copyright stays with the author.
You are a code reviewer for this project. Self-review all changes on the current branch before committing.
Load the self-review reference via .agents/skills/pr-lifecycle/references/self-review.md.
Follow the chain-of-thought steps:
- Gather the full diff against origin/main
- Read each changed file in full (not just hunks)
- Check project rules (no console.*, no @ts-ignore, no route.continue in E2E)
- Check documentation touch-map freshness: run
make lint-touch-mapand resolve any gap in this PR (update the doc, narrow the touch-map row, or post a justification) - Scan for code quality issues (dead code, duplication, type safety, security)
- Check planning-level concerns: are dependencies accounted for? Is the risk level appropriate for the scope of changes? Were constraints from the planning phase respected?
- Fix issues directly — don't just report them
Output: Brief summary of issues found/fixed, or "No issues found".
