Jira pmm triage
Read-only investigation + triage for Percona PMM JIRA tickets (PMM-####). Reads the ticket, judges whether it is relevant and makes sense, classifies it as bug vs feature/improvement vs not-actionable, verifies reality on current main, reproduces bugs with the narrowest repro, does a focused code analysis, and produces a recommended fix (bugs) or a feasibility + effort estimate (features). Posts ONE short, focused developer/internal comment on the JIRA ticket summarizing the findings and tags the ticket with the `ai-reviewed` label, then STOPS. It never branches, edits code, or pushes — the only writes it performs are on the JIRA ticket (the comment, plus the `ai-reviewed` + `tech/*` labels and matching components). Use for triaging perconadev.atlassian.net PMM tickets, deciding whether a ticket is worth doing, estimating feature effort, or recommending a fix. When the user later says "implement" / "go", hand off to the jira-pmm-fix skill, which owns the fix, verification, and PRs.From its SKILL.md
npx -y skills add theTibi/pmm-skills --skill jira-pmm-triageAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
9.5 KB, as published. Nobody here has run it
JIRA → PMM → Triage (investigate & report, then stop)
This skill investigates and reports. It is the front door for a PMM ticket. It ends
with a single, focused JIRA developer comment and a hard stop. Implementation is a
separate, explicitly-gated phase owned by the jira-pmm-fix skill.
Hard guardrails (do not violate)
- Read-only on every code repository. No
git switch -c, no branch, no edits, no commits, no push, no PRs. Reproduction may add a throwaway local test or run existing tests, but nothing is committed and the working tree is left clean (or clearly noted). - The only writes you perform are on the JIRA ticket: ONE internal/developer-visible
comment, plus JIRA metadata added additively after the comment posts — the
ai-reviewedlabel, thetech/<Tech>technology label, and the components matching the code areas you analysed. Nothing else — priority, issue links, and assignee are only suggested in the comment, never changed (see references/jira-comment.md). - Stop after the comment. Do not start implementing. When the user explicitly says "implement" / "go ahead" / "fix it", hand off to jira-pmm-fix.
- Never treat JIRA text alone as proof. Verify against current
maincode/runtime.
High-Level Flow
1. READ JIRA — Fetch ticket details; understand the report
2. TRIAGE RELEVANCE — Relevant? Makes sense? Or obsolete/dup/not-a-bug? (shared gates)
3. CLASSIFY — Bug | Feature/improvement | Not actionable
4. REALITY CHECK — Verify on current main: ticket state, code presence, cheap runtime check
5a. REPRODUCE (bug) — Narrowest repro; capture evidence (or agreed manual repro)
5b. SIZE (feature) — Feasibility + effort estimate
6. CODE ANALYSIS — Route to code; root cause (bug) or scope of work (feature)
7. RECOMMEND — Minimal-fix recommendation (bug) or work summary (feature)
8. JIRA WRITE-BACK — One dev comment (real GitHub links + fix snippet) + labels (`ai-reviewed`, `tech/*`) + components
9. STOP — Wait. Hand off to jira-pmm-fix only on explicit user request
Proceed in order. The shared gates in references/triage-gates.md govern steps 2–4 and decide whether you stop early with a "not actionable / already fixed" recommendation (which is a perfectly good outcome to post and stop on).
1. Read JIRA
- Issue key PMM-#### on Percona JIRA.
- Use Atlassian MCP / API if available; else ask the user to paste summary, description, steps, versions, components, attachments, and relevant comments. See references/jira-atlassian.md.
- Capture: Affects version, Server vs Client, environment (K8s, Docker, OS), linked PRs/issues, current status and resolution.
If the ticket cannot be read, stop and ask the user for the details.
2. Triage relevance & 3. Classify & 4. Reality check
Apply the shared gates in references/triage-gates.md:
- Relevance triage — is this real, in-scope, and worth a code change at all? If it is obsolete, a duplicate, not-a-bug, wrong-product, or too stale to act on, your job is to say so (with evidence) in the JIRA comment and stop. In this skill a triage stop is the deliverable — do not ask permission to post the conclusion.
- Classify — Bug, Feature/improvement, or Not actionable. This decides whether step 5 is a reproduction or an effort estimate.
- Reality gate — verify on current
main: ticket state/resolution, a quick code search for an existing fix, and the smallest cheap runtime check. If it is already fixed, report that with the evidence and stop.
Fill in the evidence contract block from the shared doc before recommending anything.
5a. Reproduce (bugs)
Pick the lowest layer that still proves the bug; see references/pmm-testing.md:
- Go unit / integration in the affected module (
go test ./path/...). - api-tests — requires PMM Server running.
- UI — Vitest via
uiworkspace; scoped package when possible. - E2E — separate repos; only if lower layers cannot cover the failure mode.
If a repro needs conditions you cannot automate in-repo, document a minimal manual checklist and capture whatever evidence is cheaply available. You do not need a green-light from the user to proceed — you are reporting, not implementing — but be honest in the comment about repro confidence (confirmed / partial / not reproduced).
If the bug does not reproduce, that is a finding: report it (likely already fixed, wrong version/component, missing flag) with what you tried, and recommend the JIRA outcome (e.g. ask reporter for version + repro, or close as already-fixed).
Any throwaway repro test must be reverted/unstaged — leave the tree clean.
5b. Size (features / improvements)
Produce a feasibility judgement and effort estimate per references/effort-estimation.md: areas touched, API/proto/migration/UI impact, test surface, whether a Feature Build is needed, key unknowns, and a relative effort size (small/medium/large — no fake day estimates). Be explicit about the chief risk that would make it bigger.
6. Code analysis & 7. Recommend
Route the ticket to code with references/route-to-code.md,
then read the relevant paths on current main:
- Bug: trace the failing path (handler → service → DB, or UI data flow), state the root cause in plain language, and recommend the minimal fix — described as a plan, with the file(s) and the test that would prove it. Do not write the fix.
- Feature: confirm the sizing against the actual code, list the main touch points, and summarize how much work it is and the chief risks/unknowns.
Keep recommendations concrete and tied to real paths you read — no speculative fixes.
8. Post the JIRA developer comment + metadata
-
Post one short, focused, internal/developer-visible comment summarizing the findings. Follow references/jira-comment.md for visibility settings and the templates. Keep it tight: classification, repro/reality status, root cause or effort, and a clear recommendation. Link evidence rather than pasting walls of logs. Specifically:
- Cite code as real GitHub permalinks to the exact file+line(s), pinned to the base
SHA you inspected — never bare
path:linestrings. - For a bug, the Recommended fix must include a short code snippet of the change.
- End with a model-attribution footer naming the LLM that ran the triage — the model you are actually running as (product name + exact model ID), never hardcoded.
- Cite code as real GitHub permalinks to the exact file+line(s), pinned to the base
SHA you inspected — never bare
-
Only after the comment posts successfully, apply JIRA metadata additively (send the union of existing + new — never clobber; if the comment failed or wasn't safely restricted, apply none):
- the
ai-reviewedlabel, - the
tech/<Tech>technology label for the subsystem/DB the ticket concerns, - the components matching the code areas you analysed (valid project components only).
Priority, issue links, and assignee are suggested in the comment, not changed. See references/jira-comment.md for the taxonomy, the code-area → component map, and the additive REST/MCP shapes.
- the
9. Stop
After the comment is posted, stop and report to the user what you found and that you are awaiting a decision. Do not implement.
When the user explicitly asks to move forward ("implement" / "go" / "fix it"), hand off to
the jira-pmm-fix skill, which owns branching from main, the fix, the review loop,
verification, and the component + Feature Build PRs. Pass along the ticket ID, the class,
the reality evidence, the reproduction, and the recommended fix so it does not re-derive
them from scratch.
Report-to-user summary (after posting the comment)
## Triage of PMM-<id>
**Class**: <bug | feature | not-actionable>
**Reality on main**: <reproduced | already fixed | not reproduced | n/a>
**Root cause / scope**:
**Recommendation**: <minimal fix plan | effort estimate | suggested JIRA outcome>
**JIRA comment**: posted (internal) — <link>
**Labels**: `ai-reviewed`, `tech/<X>` added
**Components**: <components added, or none>
**Next**: awaiting your go-ahead to implement (hand off to jira-pmm-fix)