kushalkambar5/aivoicecallagent2/triage-prs
Claude Code and agent skill by kushalkambar5/aivoicecallagent2
- community
Checking that the SKILL.md file is still in the repository.
Use this skill to triage the open PR queue before a release. Classifies every open PR into must-merge, candidate, superseded, or deferred; writes a working triage doc; and runs the merge loop end-to-end. Designed for the pre-release "PR speedrun" pass where a solo maintainer wants to clear the inbound backlog in a single session.
Install
npx vskill@latest install kushalkambar5/aivoicecallagent2/triage-prsSKILL.md
The same SKILL.md was published earlier as kushalkambar5/aivoicecallagent2/triage-prs.
Triage PRs
Goal
Turn a backlog of open PRs into a shipped set of merges in a single focused session. Produce a tracked, resumable plan (<VERSION>_PR_TRIAGE.md), then work it — rebasing where needed, merging in isolation-safe batches, applying post-merge follow-ups, and closing superseded or partially-applicable PRs with credit to their authors.
This skill pairs with draft-release-notes and release-bump: triage first, then draft notes against the new main, then cut the release.
When to use
- Before a minor or major release when 10+ open PRs have accumulated
- When you want to unblock merging without losing the narrative of what's landing
- When you know you can't personally review every PR deeply, but need to land the critical subset fast
Prerequisites
ghCLI authenticated against the repo- A dedicated worktree for PR review (avoid contaminating
mainwith checkouts of contributor branches) - Clarity on the target version — the triage doc is named after it (e.g.
0.4.0_PR_TRIAGE.md)
Workflow
1. Set up an isolated PR-review worktree
Keep the main worktree for release-prep work (changelog drafts, direct-to-main follow-ups). Keep the review worktree for gh pr checkout — each checkout moves HEAD to a contributor branch, which you don't want to do in the main worktree.
2. Gather metadata for every open PR
You want, for each PR:
- Size (
+additions/-deletions) - Mergeable state (
CLEAN,UNSTABLE,DIRTY= conflicts,UNKNOWN= GitHub still computing) - Whether maintainer edits are allowed on the branch (needed later if you rebase for the author)
- File paths touched (helps spot overlaps between PRs)
UNKNOWN is common right after a push to main — just try the merge and see.
3. Classify into tiers
Sort each PR into exactly one bucket:
Tier 1 — Merge: small, mergeable, fixes a real bug, clean CI, low review cost. One-liners, dependency relaxations, targeted safety hardening. These are the easy wins.
Tier 2 — Candidate, review: medium size (50-200 lines), touches more surface area, looks sound but needs a closer read. New user-facing features that fit the product direction.
Supersede: the fix or feature is already covered by something merged. Close with a comment pointing to the superseding PR. Check carefully — "similar title" isn't proof; compare the actual diffs.
Defer to next release: big features, dirty conflicts, draft PRs, anything touching the release pipeline in ways that would introduce risk. Don't merge these in a speedrun — they need dedicated focus.
4. Write the triage doc
Create <VERSION>_PR_TRIAGE.md in the PR-review worktree root. Structure:
The Progress header is the most important part — it's your scoreboard and lets you resume cleanly if the session gets interrupted.
5. Work the loop — per PR
For each PR in the tier-1 / tier-2 list:
a. Checkout in the review worktree:
b. Read the *actual* commit, not `main..HEAD`:
Do NOT review via `git diff main..HEAD` if the PR branch is older than main. That diff includes every commit that landed on main after the PR was forked as - (deletion) lines. A 3-line PR can look like a 700-line revert. This is the single easiest way to misjudge a PR.
c. Evaluate concerns: correctness, scope, interaction with already-merged work, version compatibility (e.g. can't use an API that requires a dependency version we don't yet pin).
d. Rebase if the branch is behind main:
This is essential before squash-merging. GitHub's squash computes diff(PR-head, merge-base) — on a stale branch, that diff includes reverting every in-between commit. Rebasing moves the merge-base forward so the squash is clean.
e. If maintainer edits are allowed, push the rebase back to the contributor's fork:
This keeps GitHub's PR UI in sync with the rebased state and makes the merge clean from the GitHub side.
f. Merge:
g. Update the triage doc — flip the checkbox to ✅ merged <sha> (use the short SHA from gh pr view <N> --json mergeCommit --jq '.mergeCommit.oid[0:7]'). Update the Progress header.
6. Batch tiny fixes
PRs with ≤5 line changes, clean CI, non-overlapping file paths, and obviously-correct intent (e.g. one-line dependency relax, env var add, import path fix) can be merged in a single loop without the review-per-PR ceremony:
Verify afterward that each landed cleanly:
7. Post-merge follow-ups
Sometimes a PR is worth merging despite a known minor issue (e.g. incomplete dtype map, stale sentinel cleanup). Don't block the merge; apply the follow-up as a normal branch + PR right after:
Record both SHAs in the triage doc (✅ merged <pr-sha> + follow-up <pr>).
Direct-to-main exception: only under an explicit, scoped policy (e.g. "release speedrun"). Don't default to it.
8. Supersede: close with a credit-pointing comment
Check the diffs first — "similar title" is not enough. If the PR is partially superseded (the diagnosis is right but only half the changes are still needed), do a partial-apply instead.
9. Partial-apply pattern
When a PR has both valuable and questionable changes bundled:
Then close the PR with a comment explaining what was applied and what was dropped, referencing the commit SHA.
10. Keep the doc current
Every merge, every close, every follow-up → update <VERSION>_PR_TRIAGE.md. The doc is your session log. If you're interrupted and resume tomorrow, the doc is the only source of truth for "where am I."
11. When triage is done
- Every PR in the doc has a terminal status (✅ merged / ✅ closed / deferred)
- Progress header shows N/N for each tier
- Next skill to run is
draft-release-notes(to regenerate[Unreleased]against the new main), thenrelease-bump
You can delete the triage doc after the release ships, or keep it in version history as a record.
Gotchas
- `main..HEAD` on a stale branch lies. It shows everything main gained since the branch split as deletions. Always review via
git show HEADfor the PR's actual commit. - Squash-merging an unrebased branch reverts in-between work. The squash computes
diff(PR-head, merge-base). Rebase moves the merge-base forward. - `mergeable=UNKNOWN` is transient — GitHub is recomputing after a push. Just try the merge.
- Route ordering matters (FastAPI and similar):
DELETE /history/failedmust be registered beforeDELETE /history/{id}, or the parameterized path will consume"failed"as an ID. - Apple's `-weak_framework` overrides `-framework` for the same framework, regardless of order — use it via
cargo:rustc-link-arg=-Wl,-weak_framework,Namewhen a dependency hard-links something optional. - Dependency version floors constrain what you can apply. Before accepting a kwarg rename like
torch_dtype=→dtype=, check the min-version pin supports it. Sometimes the right move is to cherry-pick half the PR. - `cpal::Stream` and similar `!Send` audio types can't cross
awaitpoints orspawn_blocking. Sometimes a "not-ideal but correct" sync wait is the best available fix; flag but don't block. - PyTorch nightly builds are not shippable for releases — non-deterministic, can regress between runs. If a PR suggests switching to nightly to fix a GPU issue, prefer
TORCH_CUDA_ARCH_LIST=...+PTXor wait for stable support instead.
Canonical commands reference
Notes
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingvoicebox/.agents/skills/triage-prs/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/kushalkambar5/aivoicecallagent2/triage-prs)