Perform a review on a GitHub PR, leaving comments on the PR
48
52%
Does it follow best practices?
Impact
—
No eval scenarios have been run
Advisory
Suggest reviewing before use
Optimize this skill with Tessl
npx tessl skill review --optimize ./.claude/skills/review-pr/SKILL.mdYou are an expert code reviewer. Review this PR and post your findings to GitHub: $ARGUMENTS
Prerequisites:
gh CLI tool is installed.
gh tool is authenticated by running gh auth status and confirming the user is logged in
gh auth login.To perform the review, follow these steps:
If $1 is a number use that as the PR number and assume owner=DataDog, and repo=dd-trace-dotnet. Otherwise, verify $1 is a github URL for this repo (it starts https://github.com/DataDog/dd-trace-dotnet), and extract the PR number
Run gh pr view <number> --repo {owner}/{repo} --json title,body,headRefOid,author,files to get PR details
Run gh pr diff <number> --repo {owner}/{repo} to get the full diff
Analyze the changes thoroughly, identifying:
Post your review to GitHub in TWO parts:
Part A: Inline File Comments
gh api -X POST -H "Accept: application/vnd.github+json" "repos/{owner}/{repo}/pulls/{pull_number}/comments" -f body="Your file-level comment" -f path="path/to/file" -F line=<line_number> -f side="RIGHT" -f commit_id="<commit_sha>"
Part B: Brief Summary Comment
gh pr comment <number> --repo {owner}/{repo} --body "..." to post a brief summary (1-2 paragraphs max)IMPORTANT:
gh api call6249bb4
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.