ci-triage
Skill0 starsChanged 4 months agoMITView on GitHub
Scans open Customer Investigation tickets in a Jira project, classifies each as KB-answerable / bug-cluster / standalone-bug / docs-gap / needs-investigation, cross-references the product KB and existing open tickets, and posts a structured AI Triage comment on each. Idempotent — skips tickets already triaged.
4 other projects use a version of this.
Adopted by
Most recently taken up by
- 5throck/ai-workspace-standardstheir own version, first seen Sep 26, 2026
- F0Rextasy/ci-triagetheir own version, first seen Sep 23, 2026
- wannanbigpig/ai-engineering-collaborationtheir own version, first seen Sep 14, 2026
- syndicalt/zaxytheir own version, first seen Jul 7, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- 5throck/ai-workspace-standards★ 16same name
- syndicalt/zaxy★ 16same name
- wannanbigpig/ai-engineering-collaboration★ 2same name
- F0Rextasy/ci-triage★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository3 other files it gives its agents.
- ci-autofixSkill
- ci-enrichSkill
- ci-workflowSkill
The file
We split this skill into the rules it gives an agent
12 rules. 0 are common, 8 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
8
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 63
If --kb-url was provided, search it for articles matching the ticket's symptom.
- Distinctive: line 66
If results are returned, fetch the full content of each candidate article and verify that it directly addresses the specific question or …
- Very specific: line 68
Do not classify a ticket as KB-answerable based on a search result title alone — the article content must actually answer the customer's …
- Very specific: line 80
If no --kb-url is provided, or if the KB search or fetch fails, skip check A entirely and note the skip in the triage comment.
- Very specific: line 84
Search open tickets in the same project for bugs or investigations with overlapping keywords.
- Distinctive: line 107
Before posting any comments, display a summary of all proposed comments to the user:
- Distinctive: line 124
If the user says no, stop.
- Distinctive: line 147
Keep reasoning factual and specific.
- Distinctive: line 153
After processing all tickets, output a brief summary:
- Distinctive: line 174
If a KB search fails or times out, skip check A and note the skip in the comment.
- Distinctive: line 175
If Jira returns an error when posting a comment, log the failure and continue.
- Distinctive: line 181
After triage completes, the orchestrator may trigger:
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CI Triage
Fetch open Customer Investigation tickets from a Jira project, classify each one, and post a structured triage comment. Designed to run on-demand before sprint planning or whenever the support queue needs a priority pass.
This skill is idempotent: it will never post more than one triage comment per ticket. It only acts on open tickets. It never modifies ticket fields — comments only.
Arguments
/ci-triage <PROJECT> [--kb-url <KB_URL>] [--issue-type <TYPE>]
Examples:
/ci-triage MYPROJ
/ci-triage MYPROJ --kb-url https://support.example.com
/ci-triage MYPROJ --issue-type "Support Request"PROJECT— Jira project key (required)--kb-url— Base URL of your product knowledge base (optional, enables KB check)--issue-type— Jira issue type to target (default:"Customer Investigation")
Step 1 — Fetch open CI tickets
Query Jira for open tickets matching the configured issue type in the given project:
project = <PROJECT>
AND issuetype = "<TYPE>"
AND status NOT IN (Done, Closed, "Won't Fix", Duplicate)
ORDER BY created DESCFetch fields: summary, description, status, priority, comment, created.
Limit: 50 tickets per run. Use nextPageToken for pagination if needed.
Step 2 — Guard: skip already-triaged tickets
For each ticket, scan existing comments for the string AI Triage. If found, skip this
ticket entirely — it has already been classified.
Step 3 — Classify each ticket
For each ticket, perform three checks in parallel:
A. KB check — fetch and verify, do not assume
If --kb-url was provided, search it for articles matching the ticket's symptom. Use the
ticket summary and first 200 words of description as the search query.
If results are returned, fetch the full content of each candidate article and verify
that it directly addresses the specific question or behaviour the customer reported.
Do not classify a ticket as KB-answerable based on a search result title alone — the
article content must actually answer the customer's question.
For each article read, make an explicit determination:
| Finding | Classification impact |
| Article directly and fully answers the customer's question | KB-answerable — include article link in comment |
| Article covers the topic but is missing the specific detail | Documentation gap — note what is missing |
| Article exists but is outdated or contradicts current behaviour | Documentation gap — note the discrepancy |
| No relevant article found | Do not classify as KB-answerable; proceed to B and C |
If no --kb-url is provided, or if the KB search or fetch fails, skip check A entirely
and note the skip in the triage comment.
B. Existing bug check
Search open tickets in the same project for bugs or investigations with overlapping
keywords. If 2 or more other open tickets describe the same symptom, mark as a
bug-cluster and record the related ticket keys.
C. Classification
Assign one of the following:
| Classification | Criteria |
KB-answerable | A KB article was fetched and verified to directly answer the customer's question. No engineering needed. |
Bug — [cluster name] | 2+ open tickets share the same root cause. Name the cluster by symptom (e.g. "login timeout", "export not working"). |
Bug — standalone | Confirmed reproduced by support, no similar open ticket found. |
Documentation gap | Behaviour is correct but the KB article is missing, incomplete, or outdated. Docs update needed, not a code fix. |
Needs investigation | Insufficient evidence to classify confidently. May be a product limitation or edge case. |
Assign confidence: High (clear evidence), Medium (likely but not confirmed),
Low (speculative — flag for human review, do not trigger downstream skills).
Step 4 — Preview and confirm before posting
Before posting any comments, display a summary of all proposed comments to the user:
Ready to post triage comments to Jira?
<PROJECT>-XXXX: [Classification] | Confidence: [High/Medium/Low]
→ [1-sentence summary of reasoning]
<PROJECT>-YYYY: [Classification] | Confidence: [High/Medium/Low]
→ [1-sentence summary of reasoning]
... (list all N tickets)
Post these N comments? (yes/no)Wait for explicit confirmation before calling addCommentToJiraIssue on any ticket.
If the user says no, stop. If the user asks to modify a comment, update it and re-display
before confirming.
Step 4a — Post triage comment
Post a comment on each confirmed ticket using this format:
🤖 **AI Triage** _(AI-generated · testing phase)_ | [Classification] | Confidence: [High/Medium/Low]
[1–2 sentence reasoning. What evidence supports this classification?]
**Related tickets:** [keys, if cluster] — omit line if not applicable
**KB reference:** [link and article title, if KB-answerable] — omit line if not applicable
**Recommended action:** [One concrete next step for support or engineering]
---
_This comment was generated automatically. The AI triage system is in a testing phase — please treat classifications as a starting point, not a final verdict._Keep reasoning factual and specific. Do not speculate beyond what the ticket describes.
Step 5 — Report
After processing all tickets, output a brief summary:
- Total tickets scanned
- Skipped (already triaged)
- KB-answerable
- Bug clusters identified (list cluster names and ticket keys)
- Standalone bugs
- Documentation gaps
- Needs investigation
- Comments posted
Guardrails
- Never act on tickets with status Done, Closed, Won't Fix, or Duplicate.
- Never post more than one triage comment per ticket (check Step 2).
- Never edit existing comments, transition ticket status, or change any fields.
- Never classify as
KB-answerablewithout fetching and reading the article content. - For
Lowconfidence classifications, post the comment but do not trigger any downstream skills (ci-enrich, ci-link-tickets, ci-autofix). - If a KB search fails or times out, skip check A and note the skip in the comment.
- If Jira returns an error when posting a comment, log the failure and continue.
Downstream skills
After triage completes, the orchestrator may trigger:
| Condition | Next skill |
| Ticket is thin (missing repro steps, expected/actual behaviour, or confirmed repro) | ci-enrich |
Ticket is Bug — [cluster] with confidence High | ci-link-tickets |
| Ticket is bug, High confidence, confirmed repro, single-service scope | ci-autofix |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

