code-review-checklist

iamgerwin 的头像作者 iamgerwin

针对后端和前端代码的全面代码审查清单。

📖 中文导读:针对后端和前端代码的全面代码审查清单。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: code-review-checklist description: Comprehensive code review checklists for backend and frontend code. tags: - code-review - quality - best-practices - laravel - react

Code Review Checklist Skill

Purpose

Use this Skill to ensure consistent, thorough code reviews across your team. These checklists help reviewers catch common issues, enforce best practices, and maintain code quality standards.

How this Skill works

This Skill provides:

  • Markdown checklists for different contexts (backend, frontend)
  • Category-based organization for efficient reviews
  • Customizable templates to match team conventions

Templates

Template Description
templates/backend-checklist.md Checklist for Laravel/PHP backend code
templates/frontend-checklist.md Checklist for React/TypeScript frontend code

Categories Covered

Backend Checklist:

  • Code Quality & Standards
  • Security Considerations
  • Database & Performance
  • Error Handling
  • Testing Coverage
  • Documentation

Frontend Checklist:

  • Component Architecture
  • TypeScript & Type Safety
  • Performance & Optimization
  • Accessibility (a11y)
  • State Management
  • Testing

Example invocation

Using checklists in reviews

Copy the relevant checklist content when reviewing a PR:

# Copy backend checklist to clipboard
cat ai-prompts/skills/code-review-checklist/templates/backend-checklist.md | pbcopy

# Or for frontend
cat ai-prompts/skills/code-review-checklist/templates/frontend-checklist.md | pbcopy

Using with Claude

When working with Claude for code reviews:

"Use the code-review-checklist Skill to review this Laravel controller. Focus on security and performance considerations."

"Apply the frontend checklist from code-review-checklist Skill to review this React component."

Customization

To adapt these checklists for your team:

  1. Edit templates in templates/ to add team-specific checks
  2. Create additional checklists for other technologies (e.g., api-checklist.md)
  3. Remove checks that don't apply to your projects
  • project-bootstrap - Set up projects that align with these review standards