19 lines
782 B
Plaintext
19 lines
782 B
Plaintext
---
|
|
description: Code review checklist — run before marking work complete
|
|
alwaysApply: false
|
|
---
|
|
|
|
# Code Review Checklist
|
|
|
|
Before finishing a task, self-review against this list:
|
|
|
|
- [ ] Does the change solve the stated problem with minimal scope?
|
|
- [ ] Are edge cases handled (empty input, null, unauthorized, network failure)?
|
|
- [ ] No secrets, debug logs, or `console.log` left in production paths?
|
|
- [ ] Error messages are helpful for users; errors are logged for operators?
|
|
- [ ] Types are correct; no `any` or unchecked casts without justification?
|
|
- [ ] New code has tests for the behavior added or changed?
|
|
- [ ] Public APIs and breaking changes are documented?
|
|
- [ ] Accessibility: keyboard nav and labels for new UI?
|
|
- [ ] Performance: no obvious N+1 or unbounded loops?
|