Official agent skill

Review PR

by DataDog in DataDog/dd-trace-dotnet

Perform a review on a GitHub PR, leaving comments on the PR. An agent skill from DataDog/dd-trace-dotnet.

OfficialApache-2.0Auto-check passedDevelopment

Install Review PR

skills CLI
$ npx skills add DataDog/dd-trace-dotnet --skill review-pr -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install DataDog/dd-trace-dotnet review-pr --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/DataDog/dd-trace-dotnet.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/review-pr .claude/skills/review-pr && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
review-pr
GitHub stars
573
Token cost
~788 tokens
SKILL.md length
416 words
Files
1
Skills in repo
6
Repo updated
First seen
Licence
Apache-2.0

At a glance

Perform a review on a GitHub PR, leaving comments on the PR. An agent skill from DataDog/dd-trace-dotnet.

  • Works in 2 steps: Ensure the gh CLI tool is installed. → Verify the gh tool is authenticated by…
  • Tasks that involve Pull requests
  • Calls gh

What it does

Review PR is an agent skill from DataDog/dd-trace-dotnet, published by the product's own GitHub organization. Perform a review on a GitHub PR, leaving comments on the PR

Its SKILL.md is about 790 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Pull requests. It works with GitHub, Datadog and .NET. The repository describes itself as: .NET Client Library for Datadog APM. The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Pull requests

Example prompts

  • “/review-pr”

Requirements

  • Pre-approved tools (allowed-tools): Bash(gh pr view:*), Bash(gh pr diff:*), Bash(gh pr comment:*), Bash(gh --version), Bash(gh auth status)

Workflow steps

2 steps, taken from the first numbered list in SKILL.md.

  1. Ensure the gh CLI tool is installed.
  2. Verify the gh tool is authenticated by running gh auth status and confirming the user is logged in

What it can do on your machine

Read from SKILL.md and the folder at commit 512b980. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash(gh pr view:*)
    • Bash(gh pr diff:*)
    • Bash(gh pr comment:*)
    • Bash(gh --version)
    • Bash(gh auth status)

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • gh

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • cli.github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Review PR loads about 788 tokens when it runs. Until then it costs about 17 tokens; SKILL.md has 416 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~17
When it runs · the whole SKILL.md, loaded when a task matches
~788

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from DataDog/dd-trace-dotnet at commit 512b980, republished under its Apache-2.0 licence (© DataDog). 416 words, ~788 tokens.

Download SKILL.mdSave it as .claude/skills/review-pr/SKILL.md (or your agent's skills folder).
name
review-pr
description
Perform a review on a GitHub PR, leaving comments on the PR
allowed-tools
Bash(gh pr view:*), Bash(gh pr diff:*), Bash(gh pr comment:*), Bash(gh --version), Bash(gh auth status)
argument-hint
<pr-number-or-url>
disable-model-invocation
true
context
fork
agent
general-purpose

Review GitHub PR

You are an expert code reviewer. Review this PR and post your findings to GitHub: $ARGUMENTS

Prerequisites:

  1. Ensure the gh CLI tool is installed.
    • If not, prompt the user to install it by printing "GitHub CLI is required, please install it from https://cli.github.com/" and then stop any further processing or commands.
    • Don't attempt to install the CLI tool yourself
  2. Verify the gh tool is authenticated by running gh auth status and confirming the user is logged in
    • If the user is not logged in, ask them to login in a separate window by running gh auth login.
    • Wait for the user to confirm they are logged in, and retry

To perform the review, follow these steps:

  1. 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

  2. Run gh pr view <number> --repo {owner}/{repo} --json title,body,headRefOid,author,files to get PR details

  3. Run gh pr diff <number> --repo {owner}/{repo} to get the full diff

  4. Analyze the changes thoroughly, identifying:

    • Specific issues with file paths and line numbers
    • Potential bugs or risks
    • Code quality concerns
    • Performance implications
    • Security considerations
  5. Post your review to GitHub in TWO parts:

    Part A: Inline File Comments

    • For each specific issue you found, create a GitHub API call
    • Use the format: 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>"
      • The commit_sha should be the head commit SHA from the PR (use headRefOid from the PR details JSON)
    • Each comment should:
      • Reference the specific file and line number
      • Explain the issue clearly
      • Provide a concrete suggestion or fix
      • Be constructive and actionable
    • Add suffix to each: "🤖 Claude Code"

    Part B: Brief Summary Comment

    • Use gh pr comment <number> --repo {owner}/{repo} --body "..." to post a brief summary (1-2 paragraphs max)
    • Include: overall assessment, key findings. Don't provide a recommendation on approve/request changes/comment.
    • Add suffix: "Review by 🤖 Claude Code"
Show full SKILL.md (73 more words)Show less

IMPORTANT:

  • Focus on specific, actionable issues - not general praise
  • Every issue must have a file path and line number
  • Use the line number from the new version of the file (i.e., the line number you'd see if you opened the file after the PR is merged), which corresponds to the line parameter in the GitHub API.
  • Post inline comments using the gh api call
  • Keep the summary brief; put details in inline comments

© DataDog, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/review-pr of DataDog/dd-trace-dotnet.

Open the folder on GitHubat commit 512b980

Compare with similar skills

Review PR next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Review PR compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Review PR this skillDataDog/dd-trace-dotnet573—~788Automated safety check: PassApache-2.0
MAUI PR Performance Analysisdotnet/maui23k—~2.4kAutomated safety check: PassMIT
Code Reviewjonathanpeppers/dotnes780—~2.1kAutomated safety check: PassMIT
Gh Stackdotnet/macios2.9k3 repos~10kAutomated safety check: PassCustom licence
Find Reviewable MAUI PRsdotnet/maui23k—~1.7kAutomated safety check: PassMIT
.NET MAUI Code Reviewdotnet/efcore15k—~2kAutomated safety check: PassMIT

Similar skills

  • Official

    Interprets pinned managed benchmark evidence for a dotnet/maui pull request and writes a narrative for the performance review workflow, without running or publishing anything.

    23k GitHub stars~2.4k tokensUpdated today
    DevelopmentAuto-check passed
  • Code Review

    jonathanpeppers/dotnes

    Review dotnes pull requests against established repository rules.

    780 GitHub stars~2.1k tokensUpdated 15 days ago
    DevelopmentAuto-check passed
  • Gh Stack

    dotnet/macios

    Official

    Manage stacked branches and pull requests with the gh-stack GitHub CLI extension.

    2.9k GitHub starsUsed in 3 repos~10k tokens
    DevelopmentAuto-check passed
  • Official

    Lists open pull requests in dotnet/maui and dotnet/docs-maui that are worth reviewing next, ranked by priority labels, milestone and partner or community origin.

    23k GitHub stars~1.7k tokensUpdated today
    DevelopmentAuto-check passed
  • Official

    Deep code-only review of a pull request or candidate patch for correctness, safety and .NET MAUI conventions, judging the code before reading the PR description.

    15k GitHub stars~2k tokensUpdated today
    DevelopmentAuto-check passed
  • Code Review

    OpenCoreMMO/OpenCoreMMO

    Review pull requests and code changes for OpenCoreMMO against the project's architecture, conventions, and style defined in AGENTS.md.

    481 GitHub stars~3.9k tokensUpdated 15 days ago
    DevelopmentAuto-check passed

More from DataDog/dd-trace-dotnet

  • Bump Libdatadog

    DataDog/dd-trace-dotnet

    Official

    Update/bump the libdatadog native library version in dd-trace-dotnet.

    573 GitHub stars~1.7k tokensUpdated today
    Auto-check passed
  • Analyze Azdo Build

    DataDog/dd-trace-dotnet

    Official

    Analyze Azure DevOps CI build failures in dd-trace-dotnet pipeline.

    573 GitHub stars~3.5k tokensUpdated today
    Auto-check passed
  • Azure Functions

    DataDog/dd-trace-dotnet

    Official

    Dev/test workflow for tracer engineers working on the Datadog .NET tracer — build a local Datadog.AzureFunctions NuGet package, deploy it to a test Azure Function App, trigger it, and analyze…

    573 GitHub stars~4.7k tokensUpdated today
    Auto-check passed
  • Analyze Error

    DataDog/dd-trace-dotnet

    Official

    Error Stack Trace Analysis for dd-trace-dotnet. An agent skill from DataDog/dd-trace-dotnet.

    573 GitHub stars~634 tokensUpdated today
    Auto-check passed
  • Analyze Crash

    DataDog/dd-trace-dotnet

    Official

    Stack Trace Crash Analysis for dd-trace-dotnet. An agent skill from DataDog/dd-trace-dotnet.

    573 GitHub stars~2.6k tokensUpdated today
    Auto-check: warnings

Categories

Questions about Review PR

What does Review PR do?

Perform a review on a GitHub PR, leaving comments on the PR. An agent skill from DataDog/dd-trace-dotnet. Review PR is an agent skill from DataDog/dd-trace-dotnet, published by the product's own GitHub organization.

When should I use Review PR?

Review PR fits situations like: tasks that involve Pull requests.

How do I install Review PR in Claude Code?

Run `npx skills add DataDog/dd-trace-dotnet --skill review-pr -a claude-code`. Or copy the skill folder (.claude/skills/review-pr in DataDog/dd-trace-dotnet) into .claude/skills/review-pr in your project. Claude Code loads it when a task matches its description.

How do I install Review PR in Codex?

Run `npx skills add DataDog/dd-trace-dotnet --skill review-pr -a codex`. Or copy the skill folder (.claude/skills/review-pr in DataDog/dd-trace-dotnet) into .agents/skills/review-pr in your project. Codex loads it when a task matches its description.

Can I use Review PR in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add DataDog/dd-trace-dotnet --skill review-pr -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/review-pr, .gemini/skills/review-pr, .github/skills/review-pr and .opencode/skills/review-pr in your project.

What does Review PR need to run?

Going by SKILL.md and its folder, Review PR needs the command-line tools its instructions call (gh). Its frontmatter pre-approves these tools: Bash(gh pr view:*), Bash(gh pr diff:*), Bash(gh pr comment:*), Bash(gh --version), Bash(gh auth status).

Does Review PR access the network?

SKILL.md names 1 domain. As links in the text: cli.github.com. This is read from the text; nothing was executed.

Is Review PR safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Review PR use?

Review PR is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Review PR use?

About 788 tokens (SKILL.md is roughly 3.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Review PR?

Skills that share tags, products or a category with Review PR: MAUI PR Performance Analysis (dotnet/maui, 23k stars), Code Review (jonathanpeppers/dotnes, 780 stars), Gh Stack (dotnet/macios, 2.9k stars) and Find Reviewable MAUI PRs (dotnet/maui, 23k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Review PR?

DataDog (a GitHub organization, an official publisher) maintains it in DataDog/dd-trace-dotnet, which has 573 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on October 8, 2026.

Source: DataDog/dd-trace-dotnet on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.