بنقرة واحدة
triage-prs
Triage duplicate/stale PRs — cluster by topic, compare, keep best, close rest
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Triage duplicate/stale PRs — cluster by topic, compare, keep best, close rest
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Load perl-lsp coding standards for code-writing or code-review work in this repo. Use when implementing, fixing, reviewing, or validating code.
Merge approved PRs in safe batches — checks CI, fixes policy failures, handles conflicts, ratchets corpus after parser merges.
Run a TDD parser-fix workflow for perl-parser-core or related parser crates. Use when a parser bug has a concrete failing construct and needs tests, a minimal fix, and verification.
Turn a discovery into a builder-ready handoff packet. Use when a scout or coordinator has identified a concrete slice and needs exact scope, verification, and routing rather than code changes.
Research-first workflow that scouts exact scope before launching a constrained builder. Use when a feature or fix is too unconstrained for a direct builder — converts ~50% success into ~90% by eliminating implicit decisions.
Load roadmap weighting for scouts and coordinators so slices are ranked by actual repo priorities instead of convenience.
| name | triage-prs |
| description | Triage duplicate/stale PRs — cluster by topic, compare, keep best, close rest |
| disable-model-invocation | true |
| user-invocable | true |
| argument-hint | [optional: PR number range or 'all'] |
Triage open PRs. Focus: $ARGUMENTS
gh pr list --state open --json number,title,headRefName,mergeable,updatedAt --limit 100$ARGUMENTS is empty or all, keep the full list.$ARGUMENTS is a numeric range like 1200-1210, filter the fetched PRs to that inclusive range before any clustering or closing.$ARGUMENTS cannot be parsed into a safe range, stop and report the invalid input instead of guessing.gh pr view <num> --json body,files,updatedAt,mergeable,reviewDecision,headRefNameAgent(subagent_type: "Explore", prompt: "Compare PRs #X, #Y, #Z.
Run: gh pr diff <num> --stat && gh pr view <num> --json body,files,updatedAt,additions,deletions
Return: which is most complete, which has unique good ideas, which to keep, and whether file overlap is real")
updatedAt)$ARGUMENTS set:
gh pr close <num> --comment "Closing — keeping #<best>"