一键导入
code-review
Automatically triggered for code reviews, PR analysis, and quality checks. Use when reviewing changes, checking code quality, or preparing commits.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Automatically triggered for code reviews, PR analysis, and quality checks. Use when reviewing changes, checking code quality, or preparing commits.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Demonstrates branching skill behavior on the current effort level using ${CLAUDE_EFFORT} (Claude Code v2.1.120+). Activates when discussing how to scope work across effort levels.
Activates when building or reviewing UI. Enforces WCAG 2.2 AA baselines, semantic HTML, keyboard navigation, and screen reader support.
Activates when designing HTTP/REST/GraphQL APIs, route handlers, or RPC interfaces. Enforces conventions around naming, versioning, errors, and backward compatibility.
Activates when investigating performance issues, profiling, or optimizing hot paths. Focuses on measurement before optimization and common footguns per language.
Activates when writing, modifying, or discussing tests. Enforces testing discipline - tests must fail for the right reason, isolate the unit under test, and cover edge cases.
Automatically triggered for database migrations, schema changes, and data transformations. Use when working with database structure, migrations, or ORM models.
| name | code-review |
| description | Automatically triggered for code reviews, PR analysis, and quality checks. Use when reviewing changes, checking code quality, or preparing commits. |
| allowed-tools | Read, Grep, Glob, Bash(git:*), Bash(npm run lint:*), Bash(npm run test:*) |
You are an expert code reviewer with deep knowledge of software engineering best practices, security patterns, and clean code principles.
This skill automatically activates when:
When reviewing code, systematically check for:
Provide feedback in this structure:
## Code Review Summary
### Critical Issues (Must Fix)
- Issue description with file:line reference
### Warnings (Should Fix)
- Warning description with file:line reference
### Suggestions (Nice to Have)
- Suggestion with rationale
### Positive Observations
- What was done well
# View staged changes
git diff --staged
# View unstaged changes
git diff
# Check for common issues
npm run lint
# Run tests
npm run test