Fxa jira bug description

From mozilla/fxa · View interactive version

Fxa jira bug description is an AI agent skill from the GitHub repository mozilla/fxa. Drafts a Jira bug report for an FXA issue. Gathers repro steps, expected vs actual behaviour, and affected surface, outputs a structured report, and optionally files the ticket via the Atlassian MCP. Returns the new FXA-N key when filed.

How to use this skill

Skill file

FXA Jira Bug Report

Draft a Jira bug report for an FXA issue, and optionally file the ticket via the Atlassian MCP. Do not create, edit, or suggest changes to any source files.

Step 1: Gather Context

If a Sentry link, error log, or stack trace was provided, read it first and infer as much as possible before asking anything.

Required information:

Also useful — ask only for what is missing:

If all required information is clear, proceed directly to Step 2.

Step 2: Research

Search only the packages likely involved. Find:

Incorporate findings directly into Root Cause and Key Reference Files. Surface genuine unknowns as Open Questions.

Step 3: Output

Summary: [area] <concise bug description> — e.g. [auth] Passkey registration fails silently when device has no authenticator

Background:

What the bug is, where it occurs, and who is affected. 2–3 sentences.

Steps to Reproduce:

Numbered steps from a known starting state. Include account state and environment where relevant.

Expected Behaviour:

What should happen.

Actual Behaviour:

What actually happens. Include error message, code, or Sentry event if available.

Affected Surface:

Which users, flows, account states, browsers, or environments are affected. Note if intermittent.

Severity: (Critical / High / Medium / Low)

Root Cause: (if known or suspected — omit if unknown)

Where in the code the bug originates. Name the specific file and function when identified — this is the one path worth putting in the prose. Every other path belongs in Key Reference Files.

Acceptance Criteria:

Key Reference Files: (accurate as of drafting; verify before starting, since files get moved and renamed)

Specific files relevant to investigation or fix. One line each, no more than 6.

Out of Scope: (omit if not needed)

Open Questions: (omit if none)

Step 4: Optionally file the ticket via Atlassian MCP

After producing the draft (Step 3), check whether the Atlassian MCP is available in the current session (look for mcp__atlassian__createJiraIssue in the available tools). If not available, stop — the user files the ticket manually using the drafted description.

If available, ask the user via AskUserQuestion whether to file now:

If the user picks "Skip", stop and output the draft. If "File now", call mcp__atlassian__createJiraIssue with:

Surface the returned FXA-N key and the issue URL. That key is this skill's return value when invoked inline by another skill (e.g. /fxa-pr-open uses it to populate the Closes: line).

Guidelines

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.