一键导入
try-branches
Push a commit to try on multiple Firefox branches (beta, release, ESR). Use when testing if a patch builds/works on older Firefox versions for uplift.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Push a commit to try on multiple Firefox branches (beta, release, ESR). Use when testing if a patch builds/works on older Firefox versions for uplift.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 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 | try-branches |
| description | Push a commit to try on multiple Firefox branches (beta, release, ESR). Use when testing if a patch builds/works on older Firefox versions for uplift. |
| argument-hint | <commit> <branch1> [branch2] ... |
| context | fork |
Push a commit to the try server on multiple Firefox branches using the Lando API directly. This is useful for testing uplift compatibility on beta, release, and ESR branches.
$ARGUMENTS should be: <commit-hash> <branch1> [branch2] ...
Where branches can be: beta, release, esr115, esr128, esr140, or any branch name
available under upstream/ remote (which should point to https://github.com/mozilla-firefox/firefox.git).
Example: /try-branches HEAD beta release esr128 esr115
upstream remote exists pointing to https://github.com/mozilla-firefox/firefox.gittry-<branch> from upstream/<branch>
b. Cherry-pick the commit onto it
c. If there are conflicts, resolve them and inform the user about the resolution
d. Generate a git format-patch of the cherry-picked commit
e. Push to try via the Lando APIIf a cherry-pick has conflicts:
.patch file at the repo root (e.g., esr115.patch)Use a Python script to call the Lando API directly. This avoids issues with mach try on older
branches that lack Lando support or have incompatible git-cinnabar requirements.
The script should:
~/.mozbuild/lando_auth0_user_token.jsongit format-patch -1 <commit> --stdouttry_task_config.json as a second patch:
{
"parameters": {
"filters": ["try_auto"],
"optimize_strategies": "gecko_taskgraph.optimize:tryselect.bugbug_reduced_manifests_config_selection_medium",
"optimize_target_tasks": true,
"test_manifest_loader": "bugbug",
"try_mode": "try_auto",
"try_task_config": {}
},
"version": 2
}
https://api.lando.services.mozilla.com/try/patches with:
{
"base_commit": "<upstream branch tip git SHA>",
"base_commit_vcs": "git",
"patch_format": "git-format-patch",
"patches": ["<base64 commit patch>", "<base64 try_task_config patch>"]
}
git format-patch style patch that creates try_task_config.jsonIf the auth token at ~/.mozbuild/lando_auth0_user_token.json doesn't exist or is expired,
tell the user to run ./mach try auto on any branch first to authenticate, which will cache
the token.
try-<branch> local branches are left around for reference but can be deletedtry-<branch> local branch, delete and recreate it