git-flow-branch-creator
Installation
Summary
Analyzes git changes and creates semantic Git Flow branches automatically based on change type.
- Inspects staged and unstaged changes via
git statusandgit diffto 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 (
developfor features and releases,masterfor hotfixes) and creates the branch in one command - Handles edge cases including mixed changes, existing branches, and naming conflicts with fallback suggestions
SKILL.md
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: