/qa-skills:report-bugfrom qa-skills
Create a Jira Bug from a failed TestRail case or a defect found in the live app. Find the user story it belongs to, search Jira for duplicates first, write reproducible steps with Expected vs Actual per failing step, link the Bug to the story and the TestRail case, and read it back after creating. Use when the user asks to create, log, file, or raise a bug or defect in Jira, write a bug report, or record a failed case or wrong behavior, including when they only share a screenshot of the error. Not for retesting a Bug Dev marked fixed, or closing or reopening it after the retest (`verify-bug`).
Ships in qa-skills. 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.
Read when SKILL.md points to them.
Creates a Jira Bug that a developer can reproduce on the first read without asking back. The Bug links to its user story and to each TestRail case whose failed result it explains.
References:
qa-write-test-cases cover steps, expected results, and tone.When to skip steps:
run-test-suite run → its result block and evidence are the reproduction, so skip the rerun in Step 3. The duplicate search, the approval, and the read-back still apply.Every Bug links to a user story. Do not create a Bug until the story is known.
parent, issue links, and keys in the text. Never use a subtask, task, bug, or epic in place of the story.C<id>: if a local *.test.md holds it (the story's folder under tickets/, or cases/ in a run folder), read its refs there. Otherwise, with the sync-test-cases-with-testrail skill, run list to find its section, then pull --section <section> --out <scratch dir>. Read the case's refs, preconditions, and steps from the pulled file, and resolve the story from refs.From the story, read:
assignee: display name and accountId, read again right before creatingRead Jira and Confluence through the Atlassian MCP and Figma through the Figma MCP. Missing connection → stop and ask for it.
Always search Jira before drafting a new Bug. Never filter on the title prefix: older Bugs may lack it.
search, targetApp JIRA, limit 30): the symptom and the feature, in the language of the project's Bugs. Rovo matches meaning, so it finds Bugs worded differently from this one. Nothing relevant → rephrase once, or switch language when the project writes in two. Keep only Bugs.issuetype = Bug AND text ~ "<symptom or feature>" in the story's project.On a match, propose the action in the Step 4 message, and write only after the user approves it:
tickets/<KEY>-*/context.md), read it and the sources it lists.domain/ gives it, read as Domain File says. No rule → search as Related Sources describes. A found issue is context, never the Bug's story. Nothing found → ask the user for the expected behavior.agent-browser skill, or on Android and iOS with the agent-device skill as the Device Session reference of run-test-suite says. Ask before any action that saves data.
automation-lessons/ first, if there is one.test-runs/*/results.md. No results file → take them from the user.Format rules:
Writing rules:
Authorization headers.Priority and severity:
| Priority | Signs |
|---|---|
| Critical | Wrong money, balance, order, or matched quantity; an order accepted in a blocked session; data loss; core flow blocked; security |
| High | Main flow wrong with a workaround; wrong figures displayed |
| Medium | Secondary flow, or only under narrow conditions |
| Low | Display, typos, layout |
One message for every Bug drafted together, as the message-the-qc skill lays out. One Bug: show its draft. Several, such as a run's failed cases: save the drafts to bugs.md in the run folder, else the ticket folder, and show one line per Bug with its title, priority, story, and any duplicate action or Unverified value from the list below.
Questions earlier steps raised (the story key, which sprint, the expected behavior, a save while reproducing, filing a Bug not reproduced) go in this message, not before it. Draft meanwhile from what is known.
With each Bug, show only what the QC checks:
Unverified valueKeep account IDs, sprint IDs, link types, and TestRail links for the read-back in Step 5. Mark each unknown value Unverified. Do not create the Bug while the story, found-on environment, platform, build, or sprint is Unverified.
❓ Create these Bugs?
1. ✅ Create
2. ✏️ Type changes
Write to Jira only after the user approves the draft. Then run every approved write without asking again. An extra Bug or a changed payload needs a new approval.
Unverified or a placeholder as a value.relates to, or blocks when the Bug blocks the story. A story key in the description is not a link.verify-bug found: also link the fixed Bug, with relates to.C<id> — <case title>, URL <TESTRAIL_URL>/index.php?/cases/view/<id>.Read the Bug back: every field sent, the story link, the assignee accountId, the sprint ID, the web links, and the attachments. A successful create response is not proof. Fix a mismatch on the same Bug. Never create a second Bug to retry a failed step.
run-test-suite, return the Bug key for its Step 6. Otherwise list each failed result with the Bug key for the user to add to its Defects field.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
14 skills in this plugin
/detect-duplicate-test-casesFind duplicate, near-duplicate, and overlapping manual test cases in TestRail or local `*.test.md` files. Identifies exact matches, semantically similar cases, subsets, and variations that differ only in data. Recommends which cases to keep, merge, or remove. Use when asked to find or clean up duplicate test cases or dedupe a TestRail section. Not for pruning cases that duplicate nothing./gather-contextGather what every source says about a Jira ticket or feature and save it to a context file (`tickets/<KEY>-<slug>/context.md`) with the sources read and not read, existing TestRail cases, conflicts between sources and the side followed, and open questions. Reads the ticket with its history, comments, sub-tasks, and linked issues, plus Confluence, Figma, TestRail, the live app, and the QA workspace. It is the first step of `review-user-story` and `qa-write-test-cases`. Use when the user asks what is known about a ticket or feature, asks to collect, refresh, or re-check its context, or asks for the sources a ticket does not link./improve-test-casesAnalyze and improve existing manual test cases (`*.test.md` in TestRail format, or cases pulled from TestRail) for clarity, structure, and format compliance, then push the fixes back to TestRail. Use when the user asks to improve, clean up, review, standardize, or rewrite existing test cases or a TestRail section./message-the-qcWhen to stop and ask the QC, and how to lay out every message to them. Use before any question, approval request, or report to the QC./plan-qc-subtasksCreate, estimate, and schedule the QC's own QC subtasks in Jira. Finds the stories assigned to the QC for testing, creates a QC subtask under each story that has none, estimates story points from the story, and fills empty Start and Due dates from the Dev subtasks' Due dates and the story points, all in one approval. Use when the user asks to list the stories they test, create QC subtasks, estimate or fill story points on them, set QC start or due dates, or plan their QC work for a sprint. Not for story point or sprint reports./qa-write-test-casesGenerate checklists and manual test cases in TestRail format (`*.test.md`) from Jira tickets, Confluence pages, Figma designs, the live app, or the user prompt alone. Use this skill whenever the user asks to create or write test cases, test scenarios, test plans, checklists (high-level test cases), or QA documentation, for a ticket, a page, a design, a feature, or TestRail.npx claudepluginhub tinyc0der/qa-skills --plugin qa-skills