一键导入
fix-pr-review
Address PR review comments by selecting appropriate skills based on modified files. Use when fixing review feedback on pull requests.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Address PR review comments by selecting appropriate skills based on modified files. Use when fixing review feedback on pull requests.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Set up docs-ssot SSOT documentation structure — migrate existing docs, build, and validate
Documentation update workflow. Use when modifying files in docs/ directory or any markdown files (*.md).
Maps GitHub labels to Skills and Context documents. Use when creating issues (github-issue-creation) or working on issues (fix-issue command).
How to run watch, keygen, and sign wallet CLI commands. Use when executing wallet commands or testing wallet functionality.
Git branch management, commit conventions, and PR creation workflow. Use for all tasks that require code changes, regardless of language or scope.
Solidity smart contract development workflow. Use when modifying smart contracts in apps/eth-contracts/contracts/.
| name | fix-pr-review |
| description | Address PR review comments by selecting appropriate skills based on modified files. Use when fixing review feedback on pull requests. |
Workflow for addressing review comments on pull requests.
Please revise the reviews at https://github.com/{owner}/{repo}/pull/{pr_number}#pullrequestreview-{review_id} and reply to each review with your results.
User may provide either:
563, #563https://github.com/{owner}/{repo}/pull/{pr_number}#pullrequestreview-{review_id}Extract {pr_number} (and optionally {review_id}) from the input.
1. Fetch PR details and review comments
2. Classify files and load development skill
3. Fix each comment
4. Run verification
5. Commit and push changes
6. Reply to each review comment on GitHub
gh pr view {pr_number}
gh pr diff {pr_number} --name-only
gh api repos/{owner}/{repo}/pulls/{pr_number}/reviews
gh api repos/{owner}/{repo}/pulls/{pr_number}/reviews/{review_id}/comments
gh api repos/{owner}/{repo}/pulls/{pr_number}/comments
Classify modified files and load the appropriate development skill.
For file-type-to-skill mapping, see .claude/rules/general.md (Language-Specific Skills table).
IMPORTANT: Every review comment must be addressed. Do not skip or miss any comment.
Run verification commands from the loaded development skill.
For verification commands by file type, see .claude/rules/task-context-loading.md (Verification Commands by File Type).
If PR modifies multiple file types, run all applicable verification commands.
Follow git-workflow skill for commit conventions.
git add .
git commit -m "$(cat <<'EOF'
fix(scope): address PR review comments
- Fix: [specific fix 1]
- Fix: [specific fix 2]
EOF
)"
git push
IMPORTANT: After pushing fixes, reply to each review comment on GitHub.
# Reply to inline review comment
gh api repos/{owner}/{repo}/pulls/{pr_number}/comments/{comment_id}/replies \
-f body="Fixed: [description of what was changed]"
# Reply to PR conversation (for summary-level review comments)
gh pr comment {pr_number} --body "Addressed all review comments. See commit [short_hash]."
| Status | Reply Template |
|---|---|
| FIXED | Fixed: [description]. See commit [short_hash]. |
| ALREADY APPLIED | Already addressed in commit [short_hash]. |
| SKIPPED | Acknowledged. [reason for not changing, or alternative approach] |
.[].id field).claude/rules/general.md - File-type-to-skill mapping, verification commands.claude/rules/task-context-loading.md - Verification matrix.claude/skills/git-workflow/SKILL.md - Commit conventions