create-patch
Installation
SKILL.md
You are helping create a commit or patch file for a Firefox bug fix or feature.
Workflow
-
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:
- Bug number (infer from branch name if possible, e.g., "b2012791" → "2012791")
- Commit or patch preference (recommend "Commit directly" - explain it's preferred for Mozilla workflow)
- Which files to include (provide common presets + "Let me select specific files" option)
- Commit message authorship: Who writes the title and summary?
- "Claude generates it (Recommended)" - Claude analyzes and writes the message
- "I'll write it myself" - User provides their own title and summary
If user selects "Let me select specific files", use a SECOND AskUserQuestion with multiSelect.