agents/rules/quality-review-checklist.md
Impact: HIGH
A comprehensive checklist for code reviewers to ensure consistent quality standards.
Repository suffix, prefix with technology if applicable (e.g., PrismaAppRepository.ts), use PascalCase matching exported classService suffix, use PascalCase matching exported class, avoid generic names (e.g., MembershipService.ts).service.ts or .repository.ts; reserve .test.ts, .spec.ts, .types.ts for their specific purposes.add, .diff, .isBefore, and .isAfter are slow, especially in timezone mode. Prefer .utc() for better performance. Where possible, replace with native Date and direct .valueOf() comparisons for faster execution. Recommend using native methods or Day.js .utc() consistently in hot paths like loops.When docs changes are made in /docs/api-reference/v2/openapi.json, ensure the following:
When changes to API v2 or v1 are made, ensure there are no breaking changes on existing endpoints. Instead, there needs to be a newly versioned endpoint with the updated functionality but the old one must remain functional.
For large pull requests (>500 lines changed or >10 files touched), advise splitting into smaller, focused PRs: