@janrito/skill-rbtr-review-github-pr

pi skill — post GitHub PR reviews via gh and GraphQL

Packages

Package details

skill

Install @janrito/skill-rbtr-review-github-pr from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@janrito/skill-rbtr-review-github-pr
Package
@janrito/skill-rbtr-review-github-pr
Version
2026.9.0
Published
Sep 20, 2026
Downloads
479/mo · 9/wk
Author
gtti
License
MIT
Types
skill
Size
19 KB
Dependencies
0 dependencies · 0 peers
Pi manifest JSON
{
  "skills": [
    "./SKILL.md"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

review-github-pr

A pi skill that drives GitHub pull request reviews through gh api graphql. It gives the agent the mechanics of reviewing: reading a PR and its existing threads, opening a pending review, posting inline comments and suggestions, replying to and resolving threads, and submitting or discarding the review.

Install

pi install npm:@janrito/skill-rbtr-review-github-pr

Requires the GitHub CLI (authenticated) and jq.

What it contains

SKILL.md is the instruction set the agent reads. Beside it, queries/ holds every GraphQL document the skill uses — one file per operation, from fetch_pr.graphql through submit_review.graphql. The agent reads a query file and passes it to gh api graphql rather than writing GraphQL from memory, so the wire format is always a file that exists in the package.

Those files are checked against GitHub's published schema in CI (just validate-graphql), which is what stops a drifted field name from reaching a review. references/graphql-api.md covers the parts of the API the skill leans on.

Licence

MIT. Part of rbtr; issues and source live there.