Skip to content
rtk-ai avatar

Pr Triage

Automated PR triage in three phases: audit open PRs, opt-in deep review, then review comments posted only after confirmation.

CCM score
61 of 100
skills.sh installs
1.5K
GitHub stars
88.2K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers PR audit, deep review of selected PRs, and drafted GitHub review comments in English
  • Includes size classification, overlap and staleness detection, CI status, and linked-issue scanning via gh commands
  • Enforces a mandatory validation step before any comment is posted to GitHub
  • Designed for maintainers of repos with many open external PRs who need a triage table and sized reviews

Install

$ npx -y skills add rtk-ai/rtk --skill pr-triage -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

PR Triage

Quand utiliser

SkillUsageOutput
/pr-triageTrier, reviewer, commenter les PRsTableau d'action + reviews + commentaires postés
/repo-recapRécap général pour partager avec l'équipeRésumé Markdown (PRs + issues + releases)

Déclencheurs :

  • Manuellement : /pr-triage ou /pr-triage all ou /pr-triage 42 57
  • Proactivement : quand >5 PRs ouvertes sans review, ou PR stale >14j détectée

Langue

  • Vérifier l'argument passé au skill
  • Si en ou english → tableaux et résumé en anglais
  • Si fr, french, ou pas d'argument → français (défaut)
  • Note : les commentaires GitHub (Phase 3) restent TOUJOURS en anglais (audience internationale)

Workflow en 3 phases : audit automatique → deep review opt-in → commentaires avec validation obligatoire.

Préconditions

git rev-parse --is-inside-work-tree
gh auth status

Si l'un échoue, stop et expliquer ce qui manque.


Phase 1 — Audit (toujours exécutée)

Data Gathering (commandes en parallèle)

# Identité du repo
gh repo view --json nameWithOwner -q .nameWithOwner

Details

Repository
github.com/rtk-ai/rtk
Categories
Git & Releases, Code Review & Quality
First seen
Jun 3, 2026

Questions

What does the pr-triage skill do?

The pr-triage skill audits open pull requests in a repository, groups them into our PRs and external PRs, and flags risks such as overlaps, large sizes, failing CI and stale activity. It can then deep review selected PRs with code-reviewer agents and draft review comments for validation before posting.

How do I install the pr-triage skill?

Run npx -y skills add rtk-ai/rtk --skill pr-triage -y in your project. Once installed, the agent can triage open PRs, review selected ones and draft GitHub review comments.

What does pr-triage need to run?

It needs to run inside a git work tree and requires the GitHub CLI (gh) to be authenticated. It uses Bash, Read, Grep and Glob tools, and the skill reads PR metadata, reviews and diffs through gh.

Which arguments control pr-triage?

Pass all to review every external PR, PR numbers such as 42 57 to focus on specific PRs, or en or fr to set the language of tables and summaries. With no argument the audit runs in French and asks which PRs to review in depth.

Where does pr-triage fit among Git and release skills?

pr-triage is in the Git & Releases category, alongside triage, git-guardrails-claude-code, setup-pre-commit, caveman-commit and pr. Its distinct focus is auditing open PRs and drafting review comments that wait for validation before they are posted.

More from rtk-ai/rtk

All 7

Similar to Pr Triage

More Git & Releases