mattpocock/skills

triagemattpocock/skills

把工单按bug或enhancement分类,再在needs-triage、needs-info、ready-for-agent、ready-for-human、wontfix五个状态间流转。它会查重复实现、复现问题、澄清需求并写任务简报;是否包含外部PR由项目配置决定。

  • SKILL.md 已保存
  • 中文用法已整理
  • 安装与运行未实测
先判断是否解决你的问题

triage 是什么?

把工单按bug或enhancement分类,再在needs-triage、needs-info、ready-for-agent、ready-for-human、wontfix五个状态间流转。它会查重复实现、复现问题、澄清需求并写任务简报;是否包含外部PR由项目配置决定。

中文说明由本站依据来源整理;英文原文保留在页面下方。

同名项目,请核对仓库和目录

按客户端选择安装入口

怎么接入你的 Agent?

  1. 定位完整 Skill 目录

    打开本项目来源,核对 SKILL.md 及其引用的脚本和资料。

  2. 交给你正在用的 Agent

    在下面选择客户端,展开并复制安装指令,让 Agent 读取来源后选择安装方式。

  3. 确认识别,再做具体任务

    让 Agent 回报安装目录和识别到的名称 triage,然后按本页使用示例提供材料。

展开并复制给 Codex 的安装指令
发送给 Codex

安装并检查 triage

请在 Codex 的当前工作环境中安装并检查 triage 这个 Skill。

项目身份:mattpocock/skills / triage
来源:https://github.com/mattpocock/skills/blob/5863806dd4e15c63174bee4e7515a4256792ecfa/skills/engineering/triage/SKILL.md
已定位的源文件:skills/engineering/triage/SKILL.md

1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。
准备输入,再按步骤执行

装好以后,具体怎么用?

准备哪些材料

  • 提供已配置的工单系统和标签映射;保留AGENT-BRIEF.md、OUT-OF-SCOPE.md等引用资料。明确本次只是查看,还是允许评论、打标签和关闭工单。

会得到什么

  • 有证据的分类/状态、复现结果,以及可执行任务简报或信息补充请求。

实际使用顺序

  1. 查看未分类、待分诊以及报告人已补充信息的工单,按最早时间整理,先选择具体对象。
  2. 阅读完整内容和既往分诊记录,按领域概念搜索已有实现与.out-of-scope历史拒绝原因;状态标签冲突时先处理冲突。
  3. 给分类和状态建议,尝试按原步骤复现bug;PR则读差异并执行相关验证,缺信息时写具体缺项。
  4. 需要时通过grilling和domain-modeling澄清,再写Agent简报或needs-info记录;wontfix按已实现或拒绝原因分别处理,外部评论均带AI分诊声明。
使用示例

从一个具体任务开始

本站根据源文件编写的使用示例,未在本站实际运行。示例中的文件由你提供。

安装并识别 Skill 后发送

复制一个具体任务

教学示例:请用triage只读检查#42登录失败工单,读取正文、评论、标签和已有代码,查是否已实现或曾被拒绝,按原步骤尝试复现。先给分类与状态建议,不发评论、不改标签、不关闭工单。
预期结果

预期得到与实际证据对应的分诊建议;发布与结案在本例中未授权,本例也未运行。

使用前先看这些限制

使用条件与边界

  • ready-for-agent表示规格已足够交给Agent,不表示代码已经实施。
  • 状态覆盖、评论、关闭工单是外部写操作;源文要求所有分诊评论明确说明AI生成。
针对这个 Skill 的疑问

常见问题

所有PR都会被自动拿来分诊吗?

不是。只有项目配置把外部PR作为请求入口时才纳入发现队列;明确点名的PR仍可单独处理。

需要核对时再展开原文

来源原文与资料状态

源文件
已保存 SKILL.md,抓取于 2026-11-16T12:36:35.145Z
中文使用说明
已针对下方源文件版本整理用途、用法和常见问题
安装与任务测试
本站未执行安装或任务测试
来源复核
本页中文用法已对照保存版本的完整 SKILL.md 阅读整理
展开 SKILL.md 原文、章节与历史收录资料

skills/engineering/triage/SKILL.md · 抓取时间 2026-11-16T12:36:35.145Z

以下保留源文件的 description、章节及摘录,供核对中文说明;完整文件通过上方链接打开。

抓取成功不代表已完成安装或任务测试。

来源 description(原文)

Move issues and external PRs through a state machine of triage roles, categorise, verify, grill if needed, and write agent-ready briefs.

查看源文件章节 / Source sections
  • 原文:Triage
  • 原文:Reference docs
  • 原文:Roles
  • 原文:Invocation
  • 原文:Show what needs attention
  • 原文:Triage a specific issue or PR
  • 原文:Quick state override
  • 原文:Needs-info template
  • 原文:Resuming a previous session
原文:Triage

Move issues on the project issue tracker through a small state machine of triage roles. If this repo treats external pull requests as a request surface (see the issue-tracker config), triage covers them too: **a PR is an issue with attached code**, using the same roles, same states, and same machine, with a few deltas marked "for a PR" below. Resolve a bare `#42` to an issue or PR per the tracker config. Every comment or issue posted to the issue tracker during triage **must** start with this disclaimer: ``` > *This was generated by AI during triage.* ```

原文:Reference docs

- [AGENT-BRIEF.md](AGENT-BRIEF.md): how to write durable agent briefs - [OUT-OF-SCOPE.md](OUT-OF-SCOPE.md): how the `.out-of-scope/` knowledge base works

原文:Roles

Two **category** roles: - `bug`: something is broken - `enhancement`: new feature or improvement Five **state** roles: - `needs-triage`: maintainer needs to evaluate - `needs-info`: waiting on reporter for more information - `ready-for-agent`: fully specified, ready for an AFK agent - `ready-for-human`: needs human implementation - `wontfix`: will not be actioned For a PR, the same states read against the attached code: `ready-for-agent` means a brief is attached and an agent should take the next step on the diff; `ready-for-human` means it's ready for a human to merge. Every triaged issue should carry exactly one category role and one state role. If state roles conflict, flag it and ask the maintainer before doing anything else. These are canonical role names. The actual label strings used in the issue tracker may differ. The mapping should have been provided to you. If not, tell the user to run `/setup-matt-pocock-skills`. State transitions: an unlabeled issue normally goes to `needs-triage` first; from there it moves to `needs-info`, `ready-for-agent`, `ready-for-human`, or `wontfix`. `needs-info` returns to `needs-triage` once the reporter replies. The maintainer can override at any time; flag transitions that look unusual and ask before proceeding.

原文:Invocation

The maintainer invokes `/triage` and describes what they want in natural language. Interpret the request and act. Examples: - "Show me anything that needs my attention" - "Let's look at #42" (issue or PR) - "Move #42 to ready-for-agent" - "What's ready for agents to pick up?"

原文:Show what needs attention

Query the issue tracker and present three buckets, oldest first: 1. **Unlabeled**: never triaged. 2. **`needs-triage`**: evaluation in progress. 3. **`needs-info` with reporter activity since the last triage notes**: needs re-evaluation. When PRs are in scope, include external PRs in these buckets and tag each line `[PR]` or `[issue]`. Discovery surfaces only *external* PRs (the tracker config defines who counts as external), so a collaborator's in-flight PR is not triage work. This filter is discovery-only; an explicitly named PR is always triaged regardless of author. Show counts and a one-line summary per item. Let the maintainer pick.

原文:Triage a specific issue or PR

1. **Gather context.** Read the full issue or PR (body, comments, labels, author, dates; for a PR, the diff too). Parse any prior triage notes so you don't re-ask resolved questions. Explore the codebase using the project's domain glossary, respecting ADRs in the area. Run two checks against the codebase: (a) **redundancy**: search for an existing implementation of the requested behavior by domain concept (not just the request's wording), and report where you looked. If found, it's an already-implemented `wontfix` (step 5). (b) **prior rejection**: read `.out-of-scope/*.md` and surface any that resembles this request. 2. **Recommend.** Tell the maintainer your category and state recommendation with reasoning, plus a brief codebase summary relevant to the request (including whether it's already implemented). Wait for direction. 3. **Verify the claim.** Before any grilling, check that the claim holds up. For a bug, reproduce it from the reporter's steps. For a PR, confirm the diff does what it claims: check it out, run the relevant tests or commands. Report what happened: confirmed (with code path), failed, or insufficient detail (a strong `needs-info` signal). A confirmed verification makes a much stronger agent brief. 4. **Grill (if needed).** If the request needs fleshing out, call the Skill tool twice, for "grilling" and "domain-modeling", and grill it into shape a round of questions at a time, sharpening domain terms and updating `GLOSSARY.md`/ADRs inline as decisions land.

本段为节选,完整内容见源文件。

文件 SHA256:917b0baf74be583e74f110857ed45df2766617f75c00baf61fd136d7af515edf

仓库许可证记录:MIT;repository-license-recorded-scope-unverified,查看来源。

Skills.sh收录简介 · 2026-07-28

Move issues and external PRs through a state machine of triage roles — categorise, verify, grill if needed, and write agent-ready briefs.

查看历史简介来源

历史收录数据

Skill标识triage
来源仓库mattpocock/skills
榜单快照2026-07-28
榜单口径Skills.sh累计安装量
快照名次27
快照累计安装量457951

历史资料说明

  • 安装量用于说明当时的收录次序,不是效果、可信度或当前可用性的证明。

此页用于识别项目与来源。安装入口可在该Skill的Skills.sh页面查看;当前目录是否仍存在、附带脚本和账户依赖尚需按具体版本确认。

返回 Skills 目录,按任务继续筛选 · MCP与Skills教程与资源