Triage findings
You have a
(from
). Filing every row blindly creates a
noisy, unprioritized backlog that nobody can action. This skill is the human-in-the-loop
gate:
show the shape of the findings, agree on a scope and order, emit a smaller set,
then hand off to
. The win is an auditable
wave structure — wave 1
is the high-value, confirmed work; later waves pick up the rest after review.
This is a reasoning/filtering step — there is no script to run. You read JSON, summarize,
and write a smaller JSON. See
${CLAUDE_PLUGIN_ROOT}/references/data-contracts.md
for the
exact
shape (the
,
,
,
,
fields).
1. Read and profile the findings
Read the
the user points at (default name
in the working
folder). Then
show counts before asking anything — people choose well when they can see
the distribution. Break it down across the dimensions that matter for triage:
- by : Critical / High / Medium / Low (and how many have none)
- by : e.g. vs (free text — bucket what you see)
- by : which areas of the source the findings cluster in
- by (optional): / / /
Present it compactly, e.g.:
42 findings total
severity: Critical 6 | High 14 | Medium 18 | Low 4
status: confirmed 30 | needs-review 12
section: Cargo Classification 19 | Port Calls 11 | Misc 12
kind: rename 25 | disambiguation 9 | missing 5 | other 3
2. Recommend a default, then follow the user's call
Propose a sensible wave 1 and say why, but do not impose it — the user owns the scope:
- Recommended default: AND first. Highest
value, lowest rework risk. These are the items most worth a ticket today.
- Hold for a later verification pass. Filing unconfirmed findings burns
reviewer trust and creates tickets you may have to close — better to verify, then file as
wave 2.
- Other common filters to offer: a single , a specific (e.g. just
s), or "everything except Low".
Ask one focused question, e.g. "Start with the 6 Critical + confirmed as wave 1, and hold
the 12 needs-review for a verification pass? Or a different cut?" Then honor whatever they
pick — including "file all of them" (in which case just confirm ordering).
3. Order within the scope
Within the selected set, order so the most important tickets get created first (and get the
lowest work-item IDs, which reads as priority on the board):
Critical → High → Medium →
Low, and
before anything softer. Stable-sort within a tie by
so
related tickets land together. This ordering carries straight into
's
array in the next step.
4. Emit the scoped subset
Produce the wave so the rest of the pipeline consumes it unchanged. Two equivalent options —
pick based on how the user wants to track waves:
- Filtered file (preferred for clean waves): write containing the
same top-level shape (, ) but only the selected, ordered .
Wave 2 becomes later. Each wave is its own auditable artifact.
- Annotated in place: add a and/or flag to chosen
findings in , leaving the rest for later. Useful when you want one file of
record showing what went into which wave.
Preserve every original field verbatim — above all the
, which threads through
and
so created tickets can be written back to the
right source row (see
). Never renumber or invent keys here; triage only
selects and orders, it does not rewrite findings.
Minimal example of a filtered wave file:
json
{
"source": "Downloads/CRM_Portal_Naming_Audit.xlsx (sheet 'CRM-Portal Audit')",
"keyColumn": "#",
"findings": [
{ "key": "1", "severity": "Critical", "status": "confirmed", "kind": "rename", "current": "Auto", "expected": "Automotive Cargo" },
{ "key": "7", "severity": "Critical", "status": "confirmed", "kind": "disambiguation", "current": "...", "expected": "..." }
]
}
5. Hand off
Report the wave back to the user (count, the filter applied, the file written) and tell them
the next step:
turns this scoped set into
(mapping each finding to an ADO work-item type and fields). Note any held-back waves so they
are not forgotten — e.g.
"wave 2 = the 12 needs-review findings, after a verification pass."
Notes
- If has no / (e.g. from a prose doc with assigned keys
), triage on / or simply on count, and say so — don't fabricate
severities.
- Keep waves small enough to review the created tickets before firing the next wave. A first
wave of 5–15 items is usually right; 100 tickets in one shot is the anti-pattern this skill
exists to prevent.
- Triage changes nothing in ADO and writes nothing back — it only shapes the input. Creation
happens in (via ), and source write-back in
(via ).