一键导入
code-review
Reviews code changes for quality, correctness, style, and potential issues. Provides actionable feedback with specific file and line references.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Reviews code changes for quality, correctness, style, and potential issues. Provides actionable feedback with specific file and line references.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | code-review |
| display_name | Code Review |
| description | Reviews code changes for quality, correctness, style, and potential issues. Provides actionable feedback with specific file and line references. |
| category | code-quality |
| version | 1.0.0 |
| tags | ["review","quality","style","correctness","best-practices"] |
| providers | ["claude-code","codex","copilot","openclaw","hermes-agent"] |
| author | agent-skills contributors |
Review code changes for quality, correctness, style, and potential issues. Provide clear, actionable feedback that helps the author improve their code.
Identify the scope — Determine which files and changes are under review. If reviewing a PR or diff, read all changed files. If reviewing a selection, focus on the highlighted code and its immediate context.
Understand intent — Before critiquing, understand what the code is trying to accomplish. Read commit messages, PR descriptions, or surrounding code for context.
Review for correctness — Check for:
Review for security — Check for:
Review for quality — Check for:
Review for performance — Check for:
Review for maintainability — Check for:
Provide a structured review with the following sections:
A 1-3 sentence overview of the changes and overall assessment (approve, request changes, or comment).
List each issue found, categorized by severity:
For each issue, include:
Call out things done well — good patterns, clean abstractions, thorough error handling. Positive reinforcement is part of a constructive review.
Creates or reviews API documentation for endpoints, SDKs, schemas, examples, errors, authentication, and compatibility behavior.
Diagnoses CI/CD failures from logs and workflow files, identifies likely root cause, and recommends minimal fixes or retry guidance.
Reviews code changes for quality, correctness, style, and potential issues.
Audits dependency files and package changes for vulnerable packages, risky upgrades, license concerns, and supply-chain exposure.
Reviews Dockerfiles and container configuration for security, reproducibility, image size, runtime permissions, and deployment reliability.
Plans safe framework, library, API, database, or architecture migrations with phased rollout, compatibility checks, and rollback strategy.