Agent skill

PR Triage

by kdeldycke in kdeldycke/dotfiles

Audit open PRs across multiple repos for duplicates, stale drafts, Renovate noise, and conflicts.

BSD-2-ClauseAuto-check: notes

Install PR Triage

skills CLI
$ npx skills add kdeldycke/dotfiles --skill pr-triage -a claude-code

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

GitHub CLI
$ gh skill install kdeldycke/dotfiles pr-triage --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/kdeldycke/dotfiles.git skills-src && mkdir -p .claude/skills && cp -r skills-src/dotfiles/.agents/skills/pr-triage .claude/skills/pr-triage && 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-triage
GitHub stars
173
Token cost
~832 tokens
SKILL.md length
401 words
Files
1
Skills in repo
25
Repo updated
First seen
Licence
BSD-2-Clause

At a glance

Audit open PRs across multiple repos for duplicates, stale drafts, Renovate noise, and conflicts.

  • Works in 3 steps: Gather PR data → Per-PR analysis → Unified report
  • SKILL.md covers Argument handling, Workflow and Important rules
  • Calls gh

What it does

PR Triage is an agent skill from kdeldycke/dotfiles. Audit open PRs across multiple repos for duplicates, stale drafts, Renovate noise, and conflicts. Produces a unified priority report.

Its SKILL.md is about 830 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: Designed for Claude Code. Recommended model: Sonnet.

The repository describes itself as: 🍎 macOS dotfiles for Python developers. The licence is BSD-2-Clause.

Example prompts

  • “/pr-triage”

Requirements

  • Compatibility (from SKILL.md): Designed for Claude Code. Recommended model: Sonnet.
  • Pre-approved tools (allowed-tools): Bash, Read, Grep, Glob, Agent

Workflow steps

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

  1. Gather PR data
  2. Per-PR analysis
  3. Unified report

What it can do on your machine

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

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash
    • Read
    • Grep
    • Glob
    • Agent

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • gh

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

  • Network

    No URLs in SKILL.md. Its commands use 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.

  • Compatibility

    Designed for Claude Code. Recommended model: Sonnet.

    From compatibility in the SKILL.md frontmatter.

Context cost

PR Triage loads about 832 tokens when it runs. Until then it costs about 36 tokens; SKILL.md has 401 words of instructions outside code blocks.

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

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: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Bash, Read, Grep, Glob, Agent

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

The full file from kdeldycke/dotfiles at commit 37173b9, republished under its BSD-2-Clause licence (© kdeldycke). 401 words, ~832 tokens.

Download SKILL.mdSave it as .claude/skills/pr-triage/SKILL.md (or your agent's skills folder).
name
pr-triage
description
Audit open PRs across multiple repos for duplicates, stale drafts, Renovate noise, and conflicts. Produces a unified priority report.
allowed-tools
Bash, Read, Grep, Glob, Agent
compatibility
Designed for Claude Code. Recommended model: Sonnet.
argument-hint
[owner/repo1 owner/repo2 ...] or blank for current repo

PR triage across repositories

Audit open PRs across one or more GitHub repositories and produce a single prioritized report.

Argument handling

$ARGUMENTS is a space-separated list of owner/repo identifiers. If empty, use the current repo (from gh repo view --json nameWithOwner --jq .nameWithOwner).

Workflow

Phase 1: Gather PR data

For each repo, spawn a parallel Agent that runs:

bash
gh pr list -R {repo} --state open --json number,title,author,createdAt,isDraft,labels,headRefName,baseRefName,mergeable,reviewDecision,updatedAt
Phase 2: Per-PR analysis

For each open PR, the agent evaluates:

Stale drafts

Flag drafts where updatedAt is more than 7 days ago. Include age in days.

Duplicate detection

Compare PR titles and branch names within the same repo. Flag pairs where:

  • Titles share 3+ significant words (ignoring "fix", "update", "bump", "chore").
  • Branch names share the same verb-noun prefix (e.g., two fix-typos-* branches).
Renovate PR analysis

For PRs authored by renovate[bot] or app/renovate:

  1. Fetch the diff: gh pr diff -R {repo} {number}.
  2. Classify:
    • Version bump: changelog entries show actual version changes. Mark as merge-ready.
    • SHA-only: diff changes only pinned commit SHAs with no version change (e.g., annotated tag re-point). Flag as cosmetic.
    • Major update: major version bump. Flag for manual review.
  3. Check for Renovate PRs that update the same package — these are superseded duplicates.
Conflict detection

Compare headRefName across open PRs. Flag PRs that modify the same files (fetch file lists with gh pr view -R {repo} {number} --json files --jq '.files[].path'). Two PRs touching the same file are potential conflicts.

Show full SKILL.md (169 more words)Show less
Phase 3: Unified report

Merge results from all agents into one table, sorted by priority:

| Repo | PR | Title | Author | Age | Status | Action |

Status values:

  • merge — Tests pass, approved, no conflicts. Merge-ready.
  • review — Needs review (non-draft, no review decision yet).
  • stale — Draft or non-draft with no activity for 7+ days.
  • cosmetic — Renovate SHA-only update, low priority.
  • conflict — Touches files that overlap with another open PR.
  • duplicate — Likely duplicate of another open PR.
  • major — Major dependency bump, needs manual assessment.

After the table, list:

  1. Merge-ready PRs that can be merged immediately.
  2. Duplicates with a recommendation on which to keep (prefer the older or more complete one).
  3. Stale drafts with a recommendation to close or revive.
  4. Conflicts with the specific files that overlap.

Important rules

  • Use gh CLI for all GitHub API interactions.
  • Spawn one Agent per repo to parallelize data gathering.
  • Do not merge, close, or comment on PRs. Report only.
  • Keep the output scannable. Tables over prose.
  • If a repo has more than 50 open PRs, focus on the 50 most recently updated.

© kdeldycke, BSD-2-Clause. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in dotfiles/.agents/skills/pr-triage of kdeldycke/dotfiles.

Open the folder on GitHubat commit 37173b9

Compare with similar skills

PR Triage 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.

PR Triage compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
PR Triage this skillkdeldycke/dotfiles173—~832Automated safety check: NotesBSD-2-Clause
Tag Duplicate PRs Issuesopenclaw/openclaw392k—~4kAutomated safety check: PassMIT
Triage PRsopenchamber/openchamber11k—~4.4kAutomated safety check: PassMIT
Triage Contributor PRsprisma/orm48k—~3.6kAutomated safety check: PassApache-2.0
Pre-Release PR Triagejamiepine/voicebox57k—~3.1kAutomated safety check: PassMIT
Issue Triagepaperclipai/paperclip99k—~1kAutomated safety check: PassMIT

Similar skills

  • Tag Duplicate PRs Issues

    openclaw/openclaw

    Use gitcrawl to search duplicate OpenClaw PRs/issues, group related work in prtags, and sync duplicate state to GitHub.

    392k GitHub stars~4k tokensUpdated today
    Research & ScienceAuto-check passed
  • Triage PRs

    openchamber/openchamber

    Load when asked to triage, clean up, batch-process, or work through the open PR queue or backlog — covers the mechanical sweep (stale, conflicts, duplicates), fan-out verdict reviews, and approved…

    11k GitHub stars~4.4k tokensUpdated today
    Auto-check passed
  • Official

    Triages open pull requests from external contributors to prisma/orm, producing a per-PR verdict with evidence, without closing, commenting on or approving anything.

    48k GitHub stars~3.6k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Pre-Release PR Triage

    jamiepine/voicebox

    Sorts a backlog of open pull requests into must-merge, candidate, superseded and deferred, writes a triage doc and works the merge loop before a release.

    57k GitHub stars~3.1k tokensUpdated 3 days ago
    DevelopmentAuto-check passed
  • Issue Triage

    paperclipai/paperclip

    Triage Paperclip inbox issues that are stale, blocked, in-review, or assigned-but-not-progressing, and decide a single next action per issue (resume, reassign, unblock, escalate, or close).

    99k GitHub stars~1k tokensUpdated today
    DevelopmentAuto-check passed
  • Runs issue triage and PR triage in parallel, then cross-analyzes the results to flag duplicate coverage, security gaps, P0 issues with no PR, and PR conflicts.

    83k GitHub stars~1.6k tokensUpdated yesterday
    DevelopmentAuto-check: notes

More from kdeldycke/dotfiles

All 25 skills in this repo
  • Agent Config Self Tune

    kdeldycke/dotfiles

    Audit and tune the configuration of coding agents across Claude Code and pi - settings files (settings.json, settings.local.json), permission rules, instruction files (CLAUDE.md, AGENTS.md), skill…

    173 GitHub stars~3.4k tokensUpdated yesterday
    Auto-check: notes
  • Audit Repo Issues

    kdeldycke/dotfiles

    Analyze a GitHub repository's issues and PRs to find unaddressed feature requests, dismissed ideas, maintenance signals, and opportunities relevant to the current project.

    173 GitHub stars~2.5k tokensUpdated yesterday
    Auto-check passed
  • Brand Assets

    kdeldycke/dotfiles

    Create project logo and banner SVGs, then export them to light and dark PNG variants.

    173 GitHub stars~4.7k tokensUpdated yesterday
    Auto-check passed
  • Fill Web Form

    kdeldycke/dotfiles

    Fill a web form using data extracted from local documents (PDFs, images, spreadsheets).

    173 GitHub stars~2.3k tokensUpdated yesterday
    Auto-check passed
  • Rename With Dates

    kdeldycke/dotfiles

    Rename documents and files (PDFs, images, screenshots, etc.) by reading their content to extract the effective/publication date, then renaming them with a "YYYY-MM-DD - Clear descriptive title.ext"…

    173 GitHub stars~3.5k tokensUpdated yesterday
    Auto-check passed
  • Repomatic Test Matrix

    kdeldycke/dotfiles

    Choose what a repository's CI test matrix covers. An agent skill from kdeldycke/dotfiles.

    173 GitHub stars~2.2k tokensUpdated yesterday
    Auto-check: notes

Questions about PR Triage

What does PR Triage do?

Audit open PRs across multiple repos for duplicates, stale drafts, Renovate noise, and conflicts. PR Triage is an agent skill from kdeldycke/dotfiles. Audit open PRs across multiple repos for duplicates, stale drafts, Renovate noise, and conflicts.

How do I install PR Triage in Claude Code?

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

How do I install PR Triage in Codex?

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

Can I use PR Triage 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 kdeldycke/dotfiles --skill pr-triage -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-triage, .gemini/skills/pr-triage, .github/skills/pr-triage and .opencode/skills/pr-triage in your project.

What does PR Triage need to run?

Going by SKILL.md and its folder, PR Triage needs the command-line tools its instructions call (gh). Its frontmatter pre-approves these tools: Bash, Read, Grep, Glob, Agent. Compatibility (from SKILL.md): Designed for Claude Code. Recommended model: Sonnet..

Does PR Triage access the network?

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

Is PR Triage safe to install?

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.

What licence does PR Triage use?

PR Triage is published under the BSD-2-Clause licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does PR Triage use?

About 832 tokens (SKILL.md is roughly 3.3k 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 PR Triage?

Skills that share tags, products or a category with PR Triage: Tag Duplicate PRs Issues (openclaw/openclaw, 392k stars), Triage PRs (openchamber/openchamber, 11k stars), Triage Contributor PRs (prisma/orm, 48k stars) and Pre-Release PR Triage (jamiepine/voicebox, 57k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains PR Triage?

kdeldycke (a GitHub user) maintains it in kdeldycke/dotfiles, which has 173 GitHub stars. The repository holds 25 skills in this directory. The repository was last updated on October 9, 2026.

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