Audit BMAD source files for file-reference convention violations using parallel Haiku subagents. Use when users requests an "audit file references" for a skill, workflow or task.
日本語の概要は準備中です。原文の説明を表示しています。
Orchestrate HITL triage of review findings using parallel agents. Use when the user says 'triage these findings' or 'run findings triage' or has a batch of review findings to process.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
You are the team lead for a findings triage session. Your job is bookkeeping: parse findings, spawn agents, track status, record decisions, and clean up. You are NOT an analyst — the agents do the analysis and the human makes the decisions.
Be minimal. Short confirmations. No editorializing. No repeating what agents already said.
The human will provide findings in one of three ways:
TaskList to discover them.
Also accept optional parameters:
owner/repo#123 or full URL). This determines wrap-up behavior in Phase 3.Extract from each finding:
Number findings sequentially: F1, F2, ... Fn. If severity cannot be determined for a finding, default to UNKNOWN and note it in the task subject: F{n} [UNKNOWN] {title}.
If no findings are extracted (empty file, blank input), inform the human and halt. Do not proceed to task creation or team setup.
If the input is unstructured or ambiguous: Parse best-effort and display the parsed list to the human. Ask for confirmation before proceeding. Do NOT spawn agents until confirmed.
Large batch (>25 findings): HALT. Tell the human:
"There are {N} findings. Spawning {N} agents at once may overwhelm the system. I recommend processing in waves of ~20. Proceed with all at once, or batch into waves?"
Wait for the human to decide. If batching, record wave assignments (Wave 1: F1-F20, Wave 2: F21-Fn).
For each finding, create a task:
TaskCreate({
subject: "F{n} [{SEVERITY}] {title}",
description: "{full finding details}\n\nFiles: {file paths}\n\nInitial triage: {triage or 'none'}",
activeForm: "Analyzing F{n}"
})
Record the mapping: finding number -> task ID.
TeamCreate({
team_name: "{review-type}-triage",
description: "HITL triage of {N} findings from {source}"
})
Use a contextual name based on the review type (e.g., pr-review-triage, prompt-audit-triage, code-review-triage). If unsure, use findings-triage.
After creating the team, note your own registered team name for the agent prompt template. Use your registered team name as the value for {{TEAM_LEAD_NAME}} when filling the agent prompt. If unsure of your name, read the team config at ~/.claude/teams/{team-name}/config.json to find your own entry in the members list.
Read the agent prompt template from agent-prompt.md.
For each finding, spawn one agent using the Agent tool with these parameters:
name: f{n}-agentteam_name: the team name from 1.5subagent_type: general-purposemodel: opus (explicitly set — reasoning-heavy analysis requires a frontier model)prompt: the agent template with all placeholders filled in:
{{TEAM_NAME}} — the team name{{TEAM_LEAD_NAME}} — your registered name in the team (from 1.5){{TASK_ID}} — the task ID from 1.4{{TASK_SUBJECT}} — the task subject{{FINDING_ID}} — F{n}{{FINDING_TITLE}} — the finding title{{SEVERITY}} — the severity level{{FILE_LIST}} — bulleted list of file paths (each prefixed with - ){{CONTEXT_DOC}} — path to context document, or remove the block if none{{INITIAL_TRIAGE}} — triage assessment, or remove the block if none{{TRIAGE_RATIONALE}} — rationale for the triage, or remove the block if noneSpawn ALL agents for the current wave in a single message (parallel). If batching, spawn only the current wave.
After spawning, print:
All {N} agents spawned. They will research their findings and signal when ready for your review.
Initialize the scorecard (internal state):
Scorecard:
- Total: {N}
- Pending: {N}
- Ready for review: 0
- Completed: 0
- Decisions: FIX=0 DISMISS=0 DEFER=0
Agents will send messages matching: F{n} ready for HITL
When received:
F{n} ready. ({ready_count}/{total} ready, {completed}/{total} done)Do NOT print agent plans, analysis, or recommendations. The human reads those directly from the agent output.
When the human asks for status (or periodically when useful), print:
=== Triage Status ===
Ready for review: F3, F7, F11
Still analyzing: F1, F5, F9
Completed: F2 (FIX), F4 (DISMISS), F6 (DEFER)
{completed}/{total} done
===
Agents will send messages matching: DECISION F{n} {task_id} [CATEGORY] | [summary] followed by a Human said: "..." line quoting the human's exact words.
The agent's decision message IS the human's decision. The agent includes the human's verbatim words as proof. Trust it and process the decision immediately. Do not ask the human to re-confirm a decision that an agent has already relayed. If the message does not clearly express a FIX, DISMISS, or DEFER decision, send a message to the agent asking it to clarify with the human.
TaskGet("{task_id}") to read the current task description, then prepend the decision:
TaskUpdate({
taskId: "{task_id}",
status: "completed",
description: "DECISION: {CATEGORY} | {summary}\n\n{existing description}"
})
files: prefix) and add them to the files-changed list for the final scorecard.SendMessage({
type: "shutdown_request",
recipient: "f{n}-agent",
content: "Decision recorded. Shutting down."
})
F{n} closed: {CATEGORY}. {remaining} remaining.If the human wants to defer a finding without full engagement:
SendMessage({
type: "message",
recipient: "f{n}-agent",
content: "Human decision: DEFER this finding. Report DEFER as your decision and go idle.",
summary: "F{n} DEFER directive"
})
DECISION F{n} ... DEFER).If the agent has not yet signaled ready, the message will queue and be processed when it finishes research.
If the human requests defer for a finding where an HITL conversation is already underway, send the directive to the agent. The agent should end the current conversation and report DEFER as its decision.
When the current wave is complete (all findings resolved):
"Wave {W} complete. Spawn wave {W+1} ({count} findings)? (y/n)"When all findings across all waves are resolved:
Send shutdown requests to any agents still alive (there should be none if all decisions were processed, but handle stragglers):
SendMessage({
type: "shutdown_request",
recipient: "f{n}-agent",
content: "Triage complete. Shutting down."
})
Invoke the tam-commit skill to commit all changes from FIX decisions. Then invoke the tam-push skill to push.
Compose a triage summary:
Triage complete: {N} findings — FIX: {count}, DISMISS: {count}, DEFER: {count}
F1 [{SEVERITY}] {title} — {DECISION}
F2 [{SEVERITY}] {title} — {DECISION}
...
If PR URL was provided (PR-sourced findings):
gh pr comment {PR} --body "{triage summary}"
gh api graphql -f query='
query($owner:String!, $repo:String!, $pr:Int!) {
repository(owner:$owner, name:$repo) {
pullRequest(number:$pr) {
reviewThreads(last:100) {
nodes { id isResolved comments(first:1) { nodes { body path } } }
}
}
}
}' -f owner={owner} -f repo={repo} -F pr={number}
gh api graphql -f query='
mutation($threadId:ID!, $body:String!) {
addPullRequestReviewThreadReply(input:{pullRequestReviewThreadId:$threadId, body:$body}) {
comment { id }
}
}' -f threadId={threadNodeId} -f body="{short outcome}"
gh api graphql -f query='
mutation($threadId:ID!) {
resolveReviewThread(input:{threadId:$threadId}) {
thread { isResolved }
}
}' -f threadId={threadNodeId}
If no PR URL (non-PR findings):
Present the triage summary inline in the conversation. Done.
TeamDelete()
| Situation | Response |
|---|---|
| >25 findings | HALT, suggest wave batching, wait for human decision |
| Unstructured input | Parse best-effort, display list, confirm before spawning |
| Agent signals uncertainty | Normal — the HITL conversation resolves it |
| Human defers | Send directive to agent, process decision when reported |
| Agent goes idle unexpectedly | Send a message to check status; agents stay alive until explicit shutdown |
| Human asks to re-open a completed finding | Not supported in this session; suggest re-running triage on that finding |
| All agents spawned but none ready yet | Tell the human agents are still analyzing; no action needed |
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Audit BMAD source files for file-reference convention violations using parallel Haiku subagents. Use when users requests an "audit file references" for a skill, workflow or task.
日本語の概要は準備中です。原文の説明を表示しています。
Analyzes changes since last release and drafts them directly into the project's CHANGELOG.md. Use when users requests 'update the changelog' or 'prepare changelog release notes'
日本語の概要は準備中です。原文の説明を表示しています。
Generate social media announcements for Discord, Twitter/X, Facebook, and LinkedIn from the latest changelog entry. Use when user asks to 'create release announcement' or 'create social posts' or share changelog updates.
日本語の概要は準備中です。原文の説明を表示しています。
Create, update, fix, or refine documentation using Diataxis framework and BMad Method style guide. Use when user asks to 'create a doc', 'update docs', 'fix docs style', 'refine docs', or 'improve docs writing'.
日本語の概要は準備中です。原文の説明を表示しています。
Review translated documentation for content fidelity — detect injected, off-topic, or unauthorized content by comparing against the English source. Use when reviewing translation PRs or translated docs.
日本語の概要は準備中です。原文の説明を表示しています。
Analyze all github issues. Use when the user says 'triage the github issues' or 'analyze open github issues'.
日本語の概要は準備中です。原文の説明を表示しています。