一键导入
update-triage
Learn repo-local issue triage guidance from recent maintainer triage corrections and propose updates to the triage companion skill or label config.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Learn repo-local issue triage guidance from recent maintainer triage corrections and propose updates to the triage companion skill or label config.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Generate a local static interactive D3 walkthrough of a pull request. Use when the user wants a zoomable PR map, graph/canvas PR orientation, or alternate visualization of PR system components, data flow, code dependencies, and user actions.
Bootstrap the issue triage configuration for a repository by analyzing existing issues, labels, and contributors to generate `.github/issue-triage/config.json` and `.github/CODEOWNERS`. Use when setting up triage automation on a new or existing repository for the first time.
Compare a pull request's implementation against spec context in spec_context.md and feed any material mismatches into review.json. Use during PR review when approved or repository spec context is available.
Create a product spec from a GitHub issue in this repository by applying the local shared `write-product-spec` workflow with issue context and output paths. Use when an issue should be turned into a product spec artifact stored under `specs/issue-<issue-number>/product.md` and the agent should prepare file changes only, without creating commits or pull requests itself.
Create a technical spec from a GitHub issue in this repository by applying the local shared `write-tech-spec` workflow with issue context and output paths. Use when an issue should be turned into a tech spec artifact stored under `specs/issue-<issue-number>/tech.md` and the agent should prepare file changes only, without creating commits or pull requests itself.
Repo-specific dedupe guidance . Only the categories declared overridable by the core dedupe-issue skill may be specialized here.
| name | update-triage |
| description | Learn repo-local issue triage guidance from recent maintainer triage corrections and propose updates to the triage companion skill or label config. |
Use this skill to turn repeated maintainer corrections on recently triaged
issues into concise updates to repo-local triage-issue companion guidance.
This skill owns only the self-evolution logic: how to interpret aggregated
triage feedback and propose local guidance. The GitHub Actions runner owns data
collection, write-surface validation, commits, pushes, and PR creation. When
run inside GitHub Actions, .agents and .github may be read-only. Write
proposed changes only to update-triage-output/; the runner applies them.
update-dedupe..github/skills/triage-issue-repo/SKILL.md content when available.update-triage-output/.Always write update-triage-output/status.json:
{
"status": "changed",
"reason": "Brief evidence summary.",
"updated_files": [".github/skills/triage-issue-repo/SKILL.md"]
}
Allowed statuses:
changed when repeated maintainer correction evidence should update
guidance or label configno_change when evidence is insufficient, already covered, a one-off
override, reporter-only, agent-only, or belongs to duplicate learningerror when the feedback cannot be interpreted safelyFor changed, write complete replacement content for one or both files:
update-triage-output/triage-issue-repo/SKILL.mdupdate-triage-output/issue-triage/config.jsonDo not edit .agents or .github directly.
Only learn from structured evidence supplied by the aggregation script:
Maintainer evidence must come from actors or authors identified by the
aggregation script as OWNER, MEMBER, COLLABORATOR, explicit maintainer
login input, or verified organization-member fallback. Bot actors and
reporter-only comments are not learnable by default.
Use no_change when there is no repeated pattern. A single maintainer override,
ordinary discussion, weak title similarity, bot-only signal, or agent-only
inference is not enough to update guidance.
Duplicate closure signals, MarkedAsDuplicateEvent, duplicate stateReason,
or closed-as-duplicate labels must remain skipped evidence for
update-dedupe.
Allowed repo-specific guidance categories are limited to the categories
declared overridable by the core triage-issue skill:
.github/issue-triage/config.jsonBecause duplicate learning belongs to update-dedupe, do not add new
known-duplicate clusters here unless preserving existing companion structure.
For each learned pattern, record only stable, reviewable guidance:
Keep guidance concise. Do not paste raw JSON, full issue bodies, long comments, personal data, or chronological histories into the companion skill.
When updating .github/skills/triage-issue-repo/SKILL.md:
Heuristics, Label taxonomy, or
Recurring follow-up patterns.Self-Evolution Boundary section explaining that
update-triage may update this companion but cannot change core
triage-issue contracts.When updating .github/issue-triage/config.json:
Allowed persistent write surface:
.github/skills/triage-issue-repo/SKILL.md.github/issue-triage/config.jsonForbidden write surface:
.github/skills/triage-issue/SKILL.md.github/skills/dedupe-issue-repo/SKILL.mdThis skill must not change the triage_result.json schema, reserved label
rules, duplicate/follow-up exclusivity, safety rules, or core triage algorithm.
It must not run git commands, push branches, create PRs, edit issues, post
comments, label issues, reopen or close issues, or invoke GitHub APIs.
After writing output files, re-read status.json and any proposed replacement
files. Confirm that changed outputs are complete replacements, concise, and
limited to allowed paths. The runner must apply output files and validate the
write surface before publishing.