/harlan-agent-kit:pr-triagefrom harlan-agent-kit
Turns a PR backlog into a ranked merge queue by running adversarial review on each pull request, then returning a sorted list of READY, PENDING, and BLOCKED statuses.
Ships in harlan-agent-kit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
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.
Discovery stays read only and may use the primary checkout.
Before Repair, read and follow the worktree isolation contract.
Keep mutation in a task-owned wt worktree with a live claim. Keep the primary checkout read only.
Read these completely before discovery:
../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.
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 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.
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.
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.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub harlan-zw/harlan-agent-kit --plugin harlan-agent-kit35 skills in this plugin
/adversarial-reviewReview one pull request adversarially, hand permitted defects to Repair, verify the remote head, and publish the Harlan Agent Kit bot status. Use for rigorous pre-merge PR review./agent-feedbackImprove one Agent skill from explicit Review feedback. Use only for the agent-feedback Routine./agent-retroWeekly retro of Harlan GitHub Agent sessions. Group transcripts by goal, find repeated and wasted work, and rank fixes to the controller, prompts, skills, or model. Use for agent retro, session review, agent efficiency, or self-improvement runs./brand-labExplore brand directions for a product on one private HTML page: a logo and small UI motifs, three or more variations each, with picks and rationale. Use when the user wants to rethink or strengthen a brand, logo, or brand motif, compare brand variations side by side, or says the branding feels basic./browserUse Harlan's browsers with the correct identity. Use before browser testing, signed-in automation, screenshots, or Chrome connection recovery. Covers prompt-free Clients and Agent Chrome, shared Harlan Chrome, dev-browser, and tab cleanup./ci-reviewInspect GitHub Actions logs for warnings and errors, triage their causes, and repair actionable findings. Use for the ci-review Routine and its Issue work.Other plugins' skills for the same job