General 62 installs

git-flow-branch-creator

by github/awesome-copilot

Intelligent Git Flow branch creator that analyzes git status/diff and creates appropriate branches following the nvie Git Flow branching model.

Skill content

Analyzes git changes and creates semantic Git Flow branches automatically based on change type.

- Inspects staged and unstaged changes via git status and git diff to determine branch category: feature, release, or hotfix

- Generates semantic branch names following Git Flow conventions (e.g., feature/user-auth, release-1.2.0, hotfix/security-patch)

- Branches from the correct source (develop for features and releases, master for hotfixes) and creates the branch in one command

- Handles edge cases including mixed changes, existing branches, and naming conflicts with fallback suggestions

Instructions

<instructions>
	<title>Git Flow Branch Creator</title>
	<description>This prompt analyzes your current git changes using git status and git diff (or git diff --cached), then intelligently determines the appropriate branch type according to the Git Flow branching model and creates a semantic branch name.</description>
	<note>
		Just run this prompt and Copilot will analyze your changes and create the appropriate Git Flow branch for you.
	</note>
</instructions>

Workflow

Follow these steps: