원클릭으로
pr-triage
// Audit open PRs across multiple repos for duplicates, stale drafts, Renovate noise, and conflicts. Produces a unified priority report.
// Audit open PRs across multiple repos for duplicates, stale drafts, Renovate noise, and conflicts. Produces a unified priority report.
| 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 |
| argument-hint | [owner/repo1 owner/repo2 ...] or blank for current repo |
Audit open PRs across one or more GitHub repositories and produce a single prioritized report.
$ARGUMENTS is a space-separated list of owner/repo identifiers. If empty, use the current repo (from gh repo view --json nameWithOwner --jq .nameWithOwner).
For each repo, spawn a parallel Agent that runs:
gh pr list -R {repo} --state open --json number,title,author,createdAt,isDraft,labels,headRefName,baseRefName,mergeable,reviewDecision,updatedAt
For each open PR, the agent evaluates:
Flag drafts where updatedAt is more than 7 days ago. Include age in days.
Compare PR titles and branch names within the same repo. Flag pairs where:
verb-noun prefix (e.g., two fix-typos-* branches).For PRs authored by renovate[bot] or app/renovate:
gh pr diff -R {repo} {number}.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.
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:
gh CLI for all GitHub API interactions.Orchestrate release preparation. Reconcile the changelog, code, and docs to the net release state, then commit, push, and babysit CI until the release PR is built and `main` is green. Stop before the merge. Review-gated in normal use, fully autonomous under `--dangerously-skip-permissions`.
Analyze a GitHub repository's issues and PRs to find unaddressed feature requests, dismissed ideas, maintenance signals, and opportunities relevant to the current project. Use when you want to scout a related or competing repo for gaps your project could fill.
Triage new issues and PRs on awesome-list repos by applying curation criteria distilled from past decisions.
Browse all global and local Claude Code config files (settings.json, settings.local.json, CLAUDE.md), audit them for issues, percolate recurring local patterns into the global config, and review past session transcripts for tool calls denied by the sandbox or allow/deny rules to propose allowlist refinements.
Fill a web form using data extracted from local documents (PDFs, images, spreadsheets). Uses Claude Desktop (Cowork) with Chrome integration to read source documents and navigate/fill browser forms. Use when the user wants to automate filling an online form from document data.
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" format. Use when the user wants to organize files with date prefixes based on document content.