Triage Prs
This skill should be used when the user asks to "triage PRs", "triage contributions", "check PR queue", "review incoming PRs", "close invalid PRs", or explicitly invokes "triage-prs".
Unsigned, install at your own risk
UnverifiedThis skill has no cryptographic signature attached. We can't verify the contents match what the publisher intended.
Install this skill
No account required. Pick your tool, or use the command that detects it for you.
Run in your terminal. It detects your AI tool.
npx @skills-hub-ai/cli install claude-codex-settings-triage-prsManual setup by platform
Claude Code
~/.claude/skills/claude-codex-settings-triage-prs/SKILL.md
Instructions
Triage PRs
Evaluate open pull requests (or incoming issue-linked PRs) against repository contribution policy using deterministic checks plus grounded judgment, with safe dry-run output by default.
Accept extra invocation text as specific PR numbers, search filters, or --apply vs --dry-run. Always default to dry-run (--dry-run) unless the user explicitly asks to post comments, apply labels, or close PRs.
Workflow
-
Load repository policy first
- Read
CONTRIBUTING.md,AGENTS.md,.github/triage/,.github/pull_request_template.md, and any vouch/exemption configs present in the repo. - Follow that repo's exact eligibility, size, vouch, and labeling rules instead of generic assumptions.
- Read
-
Phase 1: Deterministic facts
- T3 Code: Call
pull_request_listandpull_request_read(include: ["diff", "checks", "threads"]) to gather author, draft/open state, base/head refs, diff scope, and checks. - CLI clients: Run
gh pr view <pr> --json number,author,isDraft,mergeable,baseRefName,headRefName,changedFiles,additions,deletions,commits,closingIssuesReferences,statusCheckRollup,body(noteghrejectsauthorAssociationin--json, so read.author_associationviagh api repos/{owner}/{repo}/pulls/<n> --jq .author_associationor GraphQL). - Flag immediate structural blockers: missing reproduction or linked issue when required, bundled unrelated changes (
one problem per PR), forbidden committed PR assets, failing required checks, duplicate PRs (gh pr list --search ...), or unredacted sensitive data.
- T3 Code: Call
-
Phase 2: Engineering fit and quality
- Inspect the PR diff (
pull_request_readorgh pr diff <pr>, skipping locks/generated files) to verify whether the implementation actually solves the stated problem without dead complexity, broken platform parity, tautological tests, or unreviewed generated churn.
- Inspect the PR diff (
-
Assign clear triage outcomes
- Eligible / ready: Matches repo scope and standards, ready for human reviewer assignment or automated review trigger.
- Needs author action: Missing issue link, missing verification/Before-After screenshots, oversized mixed scope, or failing checks.
- Duplicate / superseded: Point to the canonical PR or issue.
- Ineligible / close: Clearly violates repo contribution policy, spam, or out-of-scope rewrite.
-
Dry-run report and safe execution
- Print a structured table (
PR | Author | Scope | Checks | Verdict | Proposed Action) with exact verified facts and drafted contributor comments (direct, polite, naming exact missing requirements without robotic filler). - Execute remote mutations (
pull_request_update,pull_request_respondwithoutreviewThreadId, orgh pr comment/gh pr edit --add-label/gh pr close) only when the user explicitly authorized live triage (--apply), reading back each modified PR afterward to confirm final state.
- Print a structured table (
Security
Reviews (0)
Related skills
Browse all →More from claude-codex-settings
View source →More Build skills
Browse category →Frequently asked questions about triage-prs
What does the triage-prs skill do?
This skill should be used when the user asks to "triage PRs", "triage contributions", "check PR queue", "review incoming PRs", "close invalid PRs", or explicitly invokes "triage-prs". It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.
How do I install the triage-prs skill?
Run `npx @skills-hub-ai/cli install claude-codex-settings-triage-prs` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/claude-codex-settings-triage-prs/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.
Which AI tools does triage-prs work with?
triage-prs runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.
Is the triage-prs skill free?
Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.
How do I use triage-prs after installing it?
In Claude Code, type `/claude-codex-settings-triage-prs` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.
Can I share the triage-prs skill with my team?
Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.