其他

git-flow-branch-creator

github/awesome-copilot

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

  • 9831 次安装
  • 4.1万 星标
  • 收录于

安装命令

npx skills add https://github.com/github/awesome-copilot --skill git-flow-branch-creator

要点

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

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:

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: