LogoSkills

PR Code Review Auto-Processing

Automatically reviews and applies AI code reviews (Claude, Gemini) posted on PRs.

Automatically reviews and applies AI code reviews (Claude, Gemini) posted on PRs.

Usage#

/pr-review-processor [PR_number]

Workflow#

1. Collect Reviews#

gh api repos/{owner}/{repo}/pulls/{pr_number}/comments

2. Analyze Reviews#

For each review comment:

  • Valid review: Code quality, UX, performance, security improvement suggestions
  • Invalid review: Suggestions conflicting with project conventions

3. Take Action#

  • Valid review → modify code and commit
  • Invalid review → add rule to CLAUDE.md (prevent in future)

4. Complete#

  • Push changes
  • Summarize processing results

Reviewer Identification#

ReviewerIdentifier
Geminigemini-code-assist[bot]
Claudeclaude[bot]
Copilotgithub-copilot[bot]

Priorities#

Review priority icons:

  • 🔴 critical - Immediate fix required
  • 🟠 high - High priority
  • 🟡 medium - Medium priority
  • 🟢 low - Low priority

Auto-Reject Conditions#

Reviews are ignored and CLAUDE.md rule added in these cases:

  • Conflicts with project lint rules
  • Inconsistent with existing architecture patterns
  • Suggestion that would cause performance degradation