Skip to content

feat(skills): Add gh-pr-review skill for structured GitHub PR reviews#13051

Merged
GeorgeDong32 merged 2 commits intomainfrom
claude/review-cherry-studio-pr-ianSZ
Feb 25, 2026
Merged

feat(skills): Add gh-pr-review skill for structured GitHub PR reviews#13051
GeorgeDong32 merged 2 commits intomainfrom
claude/review-cherry-studio-pr-ianSZ

Conversation

@DeJeune
Copy link
Copy Markdown
Collaborator

@DeJeune DeJeune commented Feb 25, 2026

What this PR does

Before this PR:

No built-in skill for conducting structured PR reviews with inline comments.

After this PR:

Users can invoke the gh-pr-review skill to review pull requests with inline comments, severity categorization, and comprehensive review summaries.

Why we need it and why it was done in this way

The skill provides a comprehensive workflow for code review automation:

  1. PR Context Gathering: Retrieves PR metadata, diffs, and file changes to understand the scope
  2. Structured Analysis: Guides reviewers to check for correctness, security, performance, error handling, and test coverage
  3. Inline Comments: Supports precise line-number targeting (including multi-line ranges) with severity labels and actionable suggestions
  4. Review Lifecycle: Manages pending reviews with preview and submission steps to ensure quality
  5. Thread Management: Includes utilities for replying to, resolving, and editing review threads

The implementation follows GitHub's pending review API patterns via the gh-pr-review CLI extension. The skill is registered in both .agents/skills/ and .claude/skills/ directories and added to the public skills registry.

Breaking changes

None.

Special notes for your reviewer

  • The skill documentation includes detailed line number rules and validation guidance to prevent silent failures
  • The workflow emphasizes user confirmation before submitting reviews (unless explicitly waived)
  • All inline comments must fall within valid diff hunk ranges; the documentation provides commands to verify these ranges
  • The skill respects repository conventions and includes guidance to check for CLAUDE.md or equivalent style guides

Checklist

  • PR: The PR description explains the skill's purpose and workflow
  • Code: Skill documentation is clear and includes practical examples with all required parameters
  • Documentation: Comprehensive skill guide with prerequisites, step-by-step workflow, and constraint documentation
  • Upgrade: No upgrade impact — new additive skill only

Release note

Added `gh-pr-review` skill for conducting structured GitHub pull request reviews with inline comments, severity categorization, and comprehensive review summaries.

https://claude.ai/code/session_01GfgbQJzkXNmaJbDByWK1aK

Add a new public skill that leverages the gh-pr-review CLI extension
to manage the full PR review lifecycle — start pending reviews, add
inline comments at valid diff hunk lines, preview, and submit with
APPROVE/COMMENT/REQUEST_CHANGES events.

Also removes the now-redundant PR-13030-REVIEW.md file.

https://claude.ai/code/session_01GfgbQJzkXNmaJbDByWK1aK
@DeJeune DeJeune changed the title Add gh-pr-review skill for structured GitHub PR reviews feat(skills): Add gh-pr-review skill for structured GitHub PR reviews Feb 25, 2026
Copy link
Copy Markdown
Collaborator

@GeorgeDong32 GeorgeDong32 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review Summary

Overall Assessment: Approved

This PR introduces a well-designed skill for conducting structured GitHub PR reviews. The implementation is thorough and follows project conventions.

Positives

  • Comprehensive 8-step workflow covering the entire review lifecycle
  • Clear documentation with practical examples and command templates
  • Proper handling of inline comments with line number validation guidance
  • Good constraint documentation to prevent common errors
  • Correctly registered in both .agents/skills/ and .claude/skills/ directories

Files Reviewed

    • Main skill documentation
    • Agent configuration
    • Skills registry
    • Claude Code skill registration
  • files - Proper gitignore entries

Recommendation: Merge - The skill is ready for use.

@@ -0,0 +1,179 @@
---
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quality: Excellent documentation structure with clear 8-step workflow. The skill covers the complete PR review lifecycle comprehensively.

@GeorgeDong32 GeorgeDong32 merged commit 31d2b4d into main Feb 25, 2026
29 of 30 checks passed
@GeorgeDong32 GeorgeDong32 deleted the claude/review-cherry-studio-pr-ianSZ branch February 25, 2026 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants