pr-triage
CommunityContext-efficient PR triage for faster reviews.
Authorjoelhooks
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Fetches PR comment metadata first and loads full bodies only when needed to reduce context and payloads.
Core Features & Use Cases
- Metadata-first triage: fetch lightweight summaries for all comments to minimize data loaded into context.
- On-demand body hydration: retrieve full comment bodies only for actionable items.
- Automated decision workflow: categorize by severity, propose fixes with code blocks when needed, and decide to reply or resolve.
- Use Case: In a large PR with dozens of comments, triage completes in minutes by focusing on metadata, then expanding only the critical threads and applying fixes with templates.
Quick Start
Run the triage workflow from the command line: bun run pr-comments.ts triage owner/repo 42 Or fetch metadata only: bun run pr-comments.ts list owner/repo 42 Then expand a comment: bun run pr-comments.ts expand owner/repo 123456
Dependency Matrix
Required Modules
zod
Components
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: pr-triage Download link: https://github.com/joelhooks/swarm-tools/archive/main.zip#pr-triage Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.