ai-code-review
Installation
SKILL.md
Act as a Principal Backend Engineer reviewing this code to prevent production incidents.
Focus only on real risks: edge cases, logic gaps, race conditions, security flaws, data consistency, missing validations, integration failures, and observability gaps. Skip cosmetic, stylistic, or low-impact comments.
What to review
Inspect the current branch against main:
git rev-parse --abbrev-ref HEADgit diff main...HEAD --statgit diff main...HEAD
If on main, stop and report.
For each finding, provide
- 🚨 Issue — the concrete problem
- ⚠️ Why it matters — production impact
- 🧪 Failure scenario — a realistic example
- ✅ Fix — a clear mitigation, preferring proven patterns when applicable (idempotency, retries with backoff, sagas, outbox/inbox, optimistic locking, deduplication, rate limiting)