一键导入
review-pr
Review GitHub Pull Request and analyze unresolved review comments. Use when you need to address PR feedback or review outstanding comments.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Review GitHub Pull Request and analyze unresolved review comments. Use when you need to address PR feedback or review outstanding comments.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Transform verbose natural language requests into structured bilingual documentation (Korean for review + English for AI prompts). Use when you need to clarify and structure a complex request before implementation.
Review current git changes or latest commit using code-reviewer and architect-reviewer agents. Use after completing code changes to get comprehensive quality feedback.
Review comments and suggest cleanup (identify unnecessary comments, recommend improvements). Use to aggressively clean up comment debt in code.
Generate Conventional Commits-compliant messages (feat/fix/docs/chore) in Korean and English. Use when you need to create a well-structured commit message for staged changes.
Identify and safely remove dead code, deprecated code, and unused exports from codebase. Use when you need to clean up unused or obsolete code.
Generate business rule documentation from domain knowledge and requirements. Use when documenting complex business logic.
| name | review-pr |
| description | Review GitHub Pull Request and analyze unresolved review comments. Use when you need to address PR feedback or review outstanding comments. |
| allowed-tools | Bash(gh:*), mcp__github__*, Read, Edit, Write |
| argument-hint | ["PR-URL"] |
| disable-model-invocation | true |
Review the Pull Request at the provided URL and analyze unresolved review comments to provide comprehensive code review feedback.
PR URL: $1
Fetch the PR details using GitHub CLI:
Fetch PR Details
gh pr view to get basic PR informationgh api graphql with external query file to fetch review threadsisResolved field for each threadisResolved: falseAnalyze Code Changes
isResolved: false)Review Criteria
Apply appropriate coding guidelines based on the project's language and framework.
Focus on:
Provide Review Feedback & Apply Fixes
For each comment that points to a real issue:
filepath:line_numberSummary
Provide an overall assessment:
# PR Review: [PR Title]
**PR**: [PR URL]
**Status**: [open/draft/closed]
**Files Changed**: [count]
## Review Threads Analysis & Fixes
### 1. [File Path]:[Line]
**Thread Status**: Unresolved
**Comment by @[username]**:
> [quoted comment]
**Current Code Status**:
- ✅ **Already fixed** - [explanation of how it was addressed]
- OR
- ⚠️ **Issue still present** - proceeding with fix
**Analysis** (if issue still present):
[Your detailed analysis based on review criteria]
**Action Taken**:
- ✅ **Fixed automatically**: [description of fix applied]
- OR
- ⏸️ **Requires discussion**: [reason why user input is needed]
**Relevant Guideline**: [Coding guideline reference if applicable]
---
### 2. [File Path]:[Line]
...
## Overall Assessment
- **Total Review Threads**: [count]
- **Resolved Threads (Skipped)**: [count]
- **Unresolved Threads Processed**: [count]
- **Issues Fixed Automatically**: [count]
- **Issues Requiring Discussion**: [count]
- **Overall Status**: [All issues resolved / Partial / Awaiting user input]
## Additional Observations
[Any other observations about the PR quality, architecture, or patterns used]
gh CLI authenticationisResolved field to skip resolved threads/review-pr https://github.com/owner/repo/pull/123
The command will fetch all review threads on PR #123, filter to only unresolved threads (isResolved: false), verify which issues still exist in current code, and provide fixes based on the appropriate coding guidelines.