跳到正文
cccskills
免费在 GitHub 公开

autopilot-issue-triage-scheduler

Select open or explicitly named issues for triage, an initial assessment and classification, then distribute them to dedicated workers. It filters ineligible items, records selection reasons, and runs two sessions concurrently by default.

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

原文查看原文说明

Queue open microsoft/apm issues and fan them out through an isolated pool (default 2) of autopilot-issue-triage-worker sessions. Advisory only. Never implements, never assigns, never requests reviewers. Activate on a mixed issue list or queue-all when the job is triage. Works in a local session, Copilot App automation, Cloud Agent, Remote Agent, or Agentic Workflow.

集成工具GitHub
查看安装方法

适用场景

  • Sending a named list of issues for initial assessment
  • Sweeping open issues that still need triage advice
  • Processing an issue queue with limited concurrent workers

包含的文件(5)

  • SKILL.md6.3 KB
  • assets/fan-out-pool.md1.3 KB
  • assets/label-contract.json4.5 KB
  • scripts/fetch_queue.py15.5 KB
  • scripts/triage_state.py3.8 KB

SKILL.md(原文)

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

autopilot-issue-triage-scheduler

User-facing issue TRIAGE queue. This skill SELECTS issues and THROTTLES fan-out. It does not implement and does not review PRs.

Compose autopilot-issue-triage-worker one issue per slot. Never borrow slots from autopilot-issue-delivery-scheduler, autopilot-pr-review-scheduler, or autopilot-pr-triage-scheduler.

Activation card

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

skill: autopilot-issue-triage-scheduler
skill_path: <resolved directory of this SKILL.md>
mode: run
subject: microsoft/apm
path: triage
intent: select issues and fan out triage workers
origin: unattended | actor-session
write: off
repo: microsoft/apm
fanout_limit: <positive integer>
invocation: agentic-workflow | actor-session

Rules:

  • write is always off. This scheduler never comments, labels, assigns, or requests reviewers.
  • write: on -> stop.
  • origin fail-closed unknown -> unattended.
  • invocation is the harness. Copilot App, local session, Cloud Agent, and Remote Agent are actor-session. agentic-workflow is only gh-aw / GitHub Actions. Do not copy origin into invocation.
  • One queue. Do not nest another scheduler path.

After the run, emit this Exit receipt:

skill: autopilot-issue-triage-scheduler
subject: microsoft/apm
path: triage
write: off
queued: <integer>
spawned: <integer>
approved: n/a

Invocation

Works in local sessions, Copilot App automations, Cloud Agent, Remote Agent, and Agentic Workflows.

Resolve ORIGIN before any GitHub write. No assignment needed. This scheduler and its slots never assign and never request reviewers, in any ORIGIN.

INTENT is triage.

Ownership writes:

  • Issue triage: none (no assignment needed)
  • Code (accepted implementation): assign the implementing user
  • PR review: request the reviewing user as reviewer, never assignee

Selection (same contract as Triage Panel AW)

Canonical owner: this skill's scripts/fetch_queue.py, scripts/triage_state.py, and assets/label-contract.json. The PR-triage scheduler ships an identical copy. Do not invent a second filter. The worker does not list the queue.

Modes (match .github/workflows/triage-panel.md):

  • Named list or one issue number: explicit request (dispatch / label-event). triage/requested is the only request trigger. status/needs-triage is human decision state, not an event, and is not consumed.
  • queue-all / no names: daily-style sweep.

fetch_queue.py owns list + eligibility (closed, locked, empty, template-only; sweep-only spam). Bot-authored issues stay eligible. Sweep list excludes processing.read_reviewed (triage/recommended, status/triaged) at GitHub so already-advised open items are not downloaded. Do not comment on skips. triage_state.py owns completed-advice skip (processing.read_reviewed), at most two per author, oldest first, cap 10. Explicit requests bypass only spam and completed-advice.

Default (authenticated gh):

python <this-skill>/scripts/fetch_queue.py --kind issue --mode sweep --repo microsoft/apm > batch.json
python <this-skill>/scripts/triage_state.py < batch.json

Named issue: --mode dispatch --number N. If gh is unavailable, pass --records-json and --labels-json. A helper failure stops the run.

Do not implement. Do not open PRs. Do not fill delivery or review slots from this pool. Do not comment on issues. Do not add or remove labels. add_labels from triage_state.py is a plan for the worker, not a scheduler write.

Queue table (mandatory)

Before any spawn, emit the keep-set and the drop-set in plan.md and in the session report. Missing table, missing column, or blank rationale -> stop. Do not spawn.

Keep-set (items this run will schedule). One row per item. Do not truncate to FANOUT_LIMIT:

| number | kind | labels | rationale | slot |

Drop-set (considered, then not scheduled). slot is -:

| number | kind | labels | rationale | slot |

  • kind: issue or pr
  • labels: current GitHub labels, comma-separated; none if empty
  • rationale: why queued or dropped (helper rule and labels)
  • slot: 1-based spawn order, or - when dropped

Empty keep-set is success. Still emit the drop-set, or none. Completed-advice excluded at fetch is not a drop-set row. You are the sole table writer.

Fan-out

Load assets/fan-out-pool.md. Default FANOUT_LIMIT=2 concurrent slots. Isolated to this run. FANOUT_LIMIT is concurrency, not queue length. Drain the full selected list; when a slot returns, fill it with the next item.

Procedure

  1. Probe scripts/fetch_queue.py, scripts/triage_state.py, and autopilot-issue-triage-worker on disk. Missing -> stop.
  2. Build the queue with the helpers. Emit the mandatory queue table (labels + rationale) before any spawn.
  3. Drain the selected list. Concurrent slots <= FANOUT_LIMIT. One issue per slot. Prefer a new session, else a sub-agent, else run the worker in this thread for that one issue, then the next. When a slot returns, dispatch the next queued issue. Do not stop because the pool was full. Each slot reads the complete comment history before advising. Pass debug: off unless this run's caller set debug: on. Pass comment_via: autopilot-comment. Worker kickoff must load autopilot-comment before any GitHub comment. Workers must not call gh issue comment.
  4. Optionally present ONE consolidated triage digest. Wait if the caller asked for a checkpoint. Never treat silence as accept.
  5. Print a final report from the table.

Hard nos

  • Do not share this pool.
  • Do not dispatch the same issue to two slots.
  • Do not implement inside the scheduler thread.
  • Do not comment, label, close, or assign. Workers own those writes even when summoned without this scheduler.
  • Do not contradict CODEOWNERS.
  • ASCII only.

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

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/apm40952026年10月20日 更新

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/apm40952026年10月20日 更新

apm-usage

免费

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/apm40952026年10月20日 更新

auth

免费

Activate when code touches token management, credential resolution, git auth flows, GITHUB_APM_PAT, ADO_APM_PAT, AuthResolver, HostInfo, AuthContext, or any remote host authentication -- even if 'auth' isn't mentioned explicitly.

中文简介正在准备中。当前显示原文说明。

microsoft/apm40952026年10月20日 更新

Use this skill to post or patch ONE GitHub comment for a microsoft/apm autopilot run. It owns public vs debug body assembly and the AI disclaimer footer. Never labels, assigns, requests reviewers, or merges. Autopilot skills that write comments must load this skill and must not call gh comment APIs themselves.

中文简介正在准备中。当前显示原文说明。

microsoft/apm40952026年10月20日 更新

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/apm40952026年10月20日 更新

查看 microsoft 的全部技能

报告此技能的问题