with one click
review-pr
Perform a review on a GitHub PR, leaving comments on the PR
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Perform a review on a GitHub PR, leaving comments on the PR
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Update/bump the libdatadog native library version in dd-trace-dotnet. Use when the user asks to bump, update, or upgrade libdatadog, or mentions a new libdatadog release version.
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 traces/logs to verify instrumentation behavior. Use this skill whenever the user is working on Azure Functions instrumentation: building or testing the Datadog.AzureFunctions NuGet package, deploying to a test Function App, analyzing instrumentation logs or spans from an Azure Functions app, or configuring Datadog environment variables on Azure — even if they don't explicitly invoke /azure-functions.
Analyze Azure DevOps CI build failures in dd-trace-dotnet pipeline. This skill should be used when the user mentions a failing CI build, PR checks failing, Azure DevOps pipeline failures, test failures in CI, or when they share a build ID or PR number and want to understand what went wrong. Analyzes build failures, categorizes them (infrastructure/flaky/real), and provides actionable recommendations.
Error Stack Trace Analysis for dd-trace-dotnet
Stack Trace Crash Analysis for dd-trace-dotnet
| name | review-pr |
| description | Perform a review on a GitHub PR, leaving comments on the PR |
| argument-hint | <pr-number-or-url> |
| disable-model-invocation | true |
| allowed-tools | Bash(gh pr view:*), Bash(gh pr diff:*), Bash(gh pr comment:*), Bash(gh --version), Bash(gh auth status) |
| context | fork |
| agent | general-purpose |
You 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 call