PR Body
SAP/spartacus
A skill your agent uses when the user asks to generate, write, or draft a pull request (PR) body or description for the current branch.
Review a pull request against Insights architecture standards — fetches PR diff, verifies previous comments are addressed, validates PR metadata (title, branch, JIRA, size), runs a code-standards…
$ npx skills add linuxfoundation/insights --skill review-pr -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install linuxfoundation/insights review-pr --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/linuxfoundation/insights.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/review-pr .claude/skills/review-pr && 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-pr" agent skill from https://github.com/linuxfoundation/insights/tree/main/.claude/skills/review-pr into .claude/skills/review-pr/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "review-pr", 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/linuxfoundation/insights/tree/main/.claude/skills/review-prType 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 linuxfoundation/insights --skill review-pr -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install linuxfoundation/insights review-pr --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/linuxfoundation/insights.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/review-pr .agents/skills/review-pr && 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-pr" agent skill from https://github.com/linuxfoundation/insights/tree/main/.claude/skills/review-pr into .agents/skills/review-pr/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "review-pr", 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 linuxfoundation/insights --skill review-pr -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install linuxfoundation/insights review-pr --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/linuxfoundation/insights.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/review-pr .cursor/skills/review-pr && 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-pr" agent skill from https://github.com/linuxfoundation/insights/tree/main/.claude/skills/review-pr into .cursor/skills/review-pr/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "review-pr", 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/linuxfoundation/insights.git --path .claude/skills/review-pr--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 linuxfoundation/insights --skill review-pr -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install linuxfoundation/insights review-pr --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/linuxfoundation/insights.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/review-pr .gemini/skills/review-pr && 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-pr" agent skill from https://github.com/linuxfoundation/insights/tree/main/.claude/skills/review-pr into .gemini/skills/review-pr/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "review-pr", 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 linuxfoundation/insights review-prInstalls 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 linuxfoundation/insights --skill review-pr -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/linuxfoundation/insights.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/review-pr .github/skills/review-pr && 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-pr" agent skill from https://github.com/linuxfoundation/insights/tree/main/.claude/skills/review-pr into .github/skills/review-pr/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "review-pr", 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 linuxfoundation/insights --skill review-pr -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install linuxfoundation/insights review-pr --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/linuxfoundation/insights.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/review-pr .opencode/skills/review-pr && 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-pr" agent skill from https://github.com/linuxfoundation/insights/tree/main/.claude/skills/review-pr into .opencode/skills/review-pr/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "review-pr", 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-prReview a pull request against Insights architecture standards — fetches PR diff, verifies previous comments are addressed, validates PR metadata (title, branch, JIRA, size), runs a code-standards…
Review PR is an agent skill from linuxfoundation/insights. Review a pull request against Insights architecture standards — fetches PR diff, verifies previous comments are addressed, validates PR metadata (title, branch, JIRA, size), runs a code-standards check against every file in .claude/rules/ and .claude/hooks/guard-protected-files.sh, and drafts inline review comments with suggested fixes. NEVER auto-posts comments or submits reviews — always presents a draft in the terminal for user approval before any comment lands on the PR. Use when reviewing PRs, checking PR…
Its SKILL.md is about 2.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/backend-checklist.md` and `references/frontend-checklist.md`).
It sits in Development, covering Pull requests and Social publishing and cross-posting. It works with Jira. The repository describes itself as: Insights into the world's most critical open source software. The licence is MIT.
6 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 3df53b5. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
BashReadGlobGrepAgentAskUserQuestionSkillFrom allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
ghgitjqFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use gh and git, which can reach the network depending on how they are called.
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 PR loads about 2.7k tokens when it runs, and up to ~4.5k if it reads all its reference files. Until then it costs about 157 tokens; SKILL.md has 1,094 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 noted patterns worth knowing about, such as sudo or a known installer.
allowed-tools: Bash, Read, Glob, Grep, Agent, AskUserQuestion, SkillAutomated 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.
The full file from linuxfoundation/insights at commit 3df53b5, republished under its MIT licence (© linuxfoundation). 1,094 words, ~2,674 tokens.
.claude/skills/review-pr/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.You are reviewing a pull request against the Insights architecture standards and project conventions. Walk through each phase in order.
The review is backed by these living sources of truth — always pull current contents rather than relying on memory:
.claude/rules/*.md — all project rules.claude/hooks/guard-protected-files.sh — the authoritative protected-files listCLAUDE.md — project conventionsThe args string follows this format: <PR number> [extra instructions].
gh repo view --json nameWithOwner --jq '.nameWithOwner'Run all of the following in a single turn:
# PR details
gh pr view <N> --json title,body,headRefName,baseRefName,author,files,additions,deletions,state,number
# Full diff
gh pr diff <N>
# Previous inline review comments
gh api repos/{owner}/{repo}/pulls/{N}/comments --paginate
# Previous review summaries
gh api repos/{owner}/{repo}/pulls/{N}/reviews --paginate
# Commit messages
gh api repos/{owner}/{repo}/pulls/{N}/commits --paginate --jq '.[].commit.message'
# Fetch both branches for merge-base check
git fetch origin <baseRefName> <headRefName>If the diff is too large, save it to /tmp/pr-<N>.diff and read only changed .ts, .vue, .scss, .md files with Read.
Glob .claude/rules/*.md and read every rule file. At time of writing this includes:
always-use-uikit.md — uikit component usage rulespnpm-workspace-commands.md — pnpm workspace conventionscommit-workflow.md — PR title format, branch naming, JIRA, signingRead .claude/hooks/guard-protected-files.sh. Parse its case statements and if conditions to build the authoritative protected-files list. Never maintain it by hand — parse the hook so it stays in sync.
Spawn a background Agent subagent with run_in_background: true. Proceed to Phase 3 immediately while it runs in parallel.
Prompt for the agent:
You are a code-standards enforcer for the Insights codebase (Nuxt 4 / Vue 3 / TypeScript).
Branch:
origin/<headRefName>Changed files: (include the full list from Phase 1)For each file, read it with
git show origin/<headRefName>:<path>and check against:
.claude/rules/*.md— glob and read all rule files.claude/skills/review-pr/references/frontend-checklist.md— for files underfrontend/app/.claude/skills/review-pr/references/backend-checklist.md— for files underfrontend/server/CLAUDE.md— project conventionsAlso read
.claude/hooks/guard-protected-files.shand parse itscase/ifpatterns. For every changed file matching a protected pattern, emit a NIT finding with the hook's warning reason.Severity calibration:
- CRITICAL — runtime bugs, security issues, secrets in code, broken auth, missing
createErrorfor HTTP errors- SHOULD_FIX — documented style/structure violations (raw HTML instead of uikit, Options API, missing license headers,
space-y-*instead ofgap-*,anytype, inline DB queries instead of repo pattern)- NIT — minor improvements, naming, protected-file awareness
Return findings as JSON:
[{ "file": "...", "line": N, "severity": "CRITICAL|SHOULD_FIX|NIT", "rule": "<rule-file>:<section>", "message": "...", "suggestion": "..." }]If you cannot quote the rule from a loaded rule file or checklist, drop the finding. Hallucinated rules are worse than missed ones.
Check whether previously raised review comments were actually addressed in code. Do NOT trust "resolved" status — read the actual code.
git show origin/<headRefName>:<file>| # | Comment Summary | File | Status | Evidence |
| --- | ------------------------- | -------------------------- | --------- | --------------------------- |
| 1 | Use lfx-button not button | app/components/Foo.vue | FIXED | Line 12 now uses lfx-button |
| 2 | Missing license header | server/api/projects.get.ts | NOT FIXED | File still has no header |If no previous review comments, note "No previous review comments found" and move on.
Validates PR metadata against commit-workflow.md.
PR title format — must match type: description (Conventional Commits), all lowercase, no JIRA ticket in title. A scope is optional.
feat, fix, docs, style, refactor, perf, test, build, ci, chore, revertBranch name format — should match <type>/IN-<number> (e.g. feat/IN-123). Flag as NIT if non-conforming but otherwise well-formed.
JIRA ticket reference — at least one commit message or the PR body should reference an IN-XXX ticket. Extract with grep -oE 'IN-[0-9]+'. If none, flag SHOULD FIX.
Branch rebased on main:
git merge-base --is-ancestor origin/main origin/<headRefName>If non-zero exit code, flag SHOULD FIX: branch needs a rebase.
PR size — if additions > 1000, note per commit-workflow.md's 1000-line target.
Build a findings table:
| Check | Status | Detail |
| --------------- | ------ | ------------------------------- |
| PR title format | PASS | `feat(auth): add token refresh` |
| Branch name | PASS | `feat/IN-1234` |
| JIRA ticket | PASS | Found IN-1234 in commits |
| Branch rebased | PASS | origin/main is an ancestor |
| PR size | PASS | 342 additions |Wait for the Phase 2 enforcer Agent to complete. Then compile all findings.
Before surfacing any finding, drop it if:
rule field cannot be matched by string search in the loaded rule files, checklists, or hook.claude/hooks/guard-protected-files.sh, with the hook's warning reasonfrontend/app/**) → references/frontend-checklist.mdfrontend/server/**) → references/backend-checklist.mdYou MUST NOT post inline comments, submit a review, or request changes without the user's explicit approval. Always present the draft first and wait for a clear go-ahead. This applies every time, with no exceptions.
Print the compiled context as a draft review summary:
Use AskUserQuestion with options:
Do NOT proceed until the user explicitly picks an option. Treat silence or ambiguous replies as "don't post".
/reviewOnce the user approves (with or without edits), apply their edits and use the Skill tool to invoke review with the PR number and compiled context:
<PR number> -- <compiled context from Phase 5, with user's edits applied>If the user said "don't post", stop here — do not invoke /review or any PR-mutating gh command.
If additions > 1000, include in the review body:
Note: This PR has {additions} additions, which exceeds the recommended 1000-line target per
commit-workflow.md. Consider splitting into smaller, independently reviewable PRs.
gh pr list --author <author> --state merged --limit 5 --json number | jq 'length'If the author has fewer than 5 merged PRs to this repo, be more educational in inline comments — explain the why behind each rule, not just the what.
If the user passed extra instructions after the PR number, prioritize those areas but still execute the full review pipeline.
© linuxfoundation, MIT. 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 2 other files (references) in .claude/skills/review-pr of linuxfoundation/insights.
Open the folder on GitHubat commit 3df53b5
Review PR 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 PR this skilllinuxfoundation/insights | 280 | — | ~2.7k | Automated safety check: Notes | MIT | |
| PR BodySAP/spartacus | 784 | — | ~499 | Automated safety check: Pass | Apache-2.0 | |
| Link Ticket To SessionJayantDevkar/claude-code-karma | 329 | — | ~1.8k | Automated safety check: Notes | Apache-2.0 | |
| Dynamo PR DescriptionDynamoDS/Dynamo | 2k | — | ~880 | Automated safety check: Pass | Apache-2.0 | |
| Adhoc PRshopsys/shopsys | 350 | — | ~2.3k | Automated safety check: Pass | Custom licence | |
| Code Reviewsortie-ai/sortie | 196 | — | ~2.9k | Automated safety check: Pass | MIT |
SAP/spartacus
A skill your agent uses when the user asks to generate, write, or draft a pull request (PR) body or description for the current branch.
JayantDevkar/claude-code-karma
Link the current Claude Code session to a ticket (Linear, Jira, GitHub Issues, or GitHub Pull Requests) and cache its title/status in karma.
DynamoDS/Dynamo
Generate PR descriptions for Dynamo that align with the team template section names and order.
shopsys/shopsys
Ad-hoc Pull Request Publisher — commits the current changes, pushes the branch, opens a GitHub pull request against the repository's default branch, and creates a matching SSP Jira issue in the…
sortie-ai/sortie
Reviews pull requests in this repository for the defect classes a mechanical checklist misses: documentation that outlived the code it describes, reaction and retry state that leaks or clobbers a…
chef/chef-web-docs
Read a release notes file and edit it using Jira release data and GitHub pull requests as co-equal, optional sources.
linuxfoundation/insights
Add event tracking calls to Vue/Nuxt components in the Insights app using the useTrackEvent composable.
linuxfoundation/insights
Record an architecture decision as an ADR in api/docs/arch/adr/.
linuxfoundation/insights
Recover from missing DCO sign-off on commits. An agent skill from linuxfoundation/insights.
linuxfoundation/insights
Automated triage and fixing of Dependabot security vulnerabilities (IN-1189).
linuxfoundation/insights
Full development environment setup from scratch — prerequisites, dependencies, .env file, optional local PostgreSQL database (for auth/collections/chat work), and dev server.
linuxfoundation/insights
Run the docs site, blog, or Storybook locally. An agent skill from linuxfoundation/insights.
Works with
Categories
Review a pull request against Insights architecture standards — fetches PR diff, verifies previous comments are addressed, validates PR metadata (title, branch, JIRA, size), runs a code-standards…. Review PR is an agent skill from linuxfoundation/insights.sh, and drafts inline review comments with suggested fixes.
Review PR fits situations like: checking PR quality; validating code changes; the user says review.
Run `npx skills add linuxfoundation/insights --skill review-pr -a claude-code`. Or copy the skill folder (.claude/skills/review-pr in linuxfoundation/insights) into .claude/skills/review-pr in your project. Claude Code loads it when a task matches its description.
Run `npx skills add linuxfoundation/insights --skill review-pr -a codex`. Or copy the skill folder (.claude/skills/review-pr in linuxfoundation/insights) into .agents/skills/review-pr 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 linuxfoundation/insights --skill review-pr -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-pr, .gemini/skills/review-pr, .github/skills/review-pr and .opencode/skills/review-pr in your project.
Going by SKILL.md and its folder, Review PR needs the command-line tools its instructions call (gh, git and jq). Its frontmatter pre-approves these tools: Bash, Read, Glob, Grep, Agent, AskUserQuestion, Skill.
SKILL.md contains no URLs. Its commands use gh and git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
Review PR is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.7k 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. Its references folder adds about 1.9k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Review PR: PR Body (SAP/spartacus, 784 stars), Link Ticket To Session (JayantDevkar/claude-code-karma, 329 stars), Dynamo PR Description (DynamoDS/Dynamo, 2k stars) and Adhoc PR (shopsys/shopsys, 350 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
linuxfoundation (a GitHub organization) maintains it in linuxfoundation/insights, which has 280 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on October 1, 2026.
Source: linuxfoundation/insights on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.