Use this skill to review implementation quality - clean code, tests, maintainability. Use ONLY AFTER spec-compliance-review passes. Triggers when reviewing code for quality, after spec compliance is confirmed.
This skill inherits all available tools. When active, it can use any tool Claude has access to.
Verify the implementation is well-built - clean, tested, maintainable.
PREREQUISITE: Spec compliance must pass first.
test_should_X_when_Y)Must fix before proceeding. Blocks completion.
Examples:
Should fix before merge. High priority.
Examples:
Nice to fix. Can note for later.
Examples:
## Code Quality Review
### Summary
[One paragraph assessment]
### Strengths
- [What's done well]
- [Good patterns followed]
### Issues
#### Critical
- **[Issue title]** - [file:line]
Problem: [what's wrong]
Fix: [how to fix]
#### Important
- **[Issue title]** - [file:line]
Problem: [what's wrong]
Fix: [how to fix]
#### Minor
- **[Issue title]** - [file:line]
Suggestion: [improvement]
### Assessment
[ ] ✅ APPROVED - Ready to merge
[ ] ⚠️ APPROVED WITH NOTES - Minor issues, can merge
[ ] ❌ CHANGES REQUESTED - Must address Critical/Important issues
## Code Quality Review
### Summary
Implementation is solid with good test coverage. One important
issue with error handling needs attention before merge.
### Strengths
- Clear function names that describe behavior
- Tests cover happy path and edge cases
- Follows existing validation patterns in codebase
- Good separation of concerns
### Issues
#### Critical
None
#### Important
- **Missing error handling for null input** - src/validation.ts:15
Problem: `validateEmail(null)` throws unhandled TypeError
Fix: Add null check at function start, return false
#### Minor
- **Magic regex could use constant** - src/validation.ts:16
Suggestion: Extract EMAIL_REGEX constant for clarity
- **Test names could be more specific** - tests/validation.test.ts:5
Current: `it('validates email')`
Suggestion: `it('returns true for valid email with standard format')`
### Assessment
❌ CHANGES REQUESTED
Please address:
1. Add null/undefined check to validateEmail
After fix, will be ready to merge.
Before completing review: