Review
Quick quality check on current/recent changes.
Execution
- •Check what changed
bash
git diff --name-only HEAD~3 # Last 3 commits git diff --staged --name-only # Staged changes
- •Run quality checks
bash
npm run typecheck npm run build npm run lint # If available
- •Scan changed files for issues
For each changed file, check:
- •
anytypes or@ts-ignore - •console.log statements
- •Hardcoded colors (text-white, bg-gray-*)
- •Missing error handling
- •TODO/FIXME comments
- •Report
code
Review: [X files changed] ═══════════════════════ Build: ✓ Pass Types: ✓ Pass Lint: ✓ Pass (or N/A) Issues Found: - src/component.tsx:45 - console.log left in - src/hook.ts:12 - Missing error handling Suggestions: - Consider extracting duplicate logic in X and Y - Add loading state to Z component Overall: Ready to commit / Needs fixes
When to Use
- •Before committing
- •After implementing a feature
- •When unsure about code quality
- •Before creating a PR
Auto-Trigger
Consider running review automatically:
- •After
verifymarks task complete - •Before
deploy