一键导入
review-pr
Reviews a GitHub pull request. Use when the user wants to review a PR, get feedback on changes, or check code quality.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Reviews a GitHub pull request. Use when the user wants to review a PR, get feedback on changes, or check code quality.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Generates changelog entries for Factorio MODs from commits since the last release. Use when the user wants to update changelog.txt, add changelog entries, or document changes for a Factorio MOD.
Start Hanami dev server (bin/dev) in background. Use proactively at the start of a Hanami development session, or whenever bin/dev is not running — e.g. when assets watch is needed for tests, when the web server must be up, or when the user asks to start the dev environment.
Git Commit Command
Create a GitHub issue. Use when the user wants to create an issue, open an issue, or report a bug/feature request.
Start working on a GitHub issue. Use when the user wants to work on an issue, start an issue, or begin implementation.
Prepare a new release by triggering GitHub Actions release workflow. Invoke with /prepare-release VERSION
基于 SOC 职业分类
| name | review-pr |
| description | Reviews a GitHub pull request. Use when the user wants to review a PR, get feedback on changes, or check code quality. |
| allowed-tools | ["Bash","Read","Grep","Glob"] |
Reviews GitHub pull requests by analyzing the diff and providing feedback.
IMPORTANT: When using this skill, announce to the user: "Using review-pr skill to review the pull request."
If a PR number is provided as an argument, use it. Otherwise, check if the current branch has an associated PR.
# If PR number provided as argument, use it
# Otherwise, get current branch's PR
gh pr view [PR_NUMBER] --json number,title,body,url
gh pr diff [PR_NUMBER]
When reviewing the diff, focus on:
Code Quality
Potential Bugs
Security
Performance
Style & Conventions
Provide feedback in this format:
## PR Review
### Summary
Brief overall assessment (1-2 sentences)
### Strengths
- Good points about the changes
### Issues Found
- **Critical**: Issues that must be fixed
- **Moderate**: Issues that should be addressed
- **Minor**: Suggestions for improvement
### Suggestions
Optional recommendations
If the user requests, post the review as a PR comment:
cat > /tmp/review_comment.md <<'EOF'
<review content>
EOF
gh pr comment [PR_NUMBER] --body-file /tmp/review_comment.md
rm /tmp/review_comment.md
/review-pr - Review the current branch's PR/review-pr 42 - Review PR #42