CodeReviewClaude Code

Review AI-Generated Code

Specifically check AI output for common AI failure patterns

Prompt

This code was AI-generated. Review it specifically for AI failure patterns: 1. Hallucinated APIs — does every function/method/import actually exist? 2. Convention drift — does it match our codebase style or introduce its own? 3. Over-engineering — is it solving problems we don't have? 4. Missing error handling — AI tends toward happy-path only 5. Subtle logic bugs — the kind that pass tests but fail in production [paste code] Our codebase conventions: [describe briefly]