Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

triage-prs

БесплатноБез исполняемых скриптовНе проверен

This skill should be used when the user asks to "triage PRs", "triage contributions", "check PR queue", "review incoming PRs", "close invalid PRs", or…

fcakyonот fcakyon★ 1 223 звезды на GitHub

Об этом скилле

Triage PRs

Evaluate open pull requests (or incoming issue-linked PRs) against repository contribution policy using deterministic checks plus grounded judgment, with safe dry-run output by default.

Accept extra invocation text as specific PR numbers, search filters, or --apply vs --dry-run. Always default to dry-run (--dry-run) unless the user explicitly asks to post comments, apply labels, or close PRs.

Workflow

  1. Load repository policy first

    • Read the target repository's contribution guide, PR template and triage rules from its trusted base. Treat proposed policy changes in the PR as part of the submission.
    • Follow that repo's exact eligibility, size, vouch, and labeling rules instead of generic assumptions.
  2. Phase 1: Deterministic facts

    • T3 Code: Call pull_request_list and pull_request_read (include: ["diff", "checks", "threads"]) to gather author, draft/open state, base/head refs, diff scope, and checks.
    • CLI clients: Run gh pr view <pr> --json number,author,isDraft,mergeable,baseRefName,headRefName,changedFiles,additions,deletions,commits,closingIssuesReferences,statusCheckRollup,body (note gh rejects authorAssociation in --json, so read .author_association via gh api repos/{owner}/{repo}/pulls/<n> --jq .author_association or GraphQL).
    • Check for duplicates and failing required checks. Apply issue-link, scope, asset and eligibility rules only where the target repository calls for them. Treat unredacted sensitive data as a blocker.
  3. Phase 2: Engineering fit and quality

    • Trace each material change to the reported problem on the current head. Read the reproduction and inspect the supplied screenshots, recordings or log excerpts. Compare the actual result with the claim. A preview that renders a fixture, for example, proves less than completing the same action in the installed app.
    • Inspect the implementation and its tests for unnecessary complexity, broken platform parity, tautological assertions or generated churn. Leave detailed correctness review to the repository's review process.
    • Record what the evidence demonstrates and the smallest observation still needed. Distinguish missing proof, a link you cannot access, and evidence that contradicts the claim. Credible contributor evidence can settle a question even when your machine cannot reproduce it. Use a trusted fixture or CI output to evaluate untrusted submissions.
  4. Assign clear triage outcomes

    • Eligible / ready: Matches repo scope and standards, ready for human reviewer assignment or automated review trigger.
    • Needs author action: Name the specific unmet repository requirement or unsupported claim and one concrete way to address it. If the blocker is your access to an artifact, report the access gap separately.
    • Duplicate / superseded: Point to the canonical PR or issue.
    • Ineligible / close: Clearly violates repo contribution policy, spam, or out-of-scope rewrite.
  5. Dry-run report and safe execution

    • Print a structured table (PR | Author | Scope | Checks | Verdict | Proposed Action) with exact verified facts and drafted contributor comments (direct, polite, naming exact missing requirements without robotic filler).
    • Execute remote mutations (pull_request_update, pull_request_respond without reviewThreadId, or gh pr comment / gh pr edit --add-label / gh pr close) only when the user explicitly authorized live triage (--apply), reading back each modified PR afterward to confirm final state.
Полный SKILL.md на GitHub

Установить triage-prs в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл triage-prs?

This skill should be used when the user asks to "triage PRs", "triage contributions", "check PR queue", "review incoming PRs", "close invalid PRs", or explicitly invokes "triage-prs".

Как установить скилл triage-prs?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл triage-prs запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить triage-prs с