Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

a2ui-triage-bot

БесплатноБез исполняемых скриптовНе проверен

Drafts triage analyses of GitHub issues and pull requests in the A2UI repository and posts each one as a triage bot comment that the triage UI reads, answers…

a2ui-projectот a2ui-project★ 19 155 звёзд на GitHub

Об этом скилле

A2UI triage bot

The triage bot runs four triage jobs (see Triage jobs):

  1. The triage analyzer writes triage analyses. For each item, it posts one analysis comment that says in plain English what the triager should do, and carries the same analysis as a TriageAnalysis A2UI component. The triage UI parses that component, the triager finalizes it, and the UI applies it.
  2. The staleness pinger asks the assignees of stale items to act, before the flagger flags the items for triage (see Staleness pings).
  3. The triage assistant answers requests to the triage bot. An item with status: needs-team-input is waiting for the team: the triage bot posts no analysis on it, and comments only to answer requests, in a response comment.
  4. The triage reporter writes the triage report: what a team member triaged in a period, and who still has items assigned for triage.

Once started, the triage bot runs the first three jobs every hour. The jobs are described in the blueprints in features/triage_bot/.

The triage bot only comments on items, and the staleness pinger also sends direct messages to the assignees of stale items. The triage bot never adds or removes labels, assigns people, closes items, or changes milestones: those are the triager's decisions.

Before you start, read:

  1. triage.md: the goals of triage, priority definitions, and how to triage a PR.
  2. labels.md: the triage labels and who manages each one.
  3. templates.md: standard replies for common cases.
  4. triage_criteria.md: how to turn an item into an analysis.
  5. The natural-writing skill: rules for the plain English text.

Check the setup

Before any job, check:

  1. You are in a checkout of a2ui-project/a2ui: git remote -v names it. Run every command from the root of the checkout. If you are not in one, ask the user for the path of their checkout, or whether to clone the repository, and where.
  2. gh is logged in: gh auth status succeeds. If it fails, ask the user to run gh auth login in a terminal, since it is interactive, and wait until they say that they did.
  3. If the job posts, the account has triage access: gh api repos/a2ui-project/a2ui -q .permissions.triage prints true. The triage bot posts from this account, and its comments count as triage bot comments only when they come from a team member (see Contributors). If it prints false, tell the user that the triage bot cannot post from this account, and stop. They can log in to another account with gh auth login.

Start the triage bot

When asked to start the triage bot, as in "start triage bot":

  1. Check the setup. Each run uses the skill and the scripts of this checkout, so if it is not on main, or is behind origin/main, tell the user.

  2. Find your agent's scheduler: the tools that list, create and delete recurring jobs. If your agent loads tools on demand, load them first. If your agent has no scheduler, say so and stop.

  3. List the jobs scheduled in this session. If one runs this skill, the triage bot is already running: say so, with the job ID and its next run, and stop.

  4. Schedule a job that runs every hour, such as 7 * * * *, with this prompt, where <checkout> is the absolute path of the root of the checkout:

    Do an hourly run of the a2ui-triage-bot skill in <checkout>/.agents/skills/a2ui-triage-bot/SKILL.md, as its "Hourly run" section says. Run its commands from <checkout>.
    
  5. Do the first hourly run.

  6. Tell the user that the triage bot is started, with the job ID, when the next run starts, and when the job expires, as the scheduler reports them. If the first run could not find the Google account of an assignee it pinged (see Find the assignees' Google accounts), also say which assignees get the pings only on GitHub, without direct messages.

When asked to stop the triage bot, find its job as in step 3, delete it, and say that the triage bot is stopped.

Hourly run

An hourly run does the three hourly jobs. Nobody may be watching, so do not ask the user anything.

  1. Check the setup. If a check fails, skip the run, and report which check failed and what the user should do.
  2. Do Step 1 to Step 8, as if the prompt named no items. They post the analyses (the triage analyzer) and answer the requests to the triage bot (the triage assistant).
  3. Do [Staleness pings](#staleness-
Полный SKILL.md на GitHub

Установить a2ui-triage-bot в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/item.graphqlreferences/triage_criteria.md

FAQ

Что делает скилл a2ui-triage-bot?

Drafts triage analyses of GitHub issues and pull requests in the A2UI repository and posts each one as a triage bot comment that the triage UI reads, answers team members' requests to the triage bot, pings the assignees of stale items, and writes the triage report of a period for the team chat space and the triage log. Use when asked to start or stop the hourly triage bot, to analyze items for triage, such as the items labeled `status: needs-triage` or `status: needs-team-input`, to add or refresh the triage analysis of specific issues or PRs, to ping stale items, or to report what someone triaged in a period.

Как установить скилл a2ui-triage-bot?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл a2ui-triage-bot запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить a2ui-triage-bot с