github-pr-review SKILL.md skillA
github-pr-review from openhands/extensions is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add openhands/extensions/github-pr-review@git:20260925.77b5355Pins git:20260925.77b5355 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- openhands/extensions
- Path
skills/github-pr-review/SKILL.md- Versions recorded
- 6
- Latest version
- git:20260925.77b5355, committed Sep 25, 2026
- First version recorded
- Mar 5, 2026
- Size
- 9,137 bytes
- Repository stars
- 179
- License
- MIT
Post PR review comments using the GitHub API with inline comments, suggestions, and priority labels.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# GitHub PR Review
Post structured code review feedback using the GitHub API with inline comments on specific lines.
Windows PowerShell equivalents for JSON file creation, temp paths, line lookup, and fallback `curl` are in `references/windows.md`.
## Key Rule: One API Call
Bundle ALL comments into a **single review API call**. Do not post comments individually.
## Posting a Review
Use the GitHub CLI (`gh`) with a JSON input file. The `GITHUB_TOKEN` is automatically available.
**Important**: Always use `--input` with a JSON file instead of `-F` flags. This avoids shell quoting issues with special characters in comment bodies (quotes, backticks, newlines, etc.) and eliminates the need for complex heredoc scripts.
### Step 1: Create a JSON file
```bash
cat > /tmp/review.json << 'EOF'
{
"commit_id": "{commit_sha}",
"event": "COMMENT",
"body": "Brief 1-3 sentence summary.",
"comments": [
{
"path": "path/to/file.py",
"line": 42,
"side": "RIGHT",
"body": "🟠 Important: Your comment here."
},
{
"path": "another/file.js",
"line": 15,
"side": "RIGHT",
"body": "🟡 Suggestion: Another comment."
}
]
}
EOF
```
…Read the whole file at its exact version.
How to install
mdr add openhands/extensions/github-pr-review@sha256:8b1c2f74dede90bbThe line at the top of this page pins the label git:20260925.77b5355, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_h6vy66dqbzbhur2i)
7 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 6 versions of this file, between Mar 5, 2026 and Sep 25, 2026, about one every 41 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260925.77b5355 latest | 2026-09-25 | 77b5355 | 9,137 B | A | view · diff |
| git:20260701.599cc4d | 2026-07-01 | 599cc4d | 8,614 B | A | view · diff |
| git:20260606.0057d01 | 2026-06-06 | 0057d01 | 8,482 B | A | view · diff |
| git:20260423.e732290 | 2026-04-23 | e732290 | 4,540 B | A | view · diff |
| git:20260317.2fb00d7 | 2026-03-17 | 2fb00d7 | 4,454 B | A | view · diff |
| git:20260305.444a4c3 | 2026-03-05 | 444a4c3 | 4,312 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (9137 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
openhands/extensions · 179 stars · license MIT · pushed 2026-11-08 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_h6vy66dqbzbhur2i GET https://markdownregistry.com/api/v1/resolve?ref=openhands/extensions/github-pr-review GET https://markdownregistry.com/api/v1/blob/8b1c2f74dede90bbb7a524b66e991f9eb8ab3068b349ad343ca986668567652c
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from openhands/extensions
Every file in openhands/extensions