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★ 19 155 звёзд на GitHubОб этом скилле
A2UI triage bot
The triage bot runs four triage jobs (see Triage jobs):
- 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
TriageAnalysisA2UI component. The triage UI parses that component, the triager finalizes it, and the UI applies it. - The staleness pinger asks the assignees of stale items to act, before the flagger flags the items for triage (see Staleness pings).
- The triage assistant answers requests to the triage bot. An item with
status: needs-team-inputis waiting for the team: the triage bot posts no analysis on it, and comments only to answer requests, in a response comment. - 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:
- triage.md: the goals of triage, priority definitions, and how to triage a PR.
- labels.md: the triage labels and who manages each one.
- templates.md: standard replies for common cases.
- triage_criteria.md: how to turn an item into an analysis.
- The natural-writing skill: rules for the plain English text.
Check the setup
Before any job, check:
- You are in a checkout of
a2ui-project/a2ui:git remote -vnames 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. ghis logged in:gh auth statussucceeds. If it fails, ask the user to rungh auth loginin a terminal, since it is interactive, and wait until they say that they did.- If the job posts, the account has triage access:
gh api repos/a2ui-project/a2ui -q .permissions.triageprintstrue. 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 printsfalse, tell the user that the triage bot cannot post from this account, and stop. They can log in to another account withgh auth login.
Start the triage bot
When asked to start the triage bot, as in "start triage bot":
Check the setup. Each run uses the skill and the scripts of this checkout, so if it is not on
main, or is behindorigin/main, tell the user.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.
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.
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>.Do the first hourly run.
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.
- Check the setup. If a check fails, skip the run, and report which check failed and what the user should do.
- 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).
- Do [Staleness pings](#staleness-
Установить a2ui-triage-bot в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
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), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic