/qa-flow:file-bug-ticketfrom qa-flow
Creates bug/feature/chore tickets in issue trackers (Jira, Linear, GitHub Issues, etc.) via REST API with screenshots, owner, priority, and verification.
Ships in qa-flow. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Creates a ticket in your issue tracker through its REST API: terse English description inside a character budget, screenshots attached, owner / priority / placement always filled, and the result verified before it is reported. Default type is a bug, but features and chores work the same way.
Called directly by the user, or by
manual-test(Step 7) with fields and body already resolved.
This skill is a router. Creating a ticket is an external write — never delegate with a field left to guess.
Stays inline (main conversation): resolve what is ambiguous — title, type, state, epic/project,
owner, priority, and the screenshot paths. If the token returns 401, get a new one from the user
and update the local secrets file before delegating.
Delegated (subagent): read the token from env / local secrets, build the payload, create the ticket, upload the attachments, verify with a GET and return the ticket URL. Suggested brief:
Follow the file-bug-ticket SKILL.md (skip Step 0).
Fields already confirmed with the user: <title / type / state / epic / owner / priority / labels / screenshots>.
Description: use the body in <path> verbatim.
Do not ask anything — if something is missing, return saying exactly what.
If your harness has no subagents, run it inline.
Tier (capability levels — balanced ≈ Sonnet-class, deep ≈ Opus-class / top reasoning tier):
| Situation | Tier |
|---|---|
| Fields and body already resolved — only build the payload, post and verify | balanced |
| Must draft title and description from a bug investigation (repro, evidence, severity) | deep |
If the subagent returns saying data was missing, resolve it with the user and redispatch — do not take the work over in the main conversation.
TRACKER_API_BASE — your tracker's REST API base URL.TRACKER_TOKEN — API token, read at runtime from env or a git-ignored .env.local. Never
hard-code it here, never commit it, never print it.AGENTS.md / CLAUDE.md), and
refetch from the API when the user names an unknown team/state.When the user does not specify:
bug for a problem/error/incident; feature for new functionality; chore for maintenance.manual-test,
mirror a sibling bug in the same epic/project for epic, team, state and labels instead of these defaults; the owner still follows the owner-by-layer table.Owner by layer (fill in your team; the user's override wins):
| Where the defect lives | Owner |
|---|---|
| Front-end (UI state, layout, copy, client validation, component behaviour) | <front-end owner> |
| Back-end (API response, data, workers, 4xx/5xx, wrong payload) | <back-end owner> |
| Unclear / both layers | both |
Priority + severity, proportional to the defect:
| Level | When |
|---|---|
| Critical | Core flow down for everyone, data loss, money charged wrongly, no workaround |
| Major | Main flow broken for a segment, or wrong data shown; no reasonable workaround |
| Moderate | Flow blocked but a workaround exists (refresh, retry), or edge-case breakage |
| Minor | Cosmetic, copy, rare trigger, no functional loss |
Placement (epic / iteration):
Hard budget: 1000 characters of prose, 4 sections, 1–2 lines per bullet. Simple front-end bug: 500 characters. "Simple front-end" means the defect is visible on screen and its cause needs no correlation — wrong copy/label, layout/overflow, missing or misplaced element, wrong state on a control. If you had to correlate network, console, DB or two systems to explain it, it is not simple: use 1000.
Counts: every line of prose — Summary, the repro steps' text, the Evidence sentences, the Notes.
Does not count: markdown tables, fenced code blocks (a repro curl, a payload, a stack trace),
screenshot filenames and attachment URLs. The exemption is not a loophole: sentences inside table
cells count.
How to stay inside it: cut restatement (the title already says what is broken); move per-case numbers into a table; drop hedging; keep one root-cause guess, one line; let the screenshots carry the description. Never pad — 300 characters that say everything is the goal.
## Summary
<1-2 sentences: what's broken, which AC it breaks, what it costs the user>
## Steps to reproduce
<numbered, tight — account/data used inline>
## Evidence
1. **<case/profile>** — `<id>` (<context>). <the one key fact, e.g. a before/after delta>.
Screenshots attached (match by filename).
2. <second case, same shape — or omit>
## Notes
- <root-cause guess, 1 line>
- <sample-size / confidence caveat, 1 line, if relevant>
- <impact/priority, 1 line, if relevant>
Drop sections that do not apply; a simple front-end bug usually collapses to Summary + Steps + Evidence. Never invent data the user did not provide.
If a good reason needs more (many genuine repro steps, several independent evidence cases, a root-cause write-up the developer asked for) — ask the user before posting: state the prose count and why the short form does not fit, and let them decide.
Read the token from env / local secrets.
Confirm or infer every field above. If something critical is ambiguous, ask one focused question.
Verify every screenshot path exists before uploading; if not, ask the user to confirm it.
Count the description's prose against the budget (500 / 1000). Over → cut, or ask.
Build the JSON with a serializer (JSON.stringify, json.dumps, jq) — never by string
interpolation; long markdown with tables is what a badly escaped body breaks.
Create the ticket. Example shape:
curl -s -X POST \
-H "Authorization: Bearer $TRACKER_TOKEN" \
-H "Content-Type: application/json" \
--data @_local/ticket.json \
"$TRACKER_API_BASE/stories"
Upload the screenshots through the tracker's file API (usually multipart/form-data) and attach
them to the ticket. Many trackers do not preserve upload order — the body references each
screenshot by filename. (Windows PowerShell 5.1 multipart is fragile — prefer curl.)
If filing from a QA run, link the bug to the parent ticket with relates to (never blocks).
Verify with a GET: fields, owner, labels, attachment count and names, the link, and that the description length matches the source file (no truncation).
Report back in ≤ 4 lines: id, title, URL, attachments.
401 → token rotated. Ask the user for a new one, update the local secrets file, retry once.404 on the attach/update call → wrong id; use the id from the create response, not the web URL.422 / validation error → print the API's error message verbatim and adjust.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
issue-tracking, bug-reporting, ticket-creation, router-skill
npx claudepluginhub qamarcos/claude-qa-flow --plugin qa-flow5 skills in this plugin
/create-test-plan-scenariosTurn a task/ticket into a structured, professional QA test plan — a checklist of atomic, executable scenarios — and (optionally) post it back to your issue tracker. Use whenever the user asks to "create a test plan", "list test scenarios", "criar cenários de teste", "QA checklist for TICKET-XXXX", or otherwise wants a ticket turned into a verifiable QA plan. Works for any story type (UI, API, mobile, infra). Always runs a self-review pass before writing anything back./manual-testExecute exploratory/manual QA against a web app, driven by either a ticket's test plan or a single ad-hoc scenario the user describes. Use whenever the user asks to "run a manual test", "fazer um teste manual", "execute this scenario", "validate this ticket manually", "manual test for TICKET-XXXX", or otherwise wants the agent to step through a behavior in the real app and report pass/fail with evidence. Resolves context with the user, delegates execution to an executor subagent, has the evidence checked by an independent reviewer, and only then (with approval) writes back to the tracker./promote-to-regressionTurn ONE reviewed manual QA run (a throwaway Playwright script + its report and evidence) into a committed regression spec in the project's e2e suite — only if the scenario is strong enough to earn a permanent place, rewritten in the suite's own conventions, proven stable and proven able to fail, and independently reviewed before anything is committed. Use whenever the user asks to "promote this test", "promover para regressão", "turn this manual test into an automated one", "add this scenario to the suite", "automatizar esse cenário", or picks a candidate from scan-regression-candidates. Never commits or opens a merge request without the user's explicit OK./scan-regression-candidatesSweep a QA scratch root (default `_local/`, where manual-test keeps its throwaway scripts, evidence and logs) and list the few scenarios worth turning into committed regression tests — scored for value and cost, checked against the existing suite, with probes, one-offs and already-covered flows filtered out as noise. Read-only; produces a ranked backlog report and hands chosen candidates to promote-to-regression. Use whenever the user asks to "varrer a pasta local", "find regression candidates", "o que vale automatizar?", "which manual tests should become automated", "levantar testes pendentes de automação", or wants a backlog of automation from past manual runs.Other plugins' skills for the same job