create-patch

Automate Firefox patch and commit drafting with context gathering and message generation.

Updated Mar 14, 2016
One-click install
npx skills add https://github.com/ChunMinChang/dotfiles --skill create-patch
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-patch
Source: https://github.com/ChunMinChang/dotfiles/tree/main/mozilla/firefox/dot.claude/skills/create-patch
Command: npx skills add https://github.com/ChunMinChang/dotfiles --skill create-patch

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill guides users through creating a patch or commit for Firefox contributions, ensuring clear messaging and consistent workflow steps.

Core Features & Use Cases

  • Guided patch/commit creation: Collects context (status, recent commits) and determines what to include.
  • Structured messaging: Proposes a concise, accurate title and summary for the patch or commit, with options to edit.
  • Mozilla workflow alignment: Supports bug-number handling, file selection presets, and author attribution for Firefox contributions.

Quick Start

Run the workflow to prepare a patch or commit for a Firefox bug by providing the changed files, bug number, and preferred messaging style.

Frequently Asked Questions about create-patch

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a patch for Firefox contributions?

Create a patch by running this Skill to gather your branch context, changed files, and bug information, then generate a structured commit message with title and body. The Skill guides you through file selection and messaging to align with Mozilla's patch workflow.

What's the best way to write a commit message for Firefox bug fixes?

Write commit messages by providing your bug number, changed files, and preferred style to this Skill. It proposes a concise title and summary, then lets you edit before finalizing—ensuring consistency with Firefox contribution standards.

Can I automate commit drafting for multiple Firefox repositories?

Yes. This Skill automates commit and patch drafting across Firefox repositories by analyzing diffs, branch context, and recent commits. It handles bug-fix and feature-work scenarios, supporting author attribution and Mozilla workflow requirements.

Do I need to manually format patch metadata for Firefox?

No. This Skill handles patch formatting and metadata automatically, including bug-number handling and file selection presets. You provide context and approve the generated message—the Skill ensures Mozilla workflow alignment.

How does this Skill determine what files to include in a patch?

The Skill collects your changed files and recent commit context, then proposes which files to include based on your branch state. You can edit the selection before the patch or commit is finalized.