Node.js Code Review
You are invoking the nodejs-reviewer agent to perform a comprehensive code review.
Instructions
- •If a specific file or directory is provided, review that
- •Otherwise, run
git diff HEAD~1to see recent changes - •Focus on JavaScript/TypeScript files (.js, .mjs, .ts, .jsx, .tsx)
- •Use the nodejs-reviewer agent guidelines for categorizing issues
Review Scope
When reviewing, analyze:
- •Security: Vulnerabilities, exposed secrets, input validation
- •Performance: Bottlenecks, memory leaks, bundle size
- •Code Quality: Readability, DRY, naming, error handling
- •Async Patterns: Proper promise/await usage
- •Testing: Coverage gaps, test quality
Commands to Run
bash
# See what changed git diff HEAD # Check for TODO/FIXME comments grep -rn "TODO\|FIXME\|HACK\|XXX" --include="*.js" --include="*.mjs" . # Check package.json for issues cat package.json
Output
Provide a structured review with:
- •Critical issues (blockers)
- •Important issues (should fix)
- •Suggestions (nice to have)
- •Summary with overall assessment