github avatar

Git Flow Branch Creator

A straightforward automation for Git Flow branching that actually reads your git status and diff output to figure out what type of branch you need. It analyzes your file changes against concrete criteria (new features vs security fixes vs version bumps) and creates the appropriate feature/, hotfix/, or release- branch following nvie's Git Flow model. Saves you from manually deciding branch types and generates semantic names like "feature/user-authentication" or "hotfix/security-patch". Works well if you're already committed to Git Flow but tired of the mental overhead of categorizing changes and following naming conventions.

skills.sh installs
9.9K
GitHub stars
41K
last updated
Aug 21, 2026

Install

$ npx -y skills add github/awesome-copilot --skill git-flow-branch-creator --agent claude-code

Installs into .claude/skills of the current project.

Files

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:

  1. Run git status to review the current repository state and changed files.
  2. Run git diff (for unstaged changes) or git diff --cached (for staged changes) to analyze the nature of changes.
  3. Analyze the changes using the Git Flow Branch Analysis Framework below.
  4. Determine the appropriate branch type based on the analysis.
  5. Generate a semantic branch name following Git Flow conventions.
  6. Create the branch and switch to it automatically.
  7. Provide a summary of the analysis and next steps.

Git Flow Branch Analysis Framework

Sponsors

Details

Repository
github.com/github/awesome-copilot
Categories
Git & Pull Requests, AI & Agent Building

More from github/awesome-copilot

All 318
1giuseppe-trisciuoglio avatarcreate-pr-from-specgiuseppe-trisciuoglio/developer-kitCreate GitHub Pull Request from specification using pull_request_template.md. Use when: spec needs to be converted to PR, spec is ready for review/merge, need t1.5Kskills.sh installs
2pedronauck avatargit-rebasepedronauck/skillsIntelligently handle git rebase operations and resolve merge conflicts while preserving features and maintaining code quality. Use when rebasing feature branche395skills.sh installs
3onewave-ai avatargit-pr-revieweronewave-ai/claude-skillsReview pull requests for code quality, security issues, and best practices. Use when reviewing PRs, checking code changes, or analyzing diffs before merge.334skills.sh installs
4fvadicamo avatargithub-pr-creationfvadicamo/dev-agent-skillsCreates GitHub Pull Requests with automated validation and task tracking. Use when user wants to create PR, open pull request, submit for review, or check if re239skills.sh installs
5microsoft avatarpr-reviewmicrosoft/win-dev-skillsMulti-dimensional review of a PR or feature branch in microsoft/win-dev-skills. Activate on "review my PR / changes / branch", "vet before pushing", "PR review"158skills.sh installs
6cursor avatarpr-review-canvascursor/pluginsGenerate an interactive PR review walkthrough as an HTML page. Fetches PR data via gh API, categorizes files into core vs mechanical changes, adds reviewer anno2.4Kskills.sh installs