본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)40k · #7223

git-flow-branch-creator

하는 일

이 AI 도우미는 Git Flow라는 모델에 따라 프로그래밍 프로젝트에 새 '브랜치'를 만들도록 돕습니다. 최근 변경 사항을 분석해 작업을 정리하는 데 가장 알맞은 브랜치 유형과 이름을 제안합니다.

사용하는 경우

  • ✓새 기능을 추가하기 시작할 때.
  • ✓프로그램의 새 버전을 준비해야 할 때.
  • ✓즉시 고쳐야 하는 중요한 버그를 발견했을 때.

스킬 링크

https://github.com/github/awesome-copilot/blob/main/skills/git-flow-branch-creator/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/github/awesome-copilot/blob/main/skills/git-flow-branch-creator/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“새 사용자 로그인 기능을 위한 브랜치를 만들어 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

AI는 사용자가 어떤 파일을 어떻게 수정했는지 확인합니다. 이를 바탕으로 새 기능(feature), 릴리스 준비(release), 긴급 버그 수정(hotfix) 중 무엇인지 판단하고, 명확한 이름으로 브랜치를 만듭니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

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

<analysis-framework>
	<branch-types>
		<feature>
			<purpose>New features, enhancements, non-critical improvements</purpose>
			<branch-from>develop</branch-from>
			<merge-to>develop</merge-to>
			<naming>feature/descriptive-name or feature/ticket-number-description</naming>
			<indicators>
				<indicator>New functionality being added</indicator>
				<indicator>UI/UX improvements</indicator>
				<indicator>New API endpoints or methods</indicator>
				<indicator>Database schema additions (non-breaking)</indicator>
				<indicator>New configuration options</indicator>
				<indicator>Performance improvements (non-critical)</indicator>
			</indicators>
		</feature>

		<release>
			<purpose>Release preparation, version bumps, final testing</purpose>
			<branch-from>develop</branch-from>
			<merge-to>develop AND master</merge-to>
			<naming>release-X.Y.Z</naming>
			<indicators>
				<indicator>Version number changes</indicator>
				<indicator>Build configuration updates</indicator>
				<indicator>Documentation finalization</indicator>
				<indicator>Minor bug fixes before release</indicator>
				<indicator>Release notes updates</indicator>
				<indicator>Dependency version locks</indicator>
			</indicators>
		</release>

		<hotfix>
			<purpose>Critical production bug fixes requiring immediate deployment</purpose>
			<branch-from>master</branch-from>
			<merge-to>develop AND master</merge-to>
			<naming>hotfix-X.Y.Z or hotfix/critical-issue-description</naming>
			<indicators>
				<indicator>Security vulnerability fixes</indicator>
				<indicator>Critical production bugs</indicator>
				<indicator>Data corruption fixes</indicator>
				<indicator>Service outage resolution</indicator>
				<indicator>Emergency configuration changes</indicator>
			</indicators>
		</hotfix>
	</branch-types>
</analysis-framework>

Branch Naming Conventions

<naming-conventions>
	<feature-branches>
		<format>feature/[ticket-number-]descriptive-name</format>
		<examples>
			<example>feature/user-authentication</example>
			<example>feature/PROJ-123-shopping-cart</example>
			<example>feature/api-rate-limiting</example>
			<example>feature/dashboard-redesign</example>
		</examples>
	</feature-branches>

	<release-branches>
		<format>release-X.Y.Z</format>
		<examples>
			<example>release-1.2.0</example>
			<example>release-2.1.0</example>
			<example>release-1.0.0</example>
		</examples>
	</release-branches>

	<hotfix-branches>
		<format>hotfix-X.Y.Z OR hotfix/critical-description</format>
		<examples>
			<example>hotfix-1.2.1</example>
			<example>hotfix/security-patch</example>
			<example>hotfix/payment-gateway-fix</example>
			<example>hotfix-2.1.1</example>
		</examples>
	</hotfix-branches>
</naming-conventions>

Analysis Process

<analysis-process>
	<step-1>
		<title>Change Nature Analysis</title>
		<description>Examine the types of files modified and the nature of changes</description>
		<criteria>
			<files-modified>Look at file extensions, directory structure, and purpose</files-modified>
			<change-scope>Determine if changes are additive, corrective, or preparatory</change-scope>
			<urgency-level>Assess if changes address critical issues or are developmental</urgency-level>
		</criteria>
	</step-1>

	<step-2>
		<title>Git Flow Classification</title>
		<description>Map the changes to appropriate Git Flow branch type</description>

…
자주 묻는 질문

'브랜치'란 무엇인가요?

프로젝트의 별도 복사본이라고 생각하면 됩니다. 메인 버전에 영향을 주지 않고 새 아이디어나 수정 작업을 할 수 있습니다. 나중에 변경 사항을 다시 병합할 수 있습니다.

'Git Flow'란 무엇인가요?

Git에서 브랜치를 쓰는 규칙과 관례의 모음입니다. 특히 팀에서 프로젝트를 체계적으로 유지하는 데 도움을 줍니다.

변경 유형이 섞여 있다면 어떻게 하나요?

AI는 가장 중요한 변경 유형을 우선하거나, 작업을 별도의 브랜치로 나누도록 제안하려고 합니다.

상세 정보

작성자의 원본 설명

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

repo: github/awesome-copilot

인기도

GitHub 스타
40k
순위
#7223
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬