技能低风险未认领
PR Review
Reviews the current branch's changes against its base branch as a pull request: correctness of new and modified code, test coverage for it, and documentation accuracy. Use when asked to review a branch, a diff, or a pull request.
trailofbitstrailofbits/review-pr
说明
Review the branch's change surface, not the whole repository.
- Establish the diff:
git diff <base>...HEAD(andgit diff <base>when the working tree carries uncommitted changes that belong to the branch). The base branch is named by the caller; fall back tomain. - Review every changed hunk for correctness: wrong results on edge inputs, unhandled error paths, and behavior that contradicts the function's name or callers.
- Check test coverage for the changed behavior: new logic without a test exercising its edge cases is a finding.
- Check documentation the diff made stale: statements in README or docs that were true on the base branch and are false after the change.
- Report every defect found, each with a severity; include minor and informational findings. Do not report defects in files the branch did not touch — they are outside the pull request.
权限
声明检测
运行代码—无
安装—无
安装时运行脚本—无
网络—无
需要的凭据—无
工作区外的路径—无
智能体工具
ReadGrepGlobBashReadGrepGlobBash检查
低风险 · 没有发现需要提醒的地方。
未经人工审核 · 已做规则检查;模型审核尚未开启。
文件1 个文件 · 1.2 KB
- SKILL.md1.2 KB
版本
- #1—最新2026年10月7日
PR Review在 Codeg 中打开