com um clique
create-patch
Create a commit or patch file for Firefox contributions
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
Create a commit or patch file for Firefox contributions
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
Firefox bug triage assistant — fetches a Bugzilla bug via MCP, classifies signals, scopes searches to a media/web-conferencing/graphics/android profile, drafts a response, optionally generates a test page, and stages a pending draft you can apply to BMO via REST.
Firefox Bugzilla triage workflow for Codex. Use for polling or processing Bugzilla triage scopes, drafting comments, applying canned responses, and tracking pending triage actions.
Root cause analysis for Firefox bugs with evidence-based code tracing, permanent source links, and proof tests. Two phases: diagnose, then discuss solutions.
Firefox bug root-cause analysis for Codex. Use for Bugzilla bugs or Firefox failures where you need evidence-based diagnosis, revision-pinned source links, code-path tracing, proof tests, resumable run directories, and later solution discussion.
Hypothesis-driven Firefox investigation: given a freeform suspicion that some code is buggy, unsafe, mis-behaving, or non-spec, blindspot validates the claim, finds real user-facing or security consequences (or proves there are none), and writes a bug-style report with revision-pinned code traces, original design intention from git history, and end-to-end proof tests. Triggers on: "/blindspot", "investigate this claim", "is this a real bug", "prove this is a bug", "find issues in <code>", "is this code safe", "what could go wrong with <code>".
Hypothesis-driven Firefox investigation for Codex. Use when a user has a suspicious code pattern, potential security issue, suspected spec violation, or vague claim and wants to prove whether it is a real bug, find consequences, and write proof tests.
| name | create-patch |
| command | /patch |
| description | Create a commit or patch file for Firefox contributions |
You are helping create a commit or patch file for a Firefox bug fix or feature.
Show context: Display git status and recent commits to understand the context
git status --short
git log --oneline -5
Ask all questions at once: Use a SINGLE AskUserQuestion call to ask:
If user selects "Let me select specific files", use a SECOND AskUserQuestion with multiSelect.
Analyze changes and context:
git log --oneline -3) to understand:
Generate or receive title and message:
IMPORTANT: Regardless of whether Claude generates the message or polishes user's draft, the final commit message MUST be as clear and concise as possible. Follow these principles:
If Claude generates it:
If user writes it themselves:
4a. Review loop (when Claude generates or polishes):
Create commit or patch:
If committing (recommended):
git add <files>Bug <number> - <title>
<detailed summary>
git format-patch -1 HEAD to export laterIf creating patch:
bug-<number>-<slug>.patchBug 2012791 - Fix CheckedInt overflow in AudioData::CopyTo
Adds isValid() check before calling value() on CheckedInt to prevent
assertion failures when integer overflow occurs during buffer size
calculation.
This complements the crashtest added in the previous commit, which
reproduces the fuzzer-found issue with large numberOfFrames values.
The fix ensures overflow is detected and a proper RangeError is thrown
instead of crashing.