Agent skill
aget-review-pr
Review pull requests for quality and standards
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/aget-review-pr
SKILL.md
aget-review-pr
Review pull requests for code quality, test coverage, and standards compliance. Produces structured review with categorized comments.
Instructions
When this skill is invoked:
-
Gather PR Information
bashgh pr view [number] --json title,body,files,additions,deletions gh pr diff [number] -
Analyze Changes
- Code correctness
- Test coverage for changed code
- Standards compliance
- Potential issues
-
Categorize Findings
- Blocking: Must fix before merge
- Suggestion: Should consider
- Nitpick: Minor observation
- Praise: Positive feedback
-
Form Recommendation
- Approve: No blocking issues
- Request Changes: Has blocking issues
- Comment: Questions or suggestions only
Output Format
## PR Review: #[number] - [title]
### Summary
| Metric | Value |
|--------|-------|
| Files Changed | [N] |
| Additions | +[N] |
| Deletions | -[N] |
| Tests Added | [Y/N] |
### Overall Assessment
**Recommendation**: [Approve / Request Changes / Comment]
**Rationale**: [Brief explanation]
---
### Comments
#### Blocking Issues
1. **[file:line]**: [Issue description]
- Suggestion: [How to fix]
#### Suggestions
1. **[file:line]**: [Suggestion]
- Rationale: [Why consider this]
#### Nitpicks
1. **[file:line]**: [Minor observation]
#### Positive Observations
1. **[file:line]**: [What was done well]
---
### Test Coverage
- [ ] New code has tests
- [ ] Edge cases covered
- [ ] Integration tests updated (if applicable)
### Standards Check
- [ ] Naming conventions followed
- [ ] Documentation updated
- [ ] No hardcoded values
Constraints
- C1: NEVER approve PRs with blocking issues — blocking issues must be resolved
- C2: NEVER submit review without user confirmation — user controls GitHub interaction
- C3: NEVER focus solely on style issues — correctness and design more important than formatting
Related
- SKILL-024: aget-review-pr specification
- ONTOLOGY_developer.yaml: Pull_Request, Code_Review concepts
- CAP-DEV-003: PR Review capability
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?