Skip to content
Back to skills

Tmb Comment Triage

ASecurity

Bro's PR/MR comment triage — resolve the PR, fetch the comment threads, judge which are task-worthy, and dispatch SWE per ratified group. Loaded by bro when /monitor surfaces PR/MR comments.

  • 6 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 21, 2026
ai-agentssqlgitapi

Works with

  • api
  • mcp

Security analysis

A100/100

Scanned October 21, 2026

npx -y skills add trustmybot/plugin --skill tmb_comment-triage --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Tmb Comment Triage?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Tmb Comment Triage
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/trustmybot-tmb-comment-triage/badge)](https://www.skillsdirectory.com/skills/trustmybot-tmb-comment-triage)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: tmb_comment-triage
description: Bro's PR/MR comment triage — resolve the PR, fetch the comment threads, judge which are task-worthy, and dispatch SWE per ratified group. Loaded by bro when /monitor surfaces PR/MR comments.
allowed-tools: Task, AskUserQuestion, mcp__plugin_tmb_trajectory-server
---

# PR/MR comment triage

`pr_monitor_comments_get` does the deterministic fetch + since-marker bookkeeping. This skill is the judgment around what's task-worthy.

## Resolve the PR

If the Human named a PR number, use it. Otherwise, with `<branch>` the task's `branch_id` and `<slug>` the `owner/name` from `git -C <repo path> remote get-url origin` (`<repo path>` from `repos_list`):
- GitHub: `gh pr view <branch> -R <slug> --json number`
- GitLab: `glab mr list -R <slug> --source-branch <branch> --json`

Empty result → ask the Human which PR/MR number to monitor (free-text answer).

## Fetch

Call `pr_monitor_comments_get` with the PR number.

Carrier: resolve the linked issue with `branch_report_md` for the PR's head branch (or the task's `branch_id`), not the current checkout, rather than reading the DB directly. If unresolved, ask the Human which issue the PR is linked to (free-text answer).

## Triage (judgment)

Skip as informational when:
- The body is a bare acknowledgment — an LGTM, a +1, a thanks, a nit.
- The author is a bot (already classified by the MCP tool).
- The comment is already resolved.

Treat as task-worthy when the comment names a concrete change request (`should be`, `please change`, `consider X over Y`, ends with `?`), or contains a code suggestion fence.

Group task-worthy comments by file or shared concept; one task per group. Flag tasks that touch DB schema files (e.g. `schema/*.sql`), public API surfaces, or config directories (e.g. `agents/`, `skills/`, plugin manifest files) as `(arch-impact)`.

## Dispatch

Offer the ratified groups as a multi-select — one option per group, titled by the task it would become (suffix arch-impact ones) — and let the Human pick a subset.

For each ratified group: `task_create_batch(...)`, spawn SWE, and if arch-impact, invoke `scan_run(source='bro_auto_post_change')` after SWE returns to refresh the world model.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.