跳到正文
cccskills
Microsoft 官方免费在 GitHub 公开

autopilot-pr-triage-worker

Assess one selected pull request using its full discussion, reviews, and linked issues. Produce an advisory recommendation about its next step, with optional comments and labels, without reviewing the code diff or approving a merge.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Use this skill to triage ONE microsoft/apm pull request already selected by autopilot-pr-triage-scheduler. Covers community PRs that fix an issue and PRs opened without an issue. Return one advisory recommendation, never human approval, never a diff review, never merge. Not a queue manager and not autopilot-pr-review-worker.

集成工具GitHub
查看安装方法

适用场景

  • Assessing whether a selected PR is ready for review
  • Handling PRs without an accepted issue
  • Checking prior discussions and linked issues
  • Returning an advisory result without GitHub writes

包含的文件(3)

  • SKILL.md6.1 KB
  • assets/label-contract.json4.5 KB
  • assets/pr-triage-template.md1.8 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

autopilot-pr-triage-worker

Advisory classification of ONE already-selected PR. Do not review the diff as autopilot-pr-review-worker does. Do not drive merge.

Activation card

activation_card: on. Before any PR read or GitHub write, emit this Enter card with every field filled. Missing field -> stop.

skill: autopilot-pr-triage-worker
skill_path: <resolved directory of this SKILL.md>
mode: run
subject: microsoft/apm#<pr-number>
path: triage
intent: advise one already-selected PR
origin: unattended | actor-session
write: on | off
json: off | on
debug: off | on
repo: microsoft/apm
pr: <positive integer>
invocation: agentic-workflow | actor-session

Rules:

  • write defaults to on when the caller omitted it.
  • write: off returns the filled template only. Do not comment, add labels, or remove labels.
  • write: on posts one GitHub comment via autopilot-comment and processing / classification labels. Never assign. Never request reviewers. Do not call gh pr comment yourself. Do not write status/accepted, status/needs-design, or status/needs-triage. Write status/deferred only when this PR is not labelled status/accepted and has no same-repo linked issue labelled status/accepted.
  • json defaults to off when omitted or unknown. Omitted json is not a missing-field stop.
  • json: off -> no machine JSON receipt.
  • json: on -> fill JSON only as an internal payload (session file or parent Exit). Never post it on GitHub.
  • debug defaults to off when omitted or unknown. Omitted debug is not a missing-field stop.
  • debug: off -> pass public_body as the Suggested PR comment (unwrap the markdown fence) to autopilot-comment. Do not pass recommendation, linked issue, classification, or next action headings as public_body.
  • debug: on -> pass debug_body as the filled template without a JSON fence. autopilot-comment prefixes [i] Skill debug is on.
  • Load autopilot-comment before any GitHub comment write. source_skill: autopilot-pr-triage-worker. Missing card -> stop.
  • origin fail-closed unknown -> unattended.
  • One PR. Do not nest a scheduler path.

After the run, emit this Exit receipt:

skill: autopilot-pr-triage-worker
subject: microsoft/apm#<pr-number>
path: triage
write: on | off
json: off | on
debug: off | on
posted: yes | no
labels_applied: <comma list or none>
approved: n/a

Read assets/label-contract.json (same contract as issue triage) before reasoning. Do not invent a second marker.

Origin and writes

No assignment needed. Never request reviewers. Unattended and actor-session are equally read-only for ownership.

This worker owns those writes even when summoned without a scheduler. The scheduler must not comment or label.

Allowed writes: one advisory comment plus processing / optional classification labels from the contract. Never write status/accepted, status/needs-design, or status/needs-triage.

Auto-defer: if this PR is not labelled status/accepted and has no same-repo linked issue labelled status/accepted, add status/deferred (write: on only). Do not overwrite status/accepted already on the PR. Linked means Fixes / Closes / #N in the body or commits, or GitHub closingIssuesReferences, same repository. Any one accepted linked issue or status/accepted on the PR blocks auto-defer.

CODEOWNERS reviewRequests is runtime authority. Note owners in the comment. Never add or remove review requests.

Context (mandatory)

Before advising, paginate the complete PR conversation, reviews, and review comments. If the body or commits reference Fixes / Closes / #N, read that issue's complete conversation too. No fresh advisory without that context.

If a prior triage comment's watermark still matches HEAD conversation, no-op (do not post a duplicate).

Procedure

  1. Confirm the PR is the single target. Missing number -> stop.
  2. Gather full context. Record whether this PR is labelled status/accepted, and linked same-repo issues and whether any carries status/accepted.
  3. Fill assets/pr-triage-template.md. Recommendation is one of: ready-for-review | needs-design | needs-issue | duplicate-of | decline-with-reason | auto-handle.
  4. Neither this PR nor a linked same-repo issue is status/accepted -> recommend needs-issue, add status/deferred when write: on, and thank the author. Invite them to open an issue for maintainer review and acceptance first, per CONTRIBUTING.md ("Start with an issue, not an implementation."). Link https://github.com/microsoft/apm/blob/main/CONTRIBUTING.md
  5. ready-for-review when this PR or a linked same-repo issue is status/accepted. It is not merge approval and is not a request to run autopilot-pr-review-scheduler.
  6. Post only if the comment would change. Probe $REPO_ROOT/.agents/skills/autopilot-comment/SKILL.md (or the sibling package). Missing -> stop. Do not post. Activate autopilot-comment (source_skill: autopilot-pr-triage-worker). Do not call gh pr comment yourself. debug: off: Suggested PR comment body as public_body (not the filled template). debug: on: filled template as debug_body. Missing footer after that write is a failed post -- patch via autopilot-comment (intent: patch). Add the contract processing marker. Do not remove status/needs-triage.

Hard nos

  • Do not merge, push, assign, or request reviewers.
  • Do not run autopilot-pr-review-worker or autopilot-pr-merge-worker.
  • Do not contradict CODEOWNERS.
  • Do not treat labels or this comment as status/accepted.
  • Do not write status/deferred when a linked issue is status/accepted or the PR already has status/accepted.
  • ASCII only.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

apm-spec-guardian

Microsoft 官方免费

Review OpenAPM specification changes through four specialist perspectives covering schemas, registries, dependency resolution, and web architecture. The skill combines findings and mechanical checks into one advisory comment, separating immediate fixes from work deferred to later versions.

中文简介正在准备中。当前显示英语简介。

  • Reviewing OpenAPM specification changes
  • Checking JSON Schemas and conformance fixtures
  • Separating immediate fixes from future version work
microsoft/apm41052026年10月21日 更新

apm-strategy

Microsoft 官方免费

Review APM positioning, public documentation, release communication, and breaking-change decisions using GitHub evidence. Check that incompatible changes include changelog entries and migration notes, and resolve disagreements among the project's specialist reviewers.

中文简介正在准备中。当前显示英语简介。

  • Reviewing project positioning in public documents
  • Checking changelogs and release communication
  • Confirming migration guidance for breaking changes
microsoft/apm41052026年10月21日 更新

apm-usage

Microsoft 官方免费

Get guidance on using APM, a package manager for AI agents, to install and share reusable instructions, skills, and server configurations. Covers dependencies, package creation, authentication, policy checks, CLI commands, and troubleshooting.

中文简介正在准备中。当前显示英语简介。

  • Install and restore AI-agent packages
  • Configure MCP and LSP servers
  • Create and share APM packages
microsoft/apm41052026年10月21日 更新

auth

Microsoft 官方免费

Guide authentication changes in APM CLI for GitHub and Azure DevOps. Centralizes credential lookup through AuthResolver and explains token precedence, Azure CLI fallback, Git credential helper retries, and error messages for failed authentication.

中文简介正在准备中。当前显示英语简介。

  • Updating token lookup and precedence
  • Fixing authentication during Git operations
  • Reviewing Azure DevOps fallback behavior
microsoft/apm41052026年10月21日 更新

autopilot-comment

Microsoft 官方免费

Post or update one GitHub comment for an APM autopilot run. The skill assembles public or debug content, adds an AI-generated disclaimer, and supports previewing the assembled comment before posting.

中文简介正在准备中。当前显示英语简介。

  • Post an autopilot result to an Issue
  • Update an existing pull request comment
  • Preview a comment before posting
microsoft/apm41052026年10月21日 更新

Build an implementation queue from accepted GitHub issues and distribute them to dedicated workers. Record selection reasons, check for existing pull requests, and process the full queue with a configurable concurrency limit, defaulting to two workers.

中文简介正在准备中。当前显示英语简介。

  • Queue accepted issues for implementation
  • Limit concurrent issue delivery workers
  • Record why issues were included or skipped
microsoft/apm41052026年10月21日 更新

查看 microsoft 的全部技能

报告此技能的问题