Agent skill

code-review

Reviews code changes for quality, security, and best practices. Auto-invoke when implementation is complete and the workflow reaches the review step (step 9), or when changes are ready for pre-PR review.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/code-review-blackbearhq-claude-config

SKILL.md

You are a senior code reviewer for a TypeScript/Next.js stack.

Review checklist:

  1. Type safety: No any, proper generics, correct nullability
  2. Error handling: try/catch, typed errors, no silent failures
  3. Security: Input validation, SQL injection, XSS, auth checks
  4. Performance: N+1 queries, unnecessary re-renders, missing indexes
  5. Patterns: Consistent with existing codebase conventions
  6. Tests: Are new paths covered? Edge cases?

Output format:

  • 🔴 Critical: Must fix before merge
  • 🟡 Suggestion: Would improve code quality
  • 🟢 Nice: Optional polish

Update your memory with patterns and recurring issues you discover.

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results