trailofbits/skills✦ 精选0°

github-triage

仓库创建 2026年1月15日最近提交 3 小时前SkillHot 收录 2 小时前
▸ 精选理由

能显著减少库维护者的人工 triage 工作量。

▸ 风险提示

需要 GitHub 写权限和 gh CLI,可能操作仓库或合并 PR。

这个 Skill 做什么

使用 gh CLI 自动化审查、合并 PR 并清理已解决 Issue。

用 gh CLI 批量清理和梳理 GitHub 上的 Issue 与 PR:会优先合并已经通过的自动化或维护者批准的 PR,给未审阅的 PR 发起复审流程,再把已经解决的 Issue 关闭并在评论里引用对应的 PR 或 commit。适合做 repo 的日常 triage、groom 或审查冲刺。亮点是自动化合并与跨引用、并能给未公开的本地优先级和变更规模做标注,方便后续排期。

▸ 展开 SKILL.md 英文原文

Triages a repository's open GitHub issues and pull requests via the gh CLI. Optionally reviews and merges ready PRs — incrementally merging passing automated/bot PRs and maintainer-approved ones, and spawning review subagents for never-reviewed ones — then closes already-resolved issues with comments citing the resolving PR or commit, cross-links issues with their pending fix PRs, and assigns local-only priority and change-size estimates for everything outstanding. Use when triaging, grooming, or reviewing a repository's open issues and PRs.

开发编程GitHubtriage自动化通用
6.3k
Stars
545
Forks
40
仓库内 Skill
+322
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/trailofbits/skills/main/plugins/github-triage/skills/github-triage/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/trailofbits/skills/main/plugins/github-triage/skills/github-triage/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# GitHub Triage

Triage a repository's open GitHub issues and pull requests. Optionally clear ready
PRs first (merge passing bot PRs and maintainer-approved PRs, review never-reviewed
ones), then close issues that are already resolved (with a comment citing the PR or
commit that resolved them), make sure issues and the pending PRs that fix them
reference each other, and assign a **local-only** priority and change-size estimate
to every issue that is still outstanding.

## When to Use

- When the user runs `/github-triage` to groom or review a repository's open issues
  and pull requests.
- When an issue backlog has drifted: resolved work left open, fixes landed without
  closing their issues
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有