Repository navigation
chore: add triage-prs skill and script - #52540
Conversation
Adds a PR triage helper script that classifies open PRs by CI status (green/failing/pending/none), annotates them with their PR Triage board Status, excludes WIP, and flags new-pr PRs. Includes a Claude skill wrapping the script with faraday and failing shortcuts. Assisted-by: Claude Opus 4.8
750319c to
78e267b
Compare
Rewrites the frontmatter description for skill selection: adds "triage" triggers so the description matches the skill name, narrows the over-broad bare "failing" trigger to "failing prs", and drops the trailing runtime instructions, which referenced body content that is not loaded at match time. Documents the draft/WIP exclusions and the multi-minute runtime, both of which were previously silent, and trims the jq/OSC-8 internals that only cost context at invocation time. Also fixes --help truncating before --repo/--limit/--help (hard-coded sed range) and moves the script alongside SKILL.md. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
|
Pushed a review pass on this in Mostly the frontmatter description, since that's the only bit loaded until the skill is actually invoked, so it's what decides whether the skill gets picked in the first place. It never mentioned "triage" despite the name, so "triage the PRs" barely matched. Bare Also documented a couple of things the script does silently. It skips drafts and anything marked WIP on the board, so the output isn't quite "all the green PRs" like it reads. And a full scan is two Trimmed the jq and OSC-8 internals out of the body, they're maintainer notes that cost context on every invocation and are already in the script's comments. Fixed |
|
Heads up: Windows CI builds moved to new runners on Monday and the old ones have now been removed. This branch predates that, so its Windows build jobs still point at the old runners and will sit queued forever if CI runs again. Rebasing on |
|
No Release Notes |
Description of Change
Adds a PR triage helper script that classifies open PRs by CI status (green/failing/pending/none), annotates them with their PR Triage board Status, excludes WIP, and flags PRs labeled as
new-pr. Includes a Claude skill wrapping the script with faraday and failing shortcuts.By default the script and skill will return all open PRs that are green. The skill will sort them by PR Triage status.
Running the skill with
faradaywill show all green PRS needing faraday approvalsRunning the skill with
failingwill show all PRs with failing CIAssisted-by: Claude Opus 4.8
Checklist
Release Notes
Notes: none