返回 Skill 列表
extension
分类: 开发与工程无需 API Key

code-review-expert

全面的代码审查专业知识。在审查代码、评估架构或评估质量时使用。触发词包括审查、评估、审计、代码质量、最佳实践。

person作者: jakexiaohubgithub

Code Review Expert

Comprehensive code review expertise for evaluating architecture and quality.

When to Use

  • Reviewing code changes before merge
  • Evaluating architecture decisions
  • Assessing code quality
  • Auditing for security issues
  • Performing pre-commit reviews

Workflow

Step 1: Initial Scan (10%)

Review structure and architecture overview.

Step 2: Top-Down Review (40%)

Architecture → Modules → Functions.

Step 3: Multi-Perspective (30%)

Review as Architect, PM, QA, UX.

Step 4: Deep Dives (15%)

Focus on security and performance.

Step 5: Report (5%)

Summarize and prioritize findings.


Review Phases

Phase 1 (10%): Initial scan - structure, architecture
Phase 2 (40%): Top-down - Architecture → Modules → Functions
Phase 3 (30%): Multi-perspective - Architect, PM, QA, UX
Phase 4 (15%): Deep dives - Security, performance
Phase 5 (5%):  Report - Summarize, prioritize

Severity

| Level | Action | |-------|--------| | 🔴 Critical | Must fix before deploy | | 🟠 High | Fix this sprint | | 🟡 Medium | Fix next sprint | | 🟢 Low | Backlog |

Quick Checklist

  • [ ] No any types
  • [ ] Error handling complete
  • [ ] Input validation present
  • [ ] No hardcoded secrets
  • [ ] Parameterized queries
  • [ ] Async errors handled