{"id":"f5b046c6-3f22-432e-8090-d74cb17e6f46","shortId":"23QSqN","kind":"skill","title":"git-flow-branch-creator","tagline":"Intelligent Git Flow branch creator that analyzes git status/diff and creates appropriate branches following the nvie Git Flow branching model.","description":"### Instructions\n\n```xml\n<instructions>\n\t<title>Git Flow Branch Creator</title>\n\t<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>\n\t<note>\n\t\tJust run this prompt and Copilot will analyze your changes and create the appropriate Git Flow branch for you.\n\t</note>\n</instructions>\n```\n\n### Workflow\n\n**Follow these steps:**\n\n1. Run `git status` to review the current repository state and changed files.\n2. Run `git diff` (for unstaged changes) or `git diff --cached` (for staged changes) to analyze the nature of changes.\n3. Analyze the changes using the Git Flow Branch Analysis Framework below.\n4. Determine the appropriate branch type based on the analysis.\n5. Generate a semantic branch name following Git Flow conventions.\n6. Create the branch and switch to it automatically.\n7. Provide a summary of the analysis and next steps.\n\n### Git Flow Branch Analysis Framework\n\n```xml\n<analysis-framework>\n\t<branch-types>\n\t\t<feature>\n\t\t\t<purpose>New features, enhancements, non-critical improvements</purpose>\n\t\t\t<branch-from>develop</branch-from>\n\t\t\t<merge-to>develop</merge-to>\n\t\t\t<naming>feature/descriptive-name or feature/ticket-number-description</naming>\n\t\t\t<indicators>\n\t\t\t\t<indicator>New functionality being added</indicator>\n\t\t\t\t<indicator>UI/UX improvements</indicator>\n\t\t\t\t<indicator>New API endpoints or methods</indicator>\n\t\t\t\t<indicator>Database schema additions (non-breaking)</indicator>\n\t\t\t\t<indicator>New configuration options</indicator>\n\t\t\t\t<indicator>Performance improvements (non-critical)</indicator>\n\t\t\t</indicators>\n\t\t</feature>\n\n\t\t<release>\n\t\t\t<purpose>Release preparation, version bumps, final testing</purpose>\n\t\t\t<branch-from>develop</branch-from>\n\t\t\t<merge-to>develop AND master</merge-to>\n\t\t\t<naming>release-X.Y.Z</naming>\n\t\t\t<indicators>\n\t\t\t\t<indicator>Version number changes</indicator>\n\t\t\t\t<indicator>Build configuration updates</indicator>\n\t\t\t\t<indicator>Documentation finalization</indicator>\n\t\t\t\t<indicator>Minor bug fixes before release</indicator>\n\t\t\t\t<indicator>Release notes updates</indicator>\n\t\t\t\t<indicator>Dependency version locks</indicator>\n\t\t\t</indicators>\n\t\t</release>\n\n\t\t<hotfix>\n\t\t\t<purpose>Critical production bug fixes requiring immediate deployment</purpose>\n\t\t\t<branch-from>master</branch-from>\n\t\t\t<merge-to>develop AND master</merge-to>\n\t\t\t<naming>hotfix-X.Y.Z or hotfix/critical-issue-description</naming>\n\t\t\t<indicators>\n\t\t\t\t<indicator>Security vulnerability fixes</indicator>\n\t\t\t\t<indicator>Critical production bugs</indicator>\n\t\t\t\t<indicator>Data corruption fixes</indicator>\n\t\t\t\t<indicator>Service outage resolution</indicator>\n\t\t\t\t<indicator>Emergency configuration changes</indicator>\n\t\t\t</indicators>\n\t\t</hotfix>\n\t</branch-types>\n</analysis-framework>\n```\n\n### Branch Naming Conventions\n\n```xml\n<naming-conventions>\n\t<feature-branches>\n\t\t<format>feature/[ticket-number-]descriptive-name</format>\n\t\t<examples>\n\t\t\t<example>feature/user-authentication</example>\n\t\t\t<example>feature/PROJ-123-shopping-cart</example>\n\t\t\t<example>feature/api-rate-limiting</example>\n\t\t\t<example>feature/dashboard-redesign</example>\n\t\t</examples>\n\t</feature-branches>\n\n\t<release-branches>\n\t\t<format>release-X.Y.Z</format>\n\t\t<examples>\n\t\t\t<example>release-1.2.0</example>\n\t\t\t<example>release-2.1.0</example>\n\t\t\t<example>release-1.0.0</example>\n\t\t</examples>\n\t</release-branches>\n\n\t<hotfix-branches>\n\t\t<format>hotfix-X.Y.Z OR hotfix/critical-description</format>\n\t\t<examples>\n\t\t\t<example>hotfix-1.2.1</example>\n\t\t\t<example>hotfix/security-patch</example>\n\t\t\t<example>hotfix/payment-gateway-fix</example>\n\t\t\t<example>hotfix-2.1.1</example>\n\t\t</examples>\n\t</hotfix-branches>\n</naming-conventions>\n```\n\n### Analysis Process\n\n```xml\n<analysis-process>\n\t<step-1>\n\t\t<title>Change Nature Analysis</title>\n\t\t<description>Examine the types of files modified and the nature of changes</description>\n\t\t<criteria>\n\t\t\t<files-modified>Look at file extensions, directory structure, and purpose</files-modified>\n\t\t\t<change-scope>Determine if changes are additive, corrective, or preparatory</change-scope>\n\t\t\t<urgency-level>Assess if changes address critical issues or are developmental</urgency-level>\n\t\t</criteria>\n\t</step-1>\n\n\t<step-2>\n\t\t<title>Git Flow Classification</title>\n\t\t<description>Map the changes to appropriate Git Flow branch type</description>\n\t\t<decision-tree>\n\t\t\t<question>Are these critical fixes for production issues?</question>\n\t\t\t<if-yes>Consider hotfix branch</if-yes>\n\t\t\t<if-no>\n\t\t\t\t<question>Are these release preparation changes (version bumps, final tweaks)?</question>\n\t\t\t\t<if-yes>Consider release branch</if-yes>\n\t\t\t\t<if-no>Default to feature branch</if-no>\n\t\t\t</if-no>\n\t\t</decision-tree>\n\t</step-2>\n\n\t<step-3>\n\t\t<title>Branch Name Generation</title>\n\t\t<description>Create semantic, descriptive branch name</description>\n\t\t<guidelines>\n\t\t\t<use-kebab-case>Use lowercase with hyphens</use-kebab-case>\n\t\t\t<be-descriptive>Name should clearly indicate the purpose</be-descriptive>\n\t\t\t<include-context>Add ticket numbers or project context when available</include-context>\n\t\t\t<keep-concise>Avoid overly long names</keep-concise>\n\t\t</guidelines>\n\t</step-3>\n</analysis-process>\n```\n\n### Edge Cases and Validation\n\n```xml\n<edge-cases>\n\t<mixed-changes>\n\t\t<scenario>Changes include both features and bug fixes</scenario>\n\t\t<resolution>Prioritize the most significant change type or suggest splitting into multiple branches</resolution>\n\t</mixed-changes>\n\n\t<no-changes>\n\t\t<scenario>No changes detected in git status/diff</scenario>\n\t\t<resolution>Inform user and suggest checking git status or making changes first</resolution>\n\t</no-changes>\n\n\t<existing-branch>\n\t\t<scenario>Already on a feature/hotfix/release branch</scenario>\n\t\t<resolution>Analyze if new branch is needed or if current branch is appropriate</resolution>\n\t</existing-branch>\n\n\t<conflicting-names>\n\t\t<scenario>Suggested branch name already exists</scenario>\n\t\t<resolution>Append incremental suffix or suggest alternative name</resolution>\n\t</conflicting-names>\n</edge-cases>\n```\n\n### Examples\n\n```xml\n<examples>\n\t<example-1>\n\t\t<scenario>Added new user registration API endpoint</scenario>\n\t\t<analysis>New functionality, additive changes, not critical</analysis>\n\t\t<branch-type>feature</branch-type>\n\t\t<branch-name>feature/user-registration-api</branch-name>\n\t\t<command>git checkout -b feature/user-registration-api develop</command>\n\t</example-1>\n\n\t<example-2>\n\t\t<scenario>Fixed critical security vulnerability in authentication</scenario>\n\t\t<analysis>Security fix, critical for production, immediate deployment needed</analysis>\n\t\t<branch-type>hotfix</branch-type>\n\t\t<branch-name>hotfix/auth-security-patch</branch-name>\n\t\t<command>git checkout -b hotfix/auth-security-patch master</command>\n\t</example-2>\n\n\t<example-3>\n\t\t<scenario>Updated version to 2.1.0 and finalized release notes</scenario>\n\t\t<analysis>Release preparation, version bump, documentation</analysis>\n\t\t<branch-type>release</branch-type>\n\t\t<branch-name>release-2.1.0</branch-name>\n\t\t<command>git checkout -b release-2.1.0 develop</command>\n\t</example-3>\n\n\t<example-4>\n\t\t<scenario>Improved database query performance and updated caching</scenario>\n\t\t<analysis>Performance improvement, non-critical enhancement</analysis>\n\t\t<branch-type>feature</branch-type>\n\t\t<branch-name>feature/database-performance-optimization</branch-name>\n\t\t<command>git checkout -b feature/database-performance-optimization develop</command>\n\t</example-4>\n</examples>\n```\n\n### Validation Checklist\n\n```xml\n<validation>\n\t<pre-analysis>\n\t\t<check>Repository is in a clean state (no uncommitted changes that would conflict)</check>\n\t\t<check>Current branch is appropriate starting point (develop for features/releases, master for hotfixes)</check>\n\t\t<check>Remote repository is up to date</check>\n\t</pre-analysis>\n\n\t<analysis-quality>\n\t\t<check>Change analysis covers all modified files</check>\n\t\t<check>Branch type selection follows Git Flow principles</check>\n\t\t<check>Branch name is semantic and follows conventions</check>\n\t\t<check>Edge cases are considered and handled</check>\n\t</analysis-quality>\n\n\t<execution-safety>\n\t\t<check>Target branch (develop/master) exists and is accessible</check>\n\t\t<check>Proposed branch name doesn't conflict with existing branches</check>\n\t\t<check>User has appropriate permissions to create branches</check>\n\t</execution-safety>\n</validation>\n```\n\n### Final Execution\n\n```xml\n<execution-protocol>\n\t<analysis-summary>\n\t\t<git-status>Output of git status command</git-status>\n\t\t<git-diff>Relevant portions of git diff output</git-diff>\n\t\t<change-analysis>Detailed analysis of what changes represent</change-analysis>\n\t\t<branch-decision>Explanation of why specific branch type was chosen</branch-decision>\n\t</analysis-summary>\n\n\t<branch-creation>\n\t\t<command>git checkout -b [branch-name] [source-branch]</command>\n\t\t<confirmation>Verify branch creation and current branch status</confirmation>\n\t\t<next-steps>Provide guidance on next actions (commit changes, push branch, etc.)</next-steps>\n\t</branch-creation>\n\n\t<fallback-options>\n\t\t<alternative-names>Suggest 2-3 alternative branch names if primary suggestion isn't suitable</alternative-names>\n\t\t<manual-override>Allow user to specify different branch type if analysis seems incorrect</manual-override>\n\t</fallback-options>\n</execution-protocol>\n```\n\n### Git Flow Reference\n\n```xml\n<gitflow-reference>\n\t<main-branches>\n\t\t<master>Production-ready code, every commit is a release</master>\n\t\t<develop>Integration branch for features, latest development changes</develop>\n\t</main-branches>\n\n\t<supporting-branches>\n\t\t<feature>Branch from develop, merge back to develop</feature>\n\t\t<release>Branch from develop, merge to both develop and master</release>\n\t\t<hotfix>Branch from master, merge to both develop and master</hotfix>\n\t</supporting-branches>\n\n\t<merge-strategy>\n\t\t<flag>Always use --no-ff flag to preserve branch history</flag>\n\t\t<tagging>Tag releases on master branch</tagging>\n\t\t<cleanup>Delete branches after successful merge</cleanup>\n\t</merge-strategy>\n</gitflow-reference>\n```","tags":["git","flow","branch","creator","awesome","copilot","github","agent-skills","agents","custom-agents","github-copilot","hacktoberfest"],"capabilities":["skill","source-github","skill-git-flow-branch-creator","topic-agent-skills","topic-agents","topic-awesome","topic-custom-agents","topic-github-copilot","topic-hacktoberfest","topic-prompt-engineering"],"categories":["awesome-copilot"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/github/awesome-copilot/git-flow-branch-creator","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add github/awesome-copilot","source_repo":"https://github.com/github/awesome-copilot","install_from":"skills.sh"}},"qualityScore":"0.700","qualityRationale":"deterministic score 0.70 from registry signals: · indexed on github topic:agent-skills · 33270 github stars · SKILL.md body (10,218 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-18T18:52:12.997Z","embedding":null,"createdAt":"2026-04-18T20:25:45.616Z","updatedAt":"2026-05-18T18:52:12.997Z","lastSeenAt":"2026-05-18T18:52:12.997Z","tsv":"'-3':723 '1':92 '1.0.0':308 '1.2.0':304 '1.2.1':316 '2':105,722 '2.1.0':306,546,558,563 '2.1.1':320 '3':125 '4':137 '5':147 '6':157 '7':166 'access':650 'accord':56 'action':715 'ad':197,503 'add':419 'addit':207,350,511 'address':357 'allow':733 'alreadi':472,492 'altern':499,724 'alway':789 'analysi':134,146,172,179,321,326,619,682,741 'analyz':12,34,76,120,126,477 'api':201,507 'append':494 'appropri':17,53,82,140,370,488,603,662 'assess':354 'authent':527 'automat':165 'avail':426 'avoid':427 'b':519,540,561,582,697 'back':768 'base':143 'branch':4,9,18,24,30,54,61,67,85,133,141,151,160,178,284,373,384,396,400,401,407,454,476,480,486,490,601,624,631,645,652,659,666,691,699,703,705,709,719,725,738,758,764,771,780,797,803,805 'branch-nam':698 'break':210 'bug':242,254,274,441 'build':236 'bump':222,391,554 'cach':48,115,571 'case':432,639 'chang':38,78,103,111,118,124,128,235,283,324,337,348,356,368,389,436,447,456,470,512,596,618,685,717,763 'check':465 'checklist':586 'checkout':518,539,560,581,696 'chosen':694 'classif':365 'clean':592 'clear':415 'code':751 'command':674 'commit':716,753 'configur':212,237,282 'conflict':599,656 'consid':382,394,641 'context':424 'convent':156,286,637 'copilot':74 'correct':351 'corrupt':276 'cover':620 'creat':16,64,80,158,404,665 'creation':706 'creator':5,10,31 'critic':187,218,252,272,358,377,514,523,530,576 'current':36,99,485,600,708 'data':275 'databas':205,566 'date':617 'default':397 'delet':804 'depend':249 'deploy':258,534 'descript':293,406 'descriptive-nam':292 'detail':681 'detect':457 'determin':51,138,346 'develop':189,190,225,226,260,521,564,584,606,762,766,770,773,777,786 'develop/master':646 'development':362 'diff':44,47,108,114,679 'differ':737 'directori':342 'document':239,555 'doesn':654 'edg':431,638 'emerg':281 'endpoint':202,508 'enhanc':184,577 'etc':720 'everi':752 'examin':327 'exampl':501 'execut':668 'exist':493,647,658 'explan':687 'extens':341 'featur':183,288,399,439,515,578,760 'feature/api-rate-limiting':297 'feature/dashboard-redesign':298 'feature/database-performance-optimization':579,583 'feature/descriptive-name':191 'feature/hotfix/release':475 'feature/proj-123-shopping-cart':296 'feature/ticket-number-description':193 'feature/user-authentication':295 'feature/user-registration-api':516,520 'features/releases':608 'ff':793 'file':104,331,340,623 'final':223,240,392,548,667 'first':471 'fix':243,255,271,277,378,442,522,529 'flag':794 'flow':3,8,23,29,60,84,132,155,177,364,372,629,745 'follow':19,89,153,627,636 'framework':135,180 'function':195,510 'generat':148,403 'git':2,7,13,22,28,37,40,43,46,59,83,94,107,113,131,154,176,363,371,459,466,517,538,559,580,628,672,678,695,744 'git-flow-branch-cr':1 'guidanc':712 'handl':643 'histori':798 'hotfix':264,310,315,319,383,536,611 'hotfix-x':263,309 'hotfix/auth-security-patch':537,541 'hotfix/critical-description':314 'hotfix/critical-issue-description':268 'hotfix/payment-gateway-fix':318 'hotfix/security-patch':317 'hyphen':412 'immedi':257,533 'improv':188,199,215,565,573 'includ':437 'incorrect':743 'increment':495 'indic':416 'inform':461 'instruct':26 'integr':757 'intellig':6,50 'isn':730 'issu':359,381 'latest':761 'lock':251 'long':429 'look':338 'lowercas':410 'make':469 'map':366 'master':228,259,262,542,609,779,782,788,802 'merg':767,774,783,808 'method':204 'minor':241 'model':25,62 'modifi':332,622 'multipl':453 'name':68,152,285,294,402,408,413,430,491,500,632,653,700,726 'natur':122,325,335 'need':482,535 'new':182,194,200,211,479,504,509 'next':174,714 'no-ff':791 'non':186,209,217,575 'non-break':208 'non-crit':185,216,574 'note':247,550 'number':234,291,421 'nvie':21 'option':213 'outag':279 'output':670,680 'over':428 'perform':214,568,572 'permiss':663 'point':605 'portion':676 'prepar':220,388,552 'preparatori':353 'preserv':796 'primari':728 'principl':630 'priorit':443 'process':322 'product':253,273,380,532,749 'production-readi':748 'project':423 'prompt':33,72 'propos':651 'provid':167,711 'purpos':345,418 'push':718 'queri':567 'readi':750 'refer':746 'registr':506 'releas':219,230,245,246,300,303,305,307,387,395,549,551,556,557,562,756,800 'release-x':229,299 'relev':675 'remot':612 'repositori':100,588,613 'repres':686 'requir':256 'resolut':280 'review':97 'run':70,93,106 'schema':206 'secur':269,524,528 'seem':742 'select':626 'semant':66,150,405,634 'servic':278 'signific':446 'skill' 'skill-git-flow-branch-creator' 'sourc':702 'source-branch':701 'source-github' 'specif':690 'specifi':736 'split':451 'stage':117 'start':604 'state':101,593 'status':41,95,467,673,710 'status/diff':14,460 'step':91,175 'structur':343 'success':807 'suffix':496 'suggest':450,464,489,498,721,729 'suitabl':732 'summari':169 'switch':162 'tag':799 'target':644 'test':224 'ticket':290,420 'ticket-numb':289 'topic-agent-skills' 'topic-agents' 'topic-awesome' 'topic-custom-agents' 'topic-github-copilot' 'topic-hacktoberfest' 'topic-prompt-engineering' 'tweak':393 'type':55,142,329,374,448,625,692,739 'ui/ux':198 'uncommit':595 'unstag':110 'updat':238,248,543,570 'use':39,129,409,790 'user':462,505,660,734 'valid':434,585 'verifi':704 'version':221,233,250,390,544,553 'vulner':270,525 'workflow':88 'would':598 'x':231,265,301,311 'xml':27,181,287,323,435,502,587,669,747 'y.z':232,266,302,312","prices":[{"id":"03ea38c6-d30a-4c9c-b352-0723835dd37b","listingId":"f5b046c6-3f22-432e-8090-d74cb17e6f46","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"github","category":"awesome-copilot","install_from":"skills.sh"},"createdAt":"2026-04-18T20:25:45.616Z"}],"sources":[{"listingId":"f5b046c6-3f22-432e-8090-d74cb17e6f46","source":"github","sourceId":"github/awesome-copilot/git-flow-branch-creator","sourceUrl":"https://github.com/github/awesome-copilot/tree/main/skills/git-flow-branch-creator","isPrimary":false,"firstSeenAt":"2026-04-18T21:49:34.366Z","lastSeenAt":"2026-05-18T18:52:12.997Z"},{"listingId":"f5b046c6-3f22-432e-8090-d74cb17e6f46","source":"skills_sh","sourceId":"github/awesome-copilot/git-flow-branch-creator","sourceUrl":"https://skills.sh/github/awesome-copilot/git-flow-branch-creator","isPrimary":true,"firstSeenAt":"2026-04-18T20:25:45.616Z","lastSeenAt":"2026-05-07T22:40:17.927Z"}],"details":{"listingId":"f5b046c6-3f22-432e-8090-d74cb17e6f46","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"github","slug":"git-flow-branch-creator","github":{"repo":"github/awesome-copilot","stars":33270,"topics":["agent-skills","agents","ai","awesome","custom-agents","github-copilot","hacktoberfest","prompt-engineering"],"license":"mit","html_url":"https://github.com/github/awesome-copilot","pushed_at":"2026-05-18T01:26:59Z","description":"Community-contributed instructions, agents, skills, and configurations to help you make the most of GitHub Copilot.","skill_md_sha":"ded80e259c6eb04c83d61df06a045ab84f74b0c9","skill_md_path":"skills/git-flow-branch-creator/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/github/awesome-copilot/tree/main/skills/git-flow-branch-creator"},"layout":"multi","source":"github","category":"awesome-copilot","frontmatter":{"name":"git-flow-branch-creator","description":"Intelligent Git Flow branch creator that analyzes git status/diff and creates appropriate branches following the nvie Git Flow branching model."},"skills_sh_url":"https://skills.sh/github/awesome-copilot/git-flow-branch-creator"},"updatedAt":"2026-05-18T18:52:12.997Z"}}