agentleFS
MicrosoftKnown publishermicrosoft/apm/.agents/skills/autopilot-pr-triage-worker/SKILL.md

autopilot-pr-triage-worker

Skill3.9k starsChanged 3 months agoMITView on GitHub

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.

Trending

Quiet since October.about the whole repository

Jan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 13 mentionsApr 2026: 7 mentionsMay 2026: 3 mentionsJun 2026: 5 mentionsJul 2026: 4 mentionsAug 2026: 0 mentionsSep 2026: 5 mentionsOct 2026: 4 mentionsNov 2026: 0 mentionsDec 2026: 0 mentions
Jan 2026Jul 2026Dec 2026
Mentions a month of the microsoft/apm repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about microsoft/apm

The biggest 5 of 41 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 41

Talked about on GitHub, Hacker News and Bluesky (41 times).

On GitHub · 32

27 more on GitHub

On Bluesky · 4

The file

Show its rules and text

We split this skill into the rules it gives an agent

14 rules. About 0 are common, 6 are distinctive, and 8 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 8

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Very specific:

    Do not write status/accepted, status/needs-design, or status/needs-triage.

    line 46
  2. Distinctive:

    After the run, emit this Exit receipt:

    line 70
  3. Very specific:

    Read assets/label-contract.json (same contract as issue triage) before reasoning.

    line 84
  4. Distinctive:

    No assignment needed. Never request reviewers.

    line 89
  5. Very specific:

    Do not overwrite status/accepted already on the PR.

    line 103
  6. Very specific:

    Before advising, paginate the complete PR conversation, reviews, and review comments.

    line 114
  7. Distinctive:

    No fresh advisory without that context.

    line 117
  8. Distinctive:

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

    line 119
  9. Very specific:

    Do not remove status/needs-triage.

    line 152
  10. Distinctive:

    Do not merge, push, assign, or request reviewers.

    line 156
  11. Very specific:

    Do not run autopilot-pr-review-worker or autopilot-pr-merge-worker.

    line 157
  12. Distinctive:

    Do not contradict CODEOWNERS.

    line 158
  13. Very specific:

    Do not treat labels or this comment as status/accepted.

    line 159
  14. Very specific:

    Do not write status/deferred when a linked issue is status/accepted or the PR already has status/accepted.

    line 160

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.