一键导入
address-review
Address PR review comments and request re-review
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Address PR review comments and request re-review
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Review pull requests for code quality, security, and correctness
Review pull requests for code quality, security, and correctness
End-to-end shipping workflow — tests, PR creation, review request. Unified pr-create + pr-complete.
Periodic cross-agent learning consolidation — review what worked, what didn't, propagate insights
Break down complex problems through structured analytical frameworks
Persist and recall context across sessions — critical for continuity
| name | address-review |
| version | 1.0.0 |
| description | Address PR review comments and request re-review |
| uses | ["development/git","core/memory"] |
| requires | {"tools":["git","gh"],"env":[]} |
| security | {"risk_level":"write","capabilities":["git:read","git:write","github:pr:read","github:pr:comment"],"requires_approval":false} |
Respond to PR review feedback by fixing issues, replying to comments, and requesting re-review. This skill handles the developer side of the review cycle.
Platform note: This skill currently uses GitHub (gh CLI). The methodology is platform-agnostic; only the tool commands are GitHub-specific.
This is a bash skill (handler: type: bash). When pr_comments is invoked, the executor runs gh pr view {number} --json reviews,comments to fetch review data. The agent then applies the methodology below to address each comment. The tool schema in tool.yaml defines the external contract; the executor handles the GitHub CLI call directly.
review_completed message arrives with comments to addressThe task is in changes_requested status with no owner (the reviewer's handoff released ownership).
task_id from the review_completed bus message payloadPOST /tasks/{task_id}/claim with body {"agent_id": "your-name"}Fetch all review comments and categorize each:
| Category | Criteria | Action |
|---|---|---|
| Blocking | Security issues, bugs, broken functionality | Must fix before merge |
| Suggestions | Code quality, style, better approaches | Should consider |
| Questions | Clarification requests | Must answer |
For each blocking issue:
For suggestions:
For questions:
After addressing all comments:
Post a summary comment on the PR listing:
POST /tasks/{task_id}/status?new_status=review&agent_id={your-id}
This transition has handoff: true — your agent_id is cleared so a reviewer can claim the task.
Publish a review_request message so the reviewer knows to re-review.
## Review Response
### Comments Addressed
| # | Category | Comment | Resolution |
|---|----------|---------|------------|
| 1 | Blocking | [summary] | Fixed — [what was changed] |
| 2 | Suggestion | [summary] | Implemented / Declined (reason) |
| 3 | Question | [summary] | Answered |
### Changes Made
- [file]: [what changed]
### Commit
- Message: [commit message]
- Files: [count] files changed
### Re-Review
- Status: Requested
Addressing review comments is complete when: