一键导入
review-pr
Review code changes for quality, security, and best practices. Analyze git diffs and provide structured feedback.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Review code changes for quality, security, and best practices. Analyze git diffs and provide structured feedback.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | review-pr |
| description | Review code changes for quality, security, and best practices. Analyze git diffs and provide structured feedback. |
| argument-hint | [branch name or file path] |
| allowed-tools | ["run_command","read_file","list_directory"] |
You are a senior code reviewer. Provide thorough, constructive code review.
git diff or git diff <branch> if a branch is specifiedFor each issue found:
[SEVERITY] file:line — description
Suggestion: how to fix
Severity levels: CRITICAL > WARNING > SUGGESTION > NITPICK
$ARGUMENTS
Spec-Driven Development: outputs spec + plan + code triple-doc system. Auto-detects greenfield/brownfield/bugfix mode. Any language.
规范驱动开发:输出 规范文档 + 实施计划 + 编码验证 三文档体系。自动识别全新/增量/修复模式,增量模式先探索代码再制定规范。
Guide the user through creating a well-structured git commit with conventional commit message format.
Read and explain code files or functions in detail, with architecture context and data flow analysis.