Code Review

Comprehensive code review with security and performance checks

timwuhaotian Updated
The Pair desktop app — Mentor and Executor AI agents collaborating in the session console, with the models, run state, and git inspector alongside

File contents

What I do

  • Review code changes for bugs, security issues, and performance problems
  • Check code style and best practices
  • Identify potential edge cases
  • Suggest specific improvements with code examples

Review checklist

Security

  • SQL injection vulnerabilities
  • XSS vulnerabilities
  • Authentication/authorization issues
  • Sensitive data exposure
  • Input validation

Performance

  • Inefficient algorithms
  • Unnecessary database queries
  • Missing indexes
  • Memory leaks
  • Blocking operations

Code Quality

  • Error handling
  • Edge cases
  • Code duplication
  • Naming clarity
  • Test coverage

Output format

For each issue found, provide:

  1. Severity (Critical/High/Medium/Low)
  2. Location (file:line)
  3. Description of the issue
  4. Specific code fix
  5. Explanation of why the fix works

timwuhaotian/the-pair commit fb760a1eaa

Frequently asked questions

npx get-skill add timwuhaotian/code-review