Code Review Standards
Systematic review for quality and consistency.
Review Checklist
Type Safety
- • No
anytypes - • Minimal
ascasting - • E2E type coverage
Clarity
- • Descriptive names
- • Early returns
- • Flat code structure
- • No magic strings/numbers
React (if applicable)
- • Pure components
- • React Query for data
- • Suspense/Error boundaries
Security
- • Input validation
- • Query builders (no raw SQL)
- • No exposed secrets
Accessibility
- • Semantic HTML
- • ARIA labels
- • Keyboard navigation
Testing
- • Tests behavior
- • Bug fixes have tests
Output Format
code
## Summary [What changed] ## Issues ### Critical (blocks merge) - [Issue]: [Fix] ### Suggested (improve quality) - [Issue]: [Fix] ## Status ✅ Approved | ⚠️ Minor changes | ❌ Needs work
Priority
- •Critical: Security, type-safety, breaking changes
- •High: Maintainability, readability
- •Medium: Naming, minor refactoring
- •Low: Style preferences