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★ 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
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.
Phase 1: Deterministic facts
- T3 Code: Call
pull_request_listandpull_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(noteghrejectsauthorAssociationin--json, so read.author_associationviagh api repos/{owner}/{repo}/pulls/<n> --jq .author_associationor 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.
- T3 Code: Call
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.
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.
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_respondwithoutreviewThreadId, orgh 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.
- Print a structured table (
Установить 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), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic