PR Triage
rtk-ai/rtk
Audits a repository's open pull requests, deep-reviews chosen ones and drafts review comments that are only posted after you approve them.
Runs the triage step of the review-framework loop: reads fetched PR review state, builds `review-actions.json`, validates it and renders `review-actions.md`.
$ npx skills add prisma/orm --skill review-triage-phase -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install prisma/orm review-triage-phase --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/prisma/orm.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills-contrib/review-triage-phase .claude/skills/review-triage-phase && rm -rf skills-srcUse ~/.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/
Install the "review-triage-phase" agent skill from https://github.com/prisma/orm/tree/main/skills-contrib/review-triage-phase into .claude/skills/review-triage-phase/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "review-triage-phase", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/prisma/orm/tree/main/skills-contrib/review-triage-phaseType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add prisma/orm --skill review-triage-phase -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install prisma/orm review-triage-phase --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/prisma/orm.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills-contrib/review-triage-phase .agents/skills/review-triage-phase && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "review-triage-phase" agent skill from https://github.com/prisma/orm/tree/main/skills-contrib/review-triage-phase into .agents/skills/review-triage-phase/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "review-triage-phase", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add prisma/orm --skill review-triage-phase -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install prisma/orm review-triage-phase --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/prisma/orm.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills-contrib/review-triage-phase .cursor/skills/review-triage-phase && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "review-triage-phase" agent skill from https://github.com/prisma/orm/tree/main/skills-contrib/review-triage-phase into .cursor/skills/review-triage-phase/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "review-triage-phase", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/prisma/orm.git --path skills-contrib/review-triage-phase--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add prisma/orm --skill review-triage-phase -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install prisma/orm review-triage-phase --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/prisma/orm.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills-contrib/review-triage-phase .gemini/skills/review-triage-phase && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "review-triage-phase" agent skill from https://github.com/prisma/orm/tree/main/skills-contrib/review-triage-phase into .gemini/skills/review-triage-phase/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "review-triage-phase", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install prisma/orm review-triage-phaseInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add prisma/orm --skill review-triage-phase -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/prisma/orm.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills-contrib/review-triage-phase .github/skills/review-triage-phase && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "review-triage-phase" agent skill from https://github.com/prisma/orm/tree/main/skills-contrib/review-triage-phase into .github/skills/review-triage-phase/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "review-triage-phase", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add prisma/orm --skill review-triage-phase -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install prisma/orm review-triage-phase --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/prisma/orm.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills-contrib/review-triage-phase .opencode/skills/review-triage-phase && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "review-triage-phase" agent skill from https://github.com/prisma/orm/tree/main/skills-contrib/review-triage-phase into .opencode/skills/review-triage-phase/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "review-triage-phase", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
review-triage-phaseRuns the triage step of the review-framework loop: reads fetched PR review state, builds `review-actions.json`, validates it and renders `review-actions.md`.
You give it a PR URL and optionally an output directory, which otherwise defaults to a folder under `wip/reviews` named after the owner, repo and PR number. It expects `review-state.json` from the earlier fetch phase and points you to `/review-fetch-phase` when that file is missing. It first checks that review artifacts stay untracked, in either a git checkout or a Jujutsu workspace, then scaffolds `review-actions.json` with `scripts/bootstrap-review-actions.mjs` from the thread and review-body targets.
Triage itself is delegated to `agents/review-triager.md`, whose output must be valid v2 JSON, use node IDs only, keep actions in order, give every deferred action a Linear issue identifier and keep replies on review threads actionable as thread replies. Bundled reviews, such as a bot's combined nitpicks and outside-diff comments, must be split into separate items and never dismissed wholesale. Further scripts validate and render the actions file as markdown.
8 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 19bbe0e. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 5 files in scripts/ (JavaScript), which the agent can run.
Shell commands in SKILL.md call:
nodeFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Review Triage Phase loads about 995 tokens when it runs. Until then it costs about 49 tokens; SKILL.md has 385 words of instructions outside code blocks.
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.
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); the scripts in this folder are not scanned.
The full file from prisma/orm at commit 19bbe0e, republished under its Apache-2.0 licence (© prisma). 385 words, ~995 tokens.
.claude/skills/review-triage-phase/SKILL.md (or your agent's skills folder). This skill also uses 7 other files; get the full folder from GitHub.Run only the triage phase of the review-framework loop:
read current review state artifacts, bootstrap canonical review-actions.json, update triage fields, validate, then render review-actions.md.
Run commands from this skill directory. All script paths below are relative to it.
If output directory is omitted, derive:
wip/reviews/<owner>_<repo>_pr-<number>/
Expected inputs in output dir:
<output-dir>/review-state.json<output-dir>/review-targets.json (optional)<output-dir>/review-state.md (optional)<output-dir>/summary.txt (optional)If review-state.json is missing, instruct user to run:
/review-fetch-phase <PR_URL> [output-dir]Note:
review-actions.json scaffolding is generated from review-state.targets, taking the thread and review-body targets. Issue-comment targets are captured in review-state.json but get no scaffolded action.pull_request_review target may contain multiple distinct findings (e.g., CodeRabbit bundles "outside diff range" comments, actionable comments, and nitpicks into one review body). The triager must decompose these into individual action items during triage — never blanket-dismiss a review body without reading its content.<output-dir>/review-state.json<output-dir>/review-actions.json<output-dir>/review-actions.mdwip/ tree:node ../review-fetch-phase/scripts/guard-review-artifacts-ignored.mjs --dir <output-dir>node ./scripts/bootstrap-review-actions.mjs --in <output-dir>/review-state.json --out <output-dir>/review-actions.json./agents/review-triager.mdreview-actions.json is valid v2defer action includes a Linear issue identifierreview_thread targets must remain actionable via thread replies (not PR reviews)linearIssue)node ./scripts/validate-review-actions.mjs --in <output-dir>/review-actions.json --require-finalnode ./scripts/render-review-actions.mjs --in <output-dir>/review-actions.json --out <output-dir>/review-actions.mdreview-actions.json is canonical and must be schema version 2.triage_pending decisions.defer decisions require Linear tracking (linearIssue) and a thread reply with that link.Return artifact paths:
review-actions.jsonreview-actions.mdSuggest next step:
/review-implement-phase <PR_URL> [output-dir]© prisma, 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
SKILL.md and 7 other files (scripts) in skills-contrib/review-triage-phase of prisma/orm.
Open the folder on GitHubat commit 19bbe0e
Review Triage Phase 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Review Triage Phase this skillprisma/orm | 48k | — | ~995 | Automated safety check: Pass | Apache-2.0 | |
| PR Triagertk-ai/rtk | 83k | — | ~2.5k | Automated safety check: Notes | Apache-2.0 | |
| Adopt PR Branch Contextpydantic/pydantic-ai-harness | 952 | — | ~1.8k | Automated safety check: Pass | MIT | |
| Open Code Review CLIalibaba/open-code-review | 45k | — | ~3.1k | Automated safety check: Pass | Apache-2.0 | |
| Understand Diff AnalysisEgonex-AI/Understand-Anything | 86k | — | ~1.4k | Automated safety check: Pass | MIT | |
| Code Reviewflutter/flutter | 179k | — | ~1.4k | Automated safety check: Pass | BSD-3-Clause |
rtk-ai/rtk
Audits a repository's open pull requests, deep-reviews chosen ones and drafts review comments that are only posted after you approve them.
pydantic/pydantic-ai-harness
Fills in issue-brief.md and pr-decisions.md for an existing pull request, so you can pick up a PR mid-flight with its linked issue and past review decisions summarized.
alibaba/open-code-review
Runs the ocr command-line tool to review Git changes, a commit or a branch comparison with an AI model, returning line-level comments and optionally applying fixes.
Egonex-AI/Understand-Anything
Reads your git changes or a pull request against a prebuilt knowledge graph of the project to explain what changed, which components are affected and what is risky.
flutter/flutter
Performs a comprehensive, multi-step code review of pull requests or local code changes, using iterative refinement (generation, critique, synthesis) to ensure high-quality, actionable feedback.
tirth8205/code-review-graph
Reviews a pull request or branch diff with a code knowledge graph and produces a structured review that includes blast-radius analysis.
prisma/orm
Runs a loop on a GitHub pull request: fetch review state, triage comments into actions, implement them and resolve threads, repeating until nothing actionable is left.
prisma/orm
Fetches a pull request's canonical review state as JSON, validates it, and renders markdown, a text summary and triage target files from it using bundled scripts.
prisma/orm
Implements triaged pull request review actions, commits focused fixes, posts status replies on GitHub and resolves the threads.
prisma/orm
Replaces a plain TypeScript union plus switch statements with frozen subclasses and a visitor interface when several places dispatch on the same variants.
prisma/orm
Guides an outside contributor through opening a prisma/orm pull request from a fork that follows CONTRIBUTING.md and passes review on the first round.
prisma/orm
Creates a GitHub pull request for the Prisma repo with a Linear-ticket-prefixed title and a decision-led narrative description, inferring the ticket from context.
Categories
Runs the triage step of the review-framework loop: reads fetched PR review state, builds `review-actions.json`, validates it and renders `review-actions.md`. You give it a PR URL and optionally an output directory, which otherwise defaults to a folder under `wip/reviews` named after the owner, repo and PR number.json` from the earlier fetch phase and points you to `/review-fetch-phase` when that file is missing.
Review Triage Phase fits situations like: turning fetched PR review comments into an ordered list of actions; splitting a bundled bot review into individual action items; planning which review comments to fix now and which to defer to Linear.
Run `npx skills add prisma/orm --skill review-triage-phase -a claude-code`. Or copy the skill folder (skills-contrib/review-triage-phase in prisma/orm) into .claude/skills/review-triage-phase in your project. Claude Code loads it when a task matches its description.
Run `npx skills add prisma/orm --skill review-triage-phase -a codex`. Or copy the skill folder (skills-contrib/review-triage-phase in prisma/orm) into .agents/skills/review-triage-phase in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add prisma/orm --skill review-triage-phase -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-triage-phase, .gemini/skills/review-triage-phase, .github/skills/review-triage-phase and .opencode/skills/review-triage-phase in your project.
Going by SKILL.md and its folder, Review Triage Phase needs JavaScript for the scripts in its folder and the command-line tools its instructions call (node). Our summary lists: Node to run the bundled `.mjs` scripts; Output of the review fetch phase (`review-state.json`); A Linear workspace for tracking deferred actions.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Review Triage Phase 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.
About 995 tokens (SKILL.md is roughly 4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Review Triage Phase: PR Triage (rtk-ai/rtk, 83k stars), Adopt PR Branch Context (pydantic/pydantic-ai-harness, 952 stars), Open Code Review CLI (alibaba/open-code-review, 45k stars) and Understand Diff Analysis (Egonex-AI/Understand-Anything, 86k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
prisma (a GitHub organization, an official publisher) maintains it in prisma/orm, which has 47,696 GitHub stars. The repository holds 20 skills in this directory. The repository was last updated on October 9, 2026.
Source: prisma/orm on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.