AI SummaryAutomates GitHub pull request analysis by gathering diffs, comments, related issues, and local code context to provide comprehensive reviews. Developers and code reviewers benefit from faster, more thorough PR evaluations.
Install
# Add to your project root as SKILL.md curl -o SKILL.md "https://raw.githubusercontent.com/dlt-hub/dlt/devel/.claude/skills/review-pr/SKILL.md"
Description
Analyze a GitHub pull request including diff, comments, related issues, and local code context
Review Pull Request
Parse $ARGUMENTS to extract the PR identifier and optional reviewer instructions: • Everything before the first -- (or all of it, if there is no --) is the PR identifier (URL or number). Referred to as PR_ID below. • Everything after the first -- is reviewer instructions — additional focus areas or context from the caller. If absent, there are no special instructions. Analyze the pull request: PR_ID
Steps
Run the following steps. Gather data in parallel where possible.
1. Set up worktree
Resolve the PR number: ` gh pr view PR_ID --json number ` Use the number to form the worktree name review-pr-<number>. Invoke the /create-worktree review-pr-<number> --pr <number> skill to create an isolated worktree for this PR. Note the worktree path from the skill output — referred to as WORKTREE below. Verify that the cwd is now inside the worktree: ` pwd ` If pwd does not show WORKTREE, run cd WORKTREE and verify again. Stop with an error if the cwd cannot be set. Once confirmed, subsequent Bash calls will run inside the worktree automatically.
2. Fetch PR metadata and diff
Use gh to collect all PR information in parallel: • gh pr view PR_ID --json title,body,author,state,baseRefName,headRefName,number,url,comments,reviews,labels,milestone • gh pr diff PR_ID
Quality Score
Good
84/100
Trust & Transparency
Open Source — Apache-2.0
Source code publicly auditable
Verified Open Source
Hosted on GitHub — publicly auditable
Actively Maintained
Last commit Today
5.0k stars — Strong Community
464 forks