Agent skill

ExecuTorch PR Review

by pytorch in pytorch/executorch

Reviews ExecuTorch pull requests or local branches for what CI cannot check, using a checklist, with an optional detailed line-by-line mode.

Custom licenceAuto-check passedDevelopment

Install ExecuTorch PR Review

skills CLI
$ npx skills add pytorch/executorch --skill pr-review -a claude-code

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

GitHub CLI
$ gh skill install pytorch/executorch pr-review --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/pytorch/executorch.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/pr-review .claude/skills/pr-review && 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
pr-review
GitHub stars
5.1k
Token cost
~2.9k tokens
SKILL.md length
1,325 words
Files
2
Skills in repo
10
Repo updated
First seen
Licence
Custom licence

At a glance

Reviews ExecuTorch pull requests or local branches for what CI cannot check, using a checklist, with an optional detailed line-by-line mode.

  • Works in 4 steps: Understand Context → Deep Review → Consolidate Findings → …
  • Reviewing an ExecuTorch pull request by number or URL
  • SKILL.md covers Usage Modes, Review Philosophy, Review Workflow and Output Format, plus 1 more section
  • Calls git and gh

What it does

The skill reviews pull requests for the ExecuTorch repository, concentrating on issues CI cannot catch and guided by a review-checklist.md file. It has four ways to start: no argument, in which case it asks what to review and does not review anything; a PR number or URL, using the gh CLI to fetch PR data; a local branch compared with main, using git; and a GitHub Actions mode, detected from the formatted context tags injected into the prompt.

A detailed option adds line-by-line comments. In Actions mode the PR metadata, body and comments are already in the prompt, so only git commands are used for the diff and commit log, with no gh calls. For a local branch, the summary comes from the commit messages and the diff, and the branch name replaces the PR number in the review header.

When your agent uses it

  • Reviewing an ExecuTorch pull request by number or URL
  • Reviewing the current local branch before opening a PR
  • Running an automated review from a GitHub Actions comment

Example prompts

  • “Review ExecuTorch PR 12345 and give me line-by-line comments.”
  • “Review my current branch against main before I open a PR.”
  • “Check the changes in https://github.com/pytorch/executorch/pull/12345 for problems CI would miss.”

Requirements

  • The GitHub CLI (gh) for reviews of numbered PRs
  • A checkout of the ExecuTorch repository

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Understand Context
  2. Deep Review
  3. Consolidate Findings
  4. Fact-Check

What it can do on your machine

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

  • Tool permissions

    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.

  • Runs code

    Shell commands in SKILL.md call:

    • git
    • gh

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

  • Network

    No URLs in SKILL.md. Its commands use git and gh, which can reach the network depending on how they are called.

    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

ExecuTorch PR Review loads about 2.9k tokens when it runs. Until then it costs about 51 tokens; SKILL.md has 1,325 words of instructions outside code blocks.

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

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

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 1,325 words (~2,870 tokens).

“Review ExecuTorch pull requests focusing on what CI cannot check, guided by the checklist in review-checklist.md.”

— opening of SKILL.md by pytorch, Custom licence
name
pr-review

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file in .claude/skills/pr-review of pytorch/executorch.

  • SKILL.md
  • review-checklist.md

Open the folder on GitHubat commit 852b1ff

Compare with similar skills

ExecuTorch PR Review 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.

ExecuTorch PR Review compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
ExecuTorch PR Review this skillpytorch/executorch5.1k—~2.9kAutomated safety check: PassCustom licence
PR Review State Fetchprisma/orm48k—~767Automated safety check: PassApache-2.0
Greploop Appsmichaelshimeles/skills1.3k1 repos~3.6kAutomated safety check: PassMIT
PR Triagertk-ai/rtk83k—~2.5kAutomated safety check: NotesApache-2.0
Difit Reviewyoshiko-pg/difit3.2k—~1.2kAutomated safety check: PassMIT
Address PR Feedback for ruby-gitruby-git/ruby-git1.8k—~657Automated safety check: PassMIT

Similar skills

  • Official

    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.

    48k GitHub stars~767 tokensUpdated today
    DevelopmentAuto-check passed
  • Greploop Apps

    michaelshimeles/skills

    Loops on a large pull request, merge request or Perforce changelist, fixing Greptile findings until it scores 5/5 with no unresolved comments.

    1.3k GitHub starsUsed in 1 repo~3.6k tokens
    DevelopmentAuto-check passed
  • 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.

    83k GitHub stars~2.5k tokensUpdated yesterday
    DevelopmentAuto-check: notes
  • Difit Review

    yoshiko-pg/difit

    Review a specific diff (branch, commit, or GitHub PR) and show the findings as comments inside difit, the local diff viewer.

    3.2k GitHub stars~1.2k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Addresses unresolved pull request review threads and suppressed (low-confidence) Copilot review comments on the current branch, folds each fix into the…

    1.8k GitHub stars~657 tokensUpdated 6 days ago
    DevelopmentAuto-check passed
  • Official

    Checks a pull request for lines that undo a recent bug fix by comparing what the PR removes with what labeled bug-fix PRs added to the same files.

    23k GitHub stars~1.1k tokensUpdated today
    DevelopmentAuto-check passed

More from pytorch/executorch

All 10 skills in this repo
  • Measures and shrinks the ExecuTorch runtime binary by building a size test, analyzing it with bloaty and landing each reduction as its own pull request.

    5.1k GitHub stars~793 tokensUpdated today
    Auto-check passed
  • ExecuTorch Build Guide

    pytorch/executorch

    Builds ExecuTorch from source: the Python package, C++ runtime, model runners, Android and iOS cross-compilation and backend-specific builds, with environment checks.

    5.1k GitHub stars~2.3k tokensUpdated today
    Auto-check: notes
  • ExecuTorch Cortex-M Backend

    pytorch/executorch

    Developer guide for the Cortex-M (CMSIS-NN) backend in ExecuTorch: quantization pipeline, pass manager, tests and adding new ops.

    5.1k GitHub stars~872 tokensUpdated today
    Auto-check passed
  • ExecuTorch Knowledge Base

    pytorch/executorch

    Answers ExecuTorch questions from a local wiki on backends, export pitfalls, quantization recipes, runtime errors and SoC compatibility.

    5.1k GitHub stars~1.3k tokensUpdated today
    Auto-check passed
  • Helps build, test and extend the Qualcomm AI Engine Direct (QNN) backend in ExecuTorch, with routes for new ops, model export, Buck-vs-CMake parity fixes and per-layer accuracy debugging.

    5.1k GitHub stars~1.8k tokensUpdated today
    Auto-check passed
  • ExecuTorch on Zephyr

    pytorch/executorch

    Sets up ExecuTorch as a Zephyr RTOS module, adds board support and debugs west build failures such as linker memory overflow on embedded boards.

    5.1k GitHub stars~1.9k tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about ExecuTorch PR Review

What does ExecuTorch PR Review do?

Reviews ExecuTorch pull requests or local branches for what CI cannot check, using a checklist, with an optional detailed line-by-line mode. md file. It has four ways to start: no argument, in which case it asks what to review and does not review anything; a PR number or URL, using the gh CLI to fetch PR data; a local branch compared with main, using git; and a GitHub Actions mode, detected from the formatted context tags injected into the prompt.

When should I use ExecuTorch PR Review?

ExecuTorch PR Review fits situations like: reviewing an ExecuTorch pull request by number or URL; reviewing the current local branch before opening a PR; running an automated review from a GitHub Actions comment.

How do I install ExecuTorch PR Review in Claude Code?

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

How do I install ExecuTorch PR Review in Codex?

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

Can I use ExecuTorch PR Review 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 pytorch/executorch --skill pr-review -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pr-review, .gemini/skills/pr-review, .github/skills/pr-review and .opencode/skills/pr-review in your project.

What does ExecuTorch PR Review need to run?

Going by SKILL.md and its folder, ExecuTorch PR Review needs the command-line tools its instructions call (git and gh). Our summary lists: The GitHub CLI (gh) for reviews of numbered PRs; A checkout of the ExecuTorch repository.

Does ExecuTorch PR Review access the network?

SKILL.md contains no URLs. Its commands use git and gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is ExecuTorch PR Review 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 ExecuTorch PR Review use?

ExecuTorch PR Review has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does ExecuTorch PR Review use?

About 2.9k tokens (SKILL.md is roughly 11k 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 ExecuTorch PR Review?

Skills that share tags, products or a category with ExecuTorch PR Review: PR Review State Fetch (prisma/orm, 48k stars), Greploop Apps (michaelshimeles/skills, 1.3k stars), PR Triage (rtk-ai/rtk, 83k stars) and Difit Review (yoshiko-pg/difit, 3.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains ExecuTorch PR Review?

pytorch (a GitHub organization) maintains it in pytorch/executorch, which has 5,082 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on October 8, 2026.

Source: pytorch/executorch on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.