Code Review

Comprehensive code review with security and performance checks

timwuhaotian fb760a1 923 B Updated

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/tree/main/.opencode/skills/code-review commit fb760a1eaa

Frequently asked questions

npx skillmds@latest add timwuhaotian/code-review