[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C6089MWNE77GGGM9HRC2EM":3,"skill-same:01M6C6089MWNE77GGGM9HRC2EM":133},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":52,"linkOnly":53,"markdownContent":54,"markdownBody":55,"frontMatter":56,"refName":63,"commitSha":64,"skillDirectory":65,"forksCount":66,"repositoryHtmlUrl":67,"repositoryHomepageUrl":17,"ownerHtmlUrl":68,"ownerBlogUrl":17,"ownerDescription":69,"updatedAt":70,"install":71,"resources":84},"01M6C6089MWNE77GGGM9HRC2EM","git-triage","GitHub issue 与 PR 分诊","Backlog sweep over open issues and PRs — staleness, cross-links, close\u002Fmerge recommendations, no code changes. Use when grooming the backlog, deciding what to close, or pre-release cleanup.","对未关闭的 issue 和 PR 进行待办列表（backlog）清理——检查陈旧状态、交叉链接、关闭\u002F合并建议，不涉及代码更改。当整理待办列表、决定关闭哪些事项，或发布前清理时使用。","laurigates\u002Fclaude-plugins","laurigates","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F13014001?v=4","01M6C59YHWS9C7KMXKSRX1YXNP","Lauri Gates","01M6C59YP2APG9YAM4DWYQYGFJ",60,"MIT",null,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fgit-plugin\u002Fskills\u002Fgit-triage\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BR5V701HCN066VEP7H4812","代码仓库协作管理","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51],"git","triage","git triage","2026","when","issue","release","read","recommendations","merge","close","batch","log","api","code","Bash","auto","cleanup","open","issues","gh pr","2026-11-10 10:12:30",false,"---\nname: git-triage\ndescription: \"Backlog sweep over open issues and PRs — staleness, cross-links, close\u002Fmerge recommendations, no code changes. Use when grooming the backlog, deciding what to close, or pre-release cleanup.\"\nargs: \"[--type issues|prs|both] [--batch N] [--repo owner\u002Fname] [--days-stale-issue N] [--days-stale-pr N] [--auto-close] [--auto-merge] [--oldest-first]\"\nargument-hint: \"--type both --batch 10 (defaults: days-stale-issue=90, days-stale-pr=30, current repo)\"\nallowed-tools: Bash(bash *), Bash(python3 *), Bash(gh issue *), Bash(gh pr *), Bash(gh api *), Bash(gh repo *), Bash(git log *), Bash(rg *), Read, Grep, Glob, AskUserQuestion\ncreated: 2026-04-22\nmodified: 2026-11-07\nreviewed: 2026-09-23\n---\n\n# \u002Fgit:triage\n\nUnified issue and PR triage: scan, categorize, cross-link, and optionally act.\n\n## When to Use This Skill\n\n| Use this skill when... | Use another skill instead when... |\n|------------------------|------------------------------------|\n| Grooming the backlog periodically (weekly\u002Fmonthly) | Addressing one specific issue → `\u002Fgit:issue` |\n| Cutting a release and want to merge anything green | Fixing a single failing PR → `\u002Fgit:fix-pr` |\n| Cleaning up after a busy week of PRs and issues | Applying review feedback on one PR → `\u002Fgit:pr-feedback` |\n| Auditing what's still relevant across the queue | Creating new sub-issue hierarchy → `\u002Fgit:issue-hierarchy` |\n| Deciding which issues are \"quick wins\" next | Administrative ops on one issue → `\u002Fgit:issue-manage` |\n\n## Context\n\n- Repo remote: !`git remote -v`\n- Repo toplevel: !`git rev-parse --show-toplevel`\n- Current branch: !`git branch --show-current`\n- Recent merged PRs: !`git log --merges --format='%h %s' --max-count=15`\n\n## Parameters\n\nParse these from `$ARGUMENTS` (all optional):\n\n| Flag | Default | Description |\n|------|---------|-------------|\n| `--type issues\\|prs\\|both` | `both` | What to triage |\n| `--batch N` | `10` | Max items fetched per type — the N most recently created open items |\n| `--repo owner\u002Fname` | current repo (from `origin`) | Target repository |\n| `--days-stale-issue N` | `90` | Age threshold for stale issues |\n| `--days-stale-pr N` | `30` | Age threshold for stale PRs |\n| `--auto-close` | off | Close implemented \u002F stale issues (asks confirmation first) |\n| `--auto-merge` | off | Merge ready-to-merge PRs (asks confirmation first) |\n| `--oldest-first` | on | Process the fetched batch chronologically by `updatedAt`; never changes which items were fetched |\n\nWrites are **disabled by default**. `--auto-close` and `--auto-merge` still require a per-batch `AskUserQuestion` confirmation before any `gh issue close` or `gh pr merge`.\n\n## Execution\n\nExecute this triage workflow:\n\n### Step 1: Resolve target repo and gather batches\n\nRun the data-gathering script. It fetches issue\u002FPR batches, computes age in days\nper item, categorizes each PR via the pure first-match table (over `isDraft`,\n`mergeable`, `mergeStateStatus`, `reviewDecision`, and `statusCheckRollup[].conclusion`),\nflags stale-candidate issues, carries each issue's title, reports per-issue\nprogress, and extracts each PR's closing keywords:\n\n```bash\nbash \"${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fgit-triage.sh\" --home-dir \"$HOME\" --project-dir \"$(pwd)\" --type \"$TYPE\" --batch \"$BATCH\" --days-stale-issue \"$STALE_ISSUE\" --days-stale-pr \"$STALE_PR\"\n```\n\nRead the coverage keys first:\n\n| Key | Meaning |\n|-----|---------|\n| `ISSUES_FETCHED` \u002F `PRS_FETCHED` | Items in this batch — the count to report |\n| `ISSUES_TOTAL` \u002F `PRS_TOTAL` | Unbounded open count, or `unknown` when it could not be read |\n| `ISSUES_TRUNCATED` \u002F `PRS_TRUNCATED` | `true` when the total exceeds the batch |\n| `TRUNCATED` | Roll-up over both halves: `true` beats `unknown` beats `false` |\n\n`--batch` caps each fetch, and gh returns the N most recently **created** open\nitems, so the default batch is the newest slice of the backlog. It therefore\nleaves out the oldest items, which are exactly the stale candidates. When\n`TRUNCATED=true`, say \"triaged N of M\" wherever the report states a count, and\nre-run with `--batch` set to the `_TOTAL` value for a full sweep. When\n`TRUNCATED=unknown`, report the coverage as unverified rather than complete.\n`--oldest-first` reorders only the fetched batch.\n\n`STATUS=`, `ISSUE_COUNT=`, and the `ISSUES:` block are the collector's own\ndiagnostics (for example, a fetch that returned non-JSON), not GitHub issues:\n`ISSUE_COUNT=0` beside ten issue blocks means the collector hit no problems.\nRead `STATUS=` to decide whether the data can be trusted, and the `ISSUES:`\nrows (present only when `ISSUE_COUNT` is above 0) for why.\n\nPer item it emits\n`ISSUE_\u003Cn>_TITLE` \u002F `ISSUE_\u003Cn>_AGE_DAYS` \u002F `ISSUE_\u003Cn>_REFS` \u002F\n`ISSUE_\u003Cn>_COMMENTS` \u002F `ISSUE_\u003Cn>_STALE_CANDIDATE`, the Step 2 progress keys, and\n`PR_\u003Cn>_CATEGORY` \u002F `PR_\u003Cn>_AGE_DAYS` \u002F `PR_\u003Cn>_CLOSES` (plus the underlying\nenum fields). It also rolls up `SYSTEMATIC_FAILURE_*` groups (see Step 4).\nIf `--repo` was provided, pass it through; the script reads the\ncurrent repo from `origin` otherwise. Sort each set by age (oldest first if\n`--oldest-first`) and track one entry per item — via `TodoWrite` when the\nsession has the task tools (see `.claude\u002Frules\u002Fagentic-permissions.md` §\nTask-tool availability), otherwise as a checklist you keep in the response.\n\n### Step 2: Investigate each issue (skip if `--type prs`)\n\nFor each open issue in parallel (batch reads), gather evidence:\n\n1. Read the progress keys first ([REFERENCE.md](REFERENCE.md#per-issue-progress-keys)):\n   `ISSUE_\u003Cn>_CHECKBOXES` \u002F `_SUBISSUES` (done\u002Ftotal), `_MERGED_PRS` (`*` =\n   closes the issue), `_CLOSE_CANDIDATE` (a hint to verify). A merged PR\n   **without** `*` is evidence, not a close signal: it may only reference the\n   issue, so read what it changed.\n2. For PRs those keys miss (`#N` in a comment, `MERGED_PRS=unknown`),\n   extract `#(\\d+)` from title, body, and comments, and check each:\n   ```bash\n   gh pr view \u003Cn> --repo $REPO --json number,state,mergedAt,title\n   ```\n3. Search the codebase for concrete nouns in the issue (file paths, functions, resources, commands) using Grep. Evidence that described artefacts exist (or no longer exist) feeds the categorization.\n\n### Step 3: Categorize each issue\n\n| Category | Criteria |\n|----------|----------|\n| `implemented` | A referenced PR is merged AND codebase shows the promised artefacts |\n| `outdated` | Referenced files\u002Fresources no longer exist; issue predates current structure |\n| `stale` | `age > --days-stale-issue` AND no recent comments AND not `implemented` |\n| `tripwire-candidate` | Work remains, but only once a condition visible in the source comes true (\"if the list ever grows past…\", \"when we upgrade to…\") |\n| `still-valid` | None of the above — work remains |\n\nRecord the winning PR number (if any) with each `implemented` entry.\n\n### Step 4: Read each PR's category (skip if `--type issues`)\n\nRead `PR_\u003Cn>_CATEGORY` from Step 1's output. For the category table, `uncategorized` PRs, and `SYSTEMATIC_FAILURE_*` groups (one shared root cause, one grouped row), see [references\u002Fpr-categories.md](references\u002Fpr-categories.md).\n\n### Step 5: Cross-link issues and PRs\n\n- For each `implemented` issue (from Step 3's judgment), attach the merged PR number.\n- For each `ready-to-merge` PR, read the closing keywords the script extracted\n  in `PR_\u003Cn>_CLOSES` and attach those issue numbers.\n- For each `needs-fix` \u002F `needs-rebase` \u002F `changes-requested` PR, note the referenced issues so the report can suggest which issues remain blocked.\n\n### Step 6: Present the prioritized queue\n\nOrder quick wins first; print one status table per type, grouped by category, as in [references\u002Freport-template.md](references\u002Freport-template.md). Use AskUserQuestion only when the user must pick what to act on next.\n\n### Step 7: Optional writes (guarded)\n\nOnly with `--auto-close` \u002F `--auto-merge`: confirm via `AskUserQuestion` before any `gh issue close` or `gh pr merge`, then act per [references\u002Fguarded-writes.md](references\u002Fguarded-writes.md).\n\n### Step 8: Synthesize the backlog report\n\nAfter per-item actions, emit a structured summary:\n\n1. **Actions taken** — count of issues closed, PRs merged, with numbers.\n2. **Quick wins** — `still-valid` issues whose body suggests \u003C30 min of work (single file, doc edit, config tweak).\n3. **Blockers** — `changes-requested` PRs and issues blocked on external factors. For each `SYSTEMATIC_FAILURE_*` group, emit one \"systematic failure — likely shared root cause\" line naming the PRs and the shared check signature, rather than N independent `needs-fix` entries.\n4. **Decisions needed** — `still-valid` issues whose body ends in a question or \"how should we…\".\n5. **Handoff recommendations** per category:\n\n   Next skill for each category: [references\u002Freport-template.md](references\u002Freport-template.md#handoff-recommendations-step-8).\n\n## Post-actions\n\n- Print a one-line summary: `Triaged N of M open issues (X closed), P of Q open PRs (Y merged). See report above.`\n- If any writes were gated behind confirmation that the user declined, leave the items open and note \"no writes — report only\".\n- Remind the user they can re-run with `--type prs` or `--type issues` to focus the sweep.\n\n## Workflow harness (template)\n\n`workflows\u002Fissue-triage-sweep.workflow.js` ships beside this skill.\n**It is a TEMPLATE to adapt, not a script to run verbatim.** Read it, then rewrite it for the\nwork in front of you.\n\nIt gives each listed issue, in one or more repositories, one read-only verdict (`actionable`,\n`needs_decision`, `blocked_on_event`, `close_candidate`) after reading the whole thread, looking\nfor an open PR, and re-verifying cited evidence at the base ref in a local clone. Inputs, the\nreturn shape, and how it differs from `git-plugin:git-issue`'s slicing template:\n[references\u002Fissue-triage-workflow.md](references\u002Fissue-triage-workflow.md).\n\n**Adapt freely:** the agent prompt and reading commands, the verdict definitions\n(`args.classes`), the environment limits paragraph (`args.limits`), the repositories and clones\nin `args.repos`, and `MAX_ISSUES` together with the literal in the fan-out.\n\n**Agent budget:** 40 — one read-only opus agent per listed issue, at the cap of 40 issues.\n\n**Preserve across any adaptation:** (a) the loop bound comes from `args.issues`, cut by\n`ISSUES.slice(0, 40)` in the fan-out after an explicit over-cap abort, never a prose \"for each\"\nand never a silent truncation; (b) the closed four-verdict enum with every schema field required,\nand a dead agent reported in `missing`, never as a verdict; (c) agents stay read-only and read\nevidence from the base ref in the clone without switching its branch. There is no barrier: each\nverdict depends only on its own issue.\n\n**Skip the harness when:** the sweep covers one or two issues, or one repository's `--batch` that\nSteps 2–3 handle — that is a linear pass and the harness is pure overhead. The\n[Execution](#execution) steps remain the authoritative description of *what* each stage must\nproduce; the harness only fixes *how* the work is split.\n\n## Agentic Optimizations\n\nSee [references\u002Fcommands.md](references\u002Fcommands.md) for compact list, status, merge-state, close, and merge commands, and the related skills per category.\n","# \u002Fgit:triage\n\nUnified issue and PR triage: scan, categorize, cross-link, and optionally act.\n\n## When to Use This Skill\n\n| Use this skill when... | Use another skill instead when... |\n|------------------------|------------------------------------|\n| Grooming the backlog periodically (weekly\u002Fmonthly) | Addressing one specific issue → `\u002Fgit:issue` |\n| Cutting a release and want to merge anything green | Fixing a single failing PR → `\u002Fgit:fix-pr` |\n| Cleaning up after a busy week of PRs and issues | Applying review feedback on one PR → `\u002Fgit:pr-feedback` |\n| Auditing what's still relevant across the queue | Creating new sub-issue hierarchy → `\u002Fgit:issue-hierarchy` |\n| Deciding which issues are \"quick wins\" next | Administrative ops on one issue → `\u002Fgit:issue-manage` |\n\n## Context\n\n- Repo remote: !`git remote -v`\n- Repo toplevel: !`git rev-parse --show-toplevel`\n- Current branch: !`git branch --show-current`\n- Recent merged PRs: !`git log --merges --format='%h %s' --max-count=15`\n\n## Parameters\n\nParse these from `$ARGUMENTS` (all optional):\n\n| Flag | Default | Description |\n|------|---------|-------------|\n| `--type issues\\|prs\\|both` | `both` | What to triage |\n| `--batch N` | `10` | Max items fetched per type — the N most recently created open items |\n| `--repo owner\u002Fname` | current repo (from `origin`) | Target repository |\n| `--days-stale-issue N` | `90` | Age threshold for stale issues |\n| `--days-stale-pr N` | `30` | Age threshold for stale PRs |\n| `--auto-close` | off | Close implemented \u002F stale issues (asks confirmation first) |\n| `--auto-merge` | off | Merge ready-to-merge PRs (asks confirmation first) |\n| `--oldest-first` | on | Process the fetched batch chronologically by `updatedAt`; never changes which items were fetched |\n\nWrites are **disabled by default**. `--auto-close` and `--auto-merge` still require a per-batch `AskUserQuestion` confirmation before any `gh issue close` or `gh pr merge`.\n\n## Execution\n\nExecute this triage workflow:\n\n### Step 1: Resolve target repo and gather batches\n\nRun the data-gathering script. It fetches issue\u002FPR batches, computes age in days\nper item, categorizes each PR via the pure first-match table (over `isDraft`,\n`mergeable`, `mergeStateStatus`, `reviewDecision`, and `statusCheckRollup[].conclusion`),\nflags stale-candidate issues, carries each issue's title, reports per-issue\nprogress, and extracts each PR's closing keywords:\n\n```bash\nbash \"${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fgit-triage.sh\" --home-dir \"$HOME\" --project-dir \"$(pwd)\" --type \"$TYPE\" --batch \"$BATCH\" --days-stale-issue \"$STALE_ISSUE\" --days-stale-pr \"$STALE_PR\"\n```\n\nRead the coverage keys first:\n\n| Key | Meaning |\n|-----|---------|\n| `ISSUES_FETCHED` \u002F `PRS_FETCHED` | Items in this batch — the count to report |\n| `ISSUES_TOTAL` \u002F `PRS_TOTAL` | Unbounded open count, or `unknown` when it could not be read |\n| `ISSUES_TRUNCATED` \u002F `PRS_TRUNCATED` | `true` when the total exceeds the batch |\n| `TRUNCATED` | Roll-up over both halves: `true` beats `unknown` beats `false` |\n\n`--batch` caps each fetch, and gh returns the N most recently **created** open\nitems, so the default batch is the newest slice of the backlog. It therefore\nleaves out the oldest items, which are exactly the stale candidates. When\n`TRUNCATED=true`, say \"triaged N of M\" wherever the report states a count, and\nre-run with `--batch` set to the `_TOTAL` value for a full sweep. When\n`TRUNCATED=unknown`, report the coverage as unverified rather than complete.\n`--oldest-first` reorders only the fetched batch.\n\n`STATUS=`, `ISSUE_COUNT=`, and the `ISSUES:` block are the collector's own\ndiagnostics (for example, a fetch that returned non-JSON), not GitHub issues:\n`ISSUE_COUNT=0` beside ten issue blocks means the collector hit no problems.\nRead `STATUS=` to decide whether the data can be trusted, and the `ISSUES:`\nrows (present only when `ISSUE_COUNT` is above 0) for why.\n\nPer item it emits\n`ISSUE_\u003Cn>_TITLE` \u002F `ISSUE_\u003Cn>_AGE_DAYS` \u002F `ISSUE_\u003Cn>_REFS` \u002F\n`ISSUE_\u003Cn>_COMMENTS` \u002F `ISSUE_\u003Cn>_STALE_CANDIDATE`, the Step 2 progress keys, and\n`PR_\u003Cn>_CATEGORY` \u002F `PR_\u003Cn>_AGE_DAYS` \u002F `PR_\u003Cn>_CLOSES` (plus the underlying\nenum fields). It also rolls up `SYSTEMATIC_FAILURE_*` groups (see Step 4).\nIf `--repo` was provided, pass it through; the script reads the\ncurrent repo from `origin` otherwise. Sort each set by age (oldest first if\n`--oldest-first`) and track one entry per item — via `TodoWrite` when the\nsession has the task tools (see `.claude\u002Frules\u002Fagentic-permissions.md` §\nTask-tool availability), otherwise as a checklist you keep in the response.\n\n### Step 2: Investigate each issue (skip if `--type prs`)\n\nFor each open issue in parallel (batch reads), gather evidence:\n\n1. Read the progress keys first ([REFERENCE.md](REFERENCE.md#per-issue-progress-keys)):\n   `ISSUE_\u003Cn>_CHECKBOXES` \u002F `_SUBISSUES` (done\u002Ftotal), `_MERGED_PRS` (`*` =\n   closes the issue), `_CLOSE_CANDIDATE` (a hint to verify). A merged PR\n   **without** `*` is evidence, not a close signal: it may only reference the\n   issue, so read what it changed.\n2. For PRs those keys miss (`#N` in a comment, `MERGED_PRS=unknown`),\n   extract `#(\\d+)` from title, body, and comments, and check each:\n   ```bash\n   gh pr view \u003Cn> --repo $REPO --json number,state,mergedAt,title\n   ```\n3. Search the codebase for concrete nouns in the issue (file paths, functions, resources, commands) using Grep. Evidence that described artefacts exist (or no longer exist) feeds the categorization.\n\n### Step 3: Categorize each issue\n\n| Category | Criteria |\n|----------|----------|\n| `implemented` | A referenced PR is merged AND codebase shows the promised artefacts |\n| `outdated` | Referenced files\u002Fresources no longer exist; issue predates current structure |\n| `stale` | `age > --days-stale-issue` AND no recent comments AND not `implemented` |\n| `tripwire-candidate` | Work remains, but only once a condition visible in the source comes true (\"if the list ever grows past…\", \"when we upgrade to…\") |\n| `still-valid` | None of the above — work remains |\n\nRecord the winning PR number (if any) with each `implemented` entry.\n\n### Step 4: Read each PR's category (skip if `--type issues`)\n\nRead `PR_\u003Cn>_CATEGORY` from Step 1's output. For the category table, `uncategorized` PRs, and `SYSTEMATIC_FAILURE_*` groups (one shared root cause, one grouped row), see [references\u002Fpr-categories.md](references\u002Fpr-categories.md).\n\n### Step 5: Cross-link issues and PRs\n\n- For each `implemented` issue (from Step 3's judgment), attach the merged PR number.\n- For each `ready-to-merge` PR, read the closing keywords the script extracted\n  in `PR_\u003Cn>_CLOSES` and attach those issue numbers.\n- For each `needs-fix` \u002F `needs-rebase` \u002F `changes-requested` PR, note the referenced issues so the report can suggest which issues remain blocked.\n\n### Step 6: Present the prioritized queue\n\nOrder quick wins first; print one status table per type, grouped by category, as in [references\u002Freport-template.md](references\u002Freport-template.md). Use AskUserQuestion only when the user must pick what to act on next.\n\n### Step 7: Optional writes (guarded)\n\nOnly with `--auto-close` \u002F `--auto-merge`: confirm via `AskUserQuestion` before any `gh issue close` or `gh pr merge`, then act per [references\u002Fguarded-writes.md](references\u002Fguarded-writes.md).\n\n### Step 8: Synthesize the backlog report\n\nAfter per-item actions, emit a structured summary:\n\n1. **Actions taken** — count of issues closed, PRs merged, with numbers.\n2. **Quick wins** — `still-valid` issues whose body suggests \u003C30 min of work (single file, doc edit, config tweak).\n3. **Blockers** — `changes-requested` PRs and issues blocked on external factors. For each `SYSTEMATIC_FAILURE_*` group, emit one \"systematic failure — likely shared root cause\" line naming the PRs and the shared check signature, rather than N independent `needs-fix` entries.\n4. **Decisions needed** — `still-valid` issues whose body ends in a question or \"how should we…\".\n5. **Handoff recommendations** per category:\n\n   Next skill for each category: [references\u002Freport-template.md](references\u002Freport-template.md#handoff-recommendations-step-8).\n\n## Post-actions\n\n- Print a one-line summary: `Triaged N of M open issues (X closed), P of Q open PRs (Y merged). See report above.`\n- If any writes were gated behind confirmation that the user declined, leave the items open and note \"no writes — report only\".\n- Remind the user they can re-run with `--type prs` or `--type issues` to focus the sweep.\n\n## Workflow harness (template)\n\n`workflows\u002Fissue-triage-sweep.workflow.js` ships beside this skill.\n**It is a TEMPLATE to adapt, not a script to run verbatim.** Read it, then rewrite it for the\nwork in front of you.\n\nIt gives each listed issue, in one or more repositories, one read-only verdict (`actionable`,\n`needs_decision`, `blocked_on_event`, `close_candidate`) after reading the whole thread, looking\nfor an open PR, and re-verifying cited evidence at the base ref in a local clone. Inputs, the\nreturn shape, and how it differs from `git-plugin:git-issue`'s slicing template:\n[references\u002Fissue-triage-workflow.md](references\u002Fissue-triage-workflow.md).\n\n**Adapt freely:** the agent prompt and reading commands, the verdict definitions\n(`args.classes`), the environment limits paragraph (`args.limits`), the repositories and clones\nin `args.repos`, and `MAX_ISSUES` together with the literal in the fan-out.\n\n**Agent budget:** 40 — one read-only opus agent per listed issue, at the cap of 40 issues.\n\n**Preserve across any adaptation:** (a) the loop bound comes from `args.issues`, cut by\n`ISSUES.slice(0, 40)` in the fan-out after an explicit over-cap abort, never a prose \"for each\"\nand never a silent truncation; (b) the closed four-verdict enum with every schema field required,\nand a dead agent reported in `missing`, never as a verdict; (c) agents stay read-only and read\nevidence from the base ref in the clone without switching its branch. There is no barrier: each\nverdict depends only on its own issue.\n\n**Skip the harness when:** the sweep covers one or two issues, or one repository's `--batch` that\nSteps 2–3 handle — that is a linear pass and the harness is pure overhead. The\n[Execution](#execution) steps remain the authoritative description of *what* each stage must\nproduce; the harness only fixes *how* the work is split.\n\n## Agentic Optimizations\n\nSee [references\u002Fcommands.md](references\u002Fcommands.md) for compact list, status, merge-state, close, and merge commands, and the related skills per category.\n",{"args":57,"name":5,"created":58,"modified":59,"reviewed":60,"description":7,"allowed-tools":61,"argument-hint":62},"[--type issues|prs|both] [--batch N] [--repo owner\u002Fname] [--days-stale-issue N] [--days-stale-pr N] [--auto-close] [--auto-merge] [--oldest-first]",1776816000000,1794009600000,1790121600000,"Bash(bash *), Bash(python3 *), Bash(gh issue *), Bash(gh pr *), Bash(gh api *), Bash(gh repo *), Bash(git log *), Bash(rg *), Read, Grep, Glob, AskUserQuestion","--type both --batch 10 (defaults: days-stale-issue=90, days-stale-pr=30, current repo)","main","99a8dc405f43573539bd2356c3fe7a9d4136737c","git-plugin\u002Fskills\u002Fgit-triage",6,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins","https:\u002F\u002Fgithub.com\u002Flaurigates","Linux enthusiast, cloud engineer, neovim addict, electronics hobbyist.","2026-11-15 03:36:11",{"source":9,"skillName":5,"commands":72,"prompt":82,"zipAvailable":83},[73,76,79],{"tool":74,"command":75},"npx","npx skills add laurigates\u002Fclaude-plugins --skill git-triage",{"tool":77,"command":78},"bunx","bunx skills add laurigates\u002Fclaude-plugins --skill git-triage",{"tool":80,"command":81},"pnpm","pnpm dlx skills add laurigates\u002Fclaude-plugins --skill git-triage","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fgit-plugin\u002Fskills\u002Fgit-triage\u002FSKILL.md",true,[85,91,95,99,103,107,111,117,121,125,129],{"path":86,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":89,"sourceHtmlUrl":90},"REFERENCE.md","REFERENCE","参考文档",6397,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fgit-plugin\u002Fskills\u002Fgit-triage\u002FREFERENCE.md",{"path":92,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":93,"sourceHtmlUrl":94},"references\u002Fcommands.md",1178,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fgit-plugin\u002Fskills\u002Fgit-triage\u002Freferences\u002Fcommands.md",{"path":96,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":97,"sourceHtmlUrl":98},"references\u002Fguarded-writes.md",1100,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fgit-plugin\u002Fskills\u002Fgit-triage\u002Freferences\u002Fguarded-writes.md",{"path":100,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":101,"sourceHtmlUrl":102},"references\u002Fissue-triage-workflow.md",3030,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fgit-plugin\u002Fskills\u002Fgit-triage\u002Freferences\u002Fissue-triage-workflow.md",{"path":104,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":105,"sourceHtmlUrl":106},"references\u002Fpr-categories.md",2387,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fgit-plugin\u002Fskills\u002Fgit-triage\u002Freferences\u002Fpr-categories.md",{"path":108,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":109,"sourceHtmlUrl":110},"references\u002Freport-template.md",1721,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fgit-plugin\u002Fskills\u002Fgit-triage\u002Freferences\u002Freport-template.md",{"path":112,"resourceType":113,"resourceTypeDesc":114,"sizeBytes":115,"sourceHtmlUrl":116},"scripts\u002Fgit-triage.sh","SCRIPT","脚本",26374,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fgit-plugin\u002Fskills\u002Fgit-triage\u002Fscripts\u002Fgit-triage.sh",{"path":118,"resourceType":113,"resourceTypeDesc":114,"sizeBytes":119,"sourceHtmlUrl":120},"scripts\u002Ftests\u002Frun-issue-triage.mjs",6056,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fgit-plugin\u002Fskills\u002Fgit-triage\u002Fscripts\u002Ftests\u002Frun-issue-triage.mjs",{"path":122,"resourceType":113,"resourceTypeDesc":114,"sizeBytes":123,"sourceHtmlUrl":124},"scripts\u002Ftests\u002Ftest-git-triage.sh",42625,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fgit-plugin\u002Fskills\u002Fgit-triage\u002Fscripts\u002Ftests\u002Ftest-git-triage.sh",{"path":126,"resourceType":113,"resourceTypeDesc":114,"sizeBytes":127,"sourceHtmlUrl":128},"scripts\u002Ftests\u002Ftest-issue-triage-workflow.sh",1166,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fgit-plugin\u002Fskills\u002Fgit-triage\u002Fscripts\u002Ftests\u002Ftest-issue-triage-workflow.sh",{"path":130,"resourceType":113,"resourceTypeDesc":114,"sizeBytes":131,"sourceHtmlUrl":132},"workflows\u002Fissue-triage-sweep.workflow.js",12652,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fgit-plugin\u002Fskills\u002Fgit-triage\u002Fworkflows\u002Fissue-triage-sweep.workflow.js",[134,142,164,185,201,223],{"skillNo":135,"name":136,"nameZh":17,"description":137,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":138,"categories":139,"keywords":140,"publishedAt":141},"01M7DS1CAJ1ESDX08PENF01J0S","session-workflow-capture","Workflow-tool scripts and workflow friction from this session, filed as issues here or in the plugins repo. Use when a session ran Workflow scripts.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fsession-plugin\u002Fskills\u002Fsession-workflow-capture\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":143,"name":144,"nameZh":17,"description":145,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":146,"categories":147,"keywords":148,"publishedAt":52},"01M70PFHMH9ADY0CRE6047Y4B2","kitty-show-image","Show the user an image with a note on what to judge, via a file send or a labelled kitty tab. Use when the user must see an image, or icat fails with no \u002Fdev\u002Ftty.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fkitty-plugin\u002Fskills\u002Fkitty-show-image\u002FSKILL.md",[],[149,150,151,152,153,154,155,156,49,157,158,35,46,159,160,161,162,163,34,38],"show","kitty show image","image","kitty","show image","ls","get","send","dev","use","file","text","with","xdg","via",{"skillNo":165,"name":166,"nameZh":17,"description":167,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":168,"categories":169,"keywords":170,"publishedAt":52},"01M70PFEN18HKQ4RCQ1VPGMPTB","kitty-session-persistence","Snapshot and restore kitty terminal sessions on macOS. Use when surviving WindowServer hangs without losing tabs, configuring snapshots, or restoring after a force-reboot.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fkitty-plugin\u002Fskills\u002Fkitty-session-persistence\u002FSKILL.md",[],[152,171,172,173,174,175,35,46,176,177,178,34,38,179,180,181,182,183,184,158],"kitty session persistence","session","persistence","false","snapshots","uname","reboot","terminal","write","edit","snapshot","macos","sessions","restore",{"skillNo":186,"name":187,"nameZh":17,"description":188,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":189,"categories":190,"keywords":191,"publishedAt":52},"01M70PFC77XGXCVQ1543VGZHYR","kitty-remote-control","Safe kitty remote control from an agent — read panes with kitty @ ls\u002Fget-text, notify, and never mutate the live terminal unasked. Use when running inside kitty.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fkitty-plugin\u002Fskills\u002Fkitty-remote-control\u002FSKILL.md",[],[192,193,152,194,195,154,196,197,155,198,199,158,35,200,46,160,161,178,34,38],"kitty remote control","remote","control","remote control","running","never","panes","notify","query",{"skillNo":202,"name":203,"nameZh":17,"description":204,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":205,"categories":206,"keywords":207,"publishedAt":52},"01M70P6WVMCT5JG4SACTM69AF9","docs-reference-check","Dangling doc-reference gate: flag markdown naming repo paths or relative links that no longer exist. Use when docs cite moved\u002Fdeleted files, or wiring a doc-drift lint.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fdocumentation-plugin\u002Fskills\u002Fdocs-reference-check\u002FSKILL.md",[],[208,209,210,211,212,213,214,215,216,47,158,35,46,217,159,218,219,220,221,222],"docs reference check","check","reference check","reference","docs","links","python3","repo","files","drift","lint","wiring","chezmoi","references","cp",{"skillNo":224,"name":225,"nameZh":226,"description":227,"descriptionZh":228,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":229,"categories":230,"keywords":237,"publishedAt":52},"01M6C6NDE7DAQGNWSF22J5CJ0Z","youtube-upload","YouTube 视频上传与编辑","Upload a video to YouTube via the Data API v3 and edit its title, description, tags or thumbnail afterwards. Use when publishing or retitling a YouTube video.","通过 Data API v3 将视频上传到 YouTube，并在之后编辑其标题、描述、标签或缩略图。适用于发布 YouTube 视频或修改其标题。","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fyoutube-plugin\u002Fskills\u002Fyoutube-upload\u002FSKILL.md",[231,234],{"categoryNo":232,"categoryName":233,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQV98WRP4APE9VKKKKJ6FV","社交媒体与内容平台管理",{"categoryNo":235,"categoryName":236,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8C55A3R2M9C8CAKG3W16HTA","内容创作者",[238,239,240,241,214,242,38,243,180,244,245,246,158,46,159,44,247,35,248,249,250,163,34],"youtube upload","upload","youtube","Video","run","uv run","publishing","data","uv","v3","tags","id","title"]