Lewati ke konten
TakoAPI
Kembali ke skill

repo-pr-triage

oleh patrob

Git & GitHub
432Unduhan dilaporkan oleh clawskills.sh
0Tayangan
0 sukaMasuk untuk menyukai skill ini
—Belum ada penilaian
Penilaian Anda

Ringkasan

Triage GitHub PRs and issues using vision-based scoring.

Deskripsi

Apa yang Dilakukan Skill Ini

Scores and prioritizes open GitHub pull requests against a project vision document. Three steps: onboard (interview the repo owner to define mission and rubric), scan (apply heuristic scoring to PRs), and report (generate markdown files grouped by priority tier). Duplicate detection and cron scheduling are included.

Scores PRs against a custom vision document derived from the actual repo owner's priorities, rather than applying generic quality heuristics.

Kapan Menggunakannya

  • Triaging 50+ open PRs on a busy open source repo
  • Building a priority queue before a release or milestone deadline
  • Flagging spam and low-quality contributions automatically
  • Detecting duplicate PRs across a large backlog
  • Running weekly automated triage on a schedule

Contoh Alur Kerja

INPUT

User asks: Triage the open PRs on github.com/myorg/myrepo

AGENT
  1. 1

    Run onboard.py with the repo URL to fetch README, CONTRIBUTING.md, and recent releases via gh CLI

  2. 2

    Present interview questions to the repo owner covering mission, contribution priorities, and red/green flags

  3. 3

    Save vision.md and rubric.md to the triage-config directory

  4. 4

    Run scan.py against the repo using vision.md to score all open PRs and detect duplicates

  5. 5

    Run report.py to produce prioritize.md, review.md, close.md, and summary.md

OUTPUT

Four markdown reports grouping PRs by score tier (80+, 50-79, below 50), with a summary of score distribution, top PRs, duplicate candidates, and active authors

Persyaratan

  • gh CLI installed and authenticated via gh auth login

Instalasi

clawhub install patrob/repo-pr-triage

Jalankan perintah CLI-nya, atau tempel prompt ke Claude Code, Cursor, Codex, atau coding agent apa pun yang Anda pakai.

Tautan