Skip to content
Skills Library
Programming · Review & audit

pr-triage

/pr-triage

Triage all open pull requests in Harlan-owned repositories. Use to repair, rank, sign off, or decide merge order across the PR backlog.

Licence
MIT
Last repository change
28.10.2026

Assessment and security

95/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content30 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
3
Scripts
1
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 28.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What to check before installing
  • 1 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: scripts/discover-prs.sh

What it does and when to use it

Triage all open pull requests in Harlan-owned repositories. Use to repair, rank, sign off, or decide merge order across the PR backlog.

Original author description

Triage all open pull requests in Harlan-owned repositories. Use to repair, rank, sign off, or decide merge order across the PR backlog.

How it works

  1. Worktree isolation
  2. Load contracts
  3. Discover
  4. Process the backlog
  5. Return the merge queue
Original SKILL.md headings · 65 lines, 462 words
SKILL.md preview
---
name: pr-triage
description: "Triage all open pull requests in Harlan-owned repositories. Use to repair, rank, sign off, or decide merge order across the PR backlog."
license: MIT
---

# PR Triage

Turn the owned PR backlog into a ranked merge queue. Never merge.

`harlan-github-agent` merges pull requests labelled `harlan-agent-auto-merge` on its own. This skill never does. See [auto merge](../../references/auto-merge.md).

## Worktree isolation

Discovery stays read only and may use the primary checkout.
Before Repair, read and follow the [worktree isolation contract](../../references/worktree-isolation.md).
Keep mutation in a task-owned `wt` worktree with a live claim. Keep the primary checkout read only.

## Load contracts

Read these completely before discovery:

1. `../adversarial-review/SKILL.md`, the complete workflow for one PR.

The `adversarial-review` Skill loads personal `pr`, Brundlefly `im-part-human`, and `unit-tests` when required. Do not duplicate those rules here.

## Discover

Run `scripts/discover-prs.sh` from this skill directory.

It returns every human-authored open PR in the allowed base repositories. Exclude GitHub Apps and bot accounts unless the user requests `--include-bots`.

Skip automated authors before dispatch, review attempts, or comments. Do not post a skip status.

For an author outside configured `writable_pr_authors`, wait for exact-Revision Review Approval in `harlan-github-agent`. Do not create a status comment before Approval. Require separate fix Approval after open findings and before edits.

If discovery reaches GitHub's 1,000 result cap, stop before mutations and report incomplete discovery.

## Process the backlog

Process one PR at a time. Parallelize read-only GitHub queries when useful.

For each PR, run the complete `adversarial-review` workflow. A PR is unfinished until its marked bot comment is confirmed on GitHub.

Treat one trusted marked comment for the current head commit as the active review. Never dispatch a second agent for that head commit.

For a personal repository mapped under `~/sites`, use `take-ownership` by convention unless repository policy or the user disables it. Other PRs stop after adversarial review.

Continue to the next PR after a confirmed `READY`, `PENDING`, or `BLOCKED` status. Preserve exact failure evidence.

Finish repairs across the backlog, then revisit `PENDING` pull requests once. Never sign off a stale SHA.

When required CI also fails on the current base of an owned repository, dispatch one focused baseline repair worker. Open its repair pull request, link it from the original PR status, and revisit the original after merge.

## Return the merge queue

Predict attention for this handoff. Lead with the consequential merge decision or blocker, with its required dependencies.
Keep routine proof brief and link detailed evidence. Preserve the complete queue and every safety reason.

List `READY` pull requests first, sorted by confidence. Then list `PENDING` and
`BLOCKED` pull requests without confidence scores.

```text
Confidence | PR | Outcome | Checked | Next action
96/100 high | owner/repo#42 | READY | Base, review, tests, CI | Human merge decision
— | owner/repo#17 | BLOCKED | Review complete; CI failed | Fix Linux job
```

Include skipped PRs and the exact safety reason. Never merge unless the user separately asks.
Files in this package (3)
  • SKILL.md 3 KB
  • agents/openai.yaml 1 KB
  • scripts/discover-prs.sh 2 KB

Versions

RepositoryScoreLicence
This page · harlan-zw/harlan-claude-code95MIT
anilsoylu/famiglia100Apache-2.0
mkurman/zorai100MIT
yeaight7/agent-powerups100Apache-2.0
florianbruniaux/claude-code-plugins95MIT
salvo8519/fairmark90Apache-2.0
salvo8519/fairmark90Apache-2.0

Identical content appears in 1 other GitHub folders. We show one copy with the highest score.

Database snapshot: 13.11.2026 · package version dc23dc400733 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100triage-github
    Triage all open GitHub issues, PRs, and discussions in the current repository by fanning out up to 100 parallel subagents (one per item), then produce a single prioritized report ranking which PRs to review first, which issues to address first, and which discussions need…
  • 100github-backlog-triage
    Use when the user invokes backlog triage for a GitHub repo''s open issues and PRs. Not for proactive triage, non-GitHub trackers, or single bug issues: use github-bug-report-triage.
  • 90backlog-triage
    Triage GitHub issues and pull requests, including validity, duplicates, competing implementations, canonical issues, and native organization such as issue types, sub-issues, and blocking links. Use when assessing a backlog batch or area, continuing earlier triage, checking…
  • 95stale-pr-triage
    Triage the open pull request backlog: from an exported list (Azure DevOps, GitHub or GitLab JSON) compute age, idle time, draft status, reviewer load and size buckets with a bundled stdlib script, then decide per PR to merge, rebase, split, hand over or abandon, and set an aging…
  • 100triaging-prs
    Scan every open pull request in a GitHub repository, filter to the ones that are genuinely mergeable now, and report a compact verdict with a suggested merge order. Use when the user asks which PRs can be merged, wants an open-PR backlog triaged or reviewed in bulk, asks why a…
  • 96merge-open-prs
    Use when asked to merge all open PRs or land a specified set of PRs together.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.