Agent Skillswarpdotdev/oz-for-oss › update-triage

update-triage

GitHub

基于维护者对近期Issue的标签修改和评论反馈,自动更新本地Triage技能规则与配置。通过聚合信号优化标签体系和归属推断,实现Triage策略的自我迭代。

.agents/skills/update-triage/SKILL.md warpdotdev/oz-for-oss

Trigger Scenarios

需要优化仓库特定的Issue分类逻辑时 根据维护者反馈调整标签体系或归属推断规则时

Install

npx skills add warpdotdev/oz-for-oss --skill update-triage -g -y
More Options

Non-standard path

npx skills add https://github.com/warpdotdev/oz-for-oss/tree/main/.agents/skills/update-triage -g -y

Use without installing

npx skills use warpdotdev/oz-for-oss@update-triage

指定 Agent (Claude Code)

npx skills add warpdotdev/oz-for-oss --skill update-triage -a claude-code -g -y

安装 repo 全部 skill

npx skills add warpdotdev/oz-for-oss --all -g -y

预览 repo 内 skill

npx skills add warpdotdev/oz-for-oss --list

SKILL.md

Frontmatter
{
    "name": "update-triage",
    "description": "Update the repo-local triage-issue-local companion skill using signals from recently triaged issues (maintainer re-labels, re-opens, follow-up comments). Use when refining repo-specific triage heuristics and label taxonomy based on how maintainers overrode previous triage output."
}

Update Triage

Use this skill to improve .agents/skills/triage-issue-local/SKILL.md (and, when a label taxonomy change is warranted, .github/issue-triage/config.json) from real maintainer feedback on recent triage outcomes. The core skill at .agents/skills/triage-issue/SKILL.md is the cross-repo contract and is read-only from this loop.

Closed-as-duplicate signals are handled by the separate update-dedupe loop, not here.

Write surface

This self-improvement loop may only write to:

  • .agents/skills/triage-issue-local/ (and SKILL.md inside it)
  • .github/issue-triage/*

It must NOT touch:

  • .agents/skills/triage-issue/SKILL.md (the core contract)
  • any other core skill
  • the dedupe companion .agents/skills/dedupe-issue-local/SKILL.md (owned by update-dedupe)

The self-improvement runner enforces this via a git diff check against allowed prefixes before pushing. A violation aborts the run.

Inputs

  • Optional repository override if you are not running from the target checkout.
  • Optional time window override when you need something other than the default seven-day lookback.

Workflow

  1. Verify GitHub CLI auth:
gh auth status
  1. Aggregate the triage-feedback signals for recently triaged issues with the bundled script:
python3 .agents/skills/update-triage/scripts/aggregate_triage_feedback.py

By default this targets the current repo and looks back 7 days. It collects issues that were triaged in the window, any subsequent maintainer re-labels, re-opens, and follow-up comments. Closed-as-duplicate events are intentionally excluded. The script writes structured JSON to a temporary file and prints the path.

  1. Read the generated JSON and look for repeated reviewer signals:
  • maintainers repeatedly flipping the same label on similar issues (a label-taxonomy hint)
  • maintainers leaving the same kind of follow-up comment on the same class of issue (a recurring follow-up-question pattern)
  • maintainers consistently identifying a different owner than Oz inferred (an owner-inference hint)
  1. Propose the smallest edit that explains the repeated signal:
  • Prefer editing .agents/skills/triage-issue-local/SKILL.md under the override categories the core triage-issue skill marks as overridable (label taxonomy, owner-inference hints, recurring follow-up-question patterns, recurring issue-shape heuristics, repro defaults, known-duplicate clusters).
  • Only edit .github/issue-triage/config.json when the signal is a concrete label-taxonomy change (new label, renamed label, or description clarification). Never change color values without explicit maintainer guidance.
  1. Keep the core triage contract stable — never edit triage-issue/SKILL.md. Only the -local companion and the triage config evolve from feedback.

Evidence Rules

  • Prefer patterns backed by multiple issues or a strong explicit maintainer statement.
  • Skip the PR when there is no repeated signal. A one-off maintainer override is not enough evidence.
  • Avoid encoding reporter-authored content as triage rules.
  • Do not weaken the reserved-label rules (ready-to-implement, ready-to-spec) or the mutual exclusivity of duplicate_of and follow_up_questions.

Final Checks

  • Re-read the updated triage-issue-local companion skill and confirm any new rules are explicit.
  • Keep the companion concise; do not turn it into a long style guide.
  • Commit any changes on a local branch named oz-agent/update-triage. Do NOT push the branch; the Python entrypoint will run a write-surface guard and push only when the guard passes.
  • If the updates warrant a PR, it will be opened from the pushed branch. Tag @captainsafia as a reviewer on that PR.
  • Validate any temporary JSON with jq before relying on it.

Version History

  • 345a0f5 Current 2026-07-24 17:41

Same Skill Collection

.agents/skills/bootstrap-issue-config/SKILL.md
.agents/skills/create-product-spec/SKILL.md
.agents/skills/create-tech-spec/SKILL.md
.agents/skills/dedupe-issue-local/SKILL.md
.agents/skills/dedupe-issue/SKILL.md
.agents/skills/evaluate-auto-implement-eligibility-local/SKILL.md
.agents/skills/implement-issue/SKILL.md
.agents/skills/review-pr-local/SKILL.md
.agents/skills/review-spec-local/SKILL.md
.agents/skills/review-spec/SKILL.md
.agents/skills/security-review-pr/SKILL.md
.agents/skills/security-review-spec/SKILL.md
.agents/skills/triage-issue-local/SKILL.md
.agents/skills/triage-issue/SKILL.md
.agents/skills/update-dedupe/SKILL.md
.agents/skills/update-pr-review/SKILL.md
.agents/skills/verify-pr/SKILL.md

Metadata

Files
0
Version
90a5989
Hash
52b9f7b9
Indexed
2026-07-24 17:41

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-18 07:44
浙ICP备14020137号-1 $mapa de visitantes$