{"id":"f5b046c6-3f22-432e-8090-d74cb17e6f46","shortId":"23QSqN","kind":"skill","title":"Git Flow Branch Creator","tagline":"Awesome Copilot skill by Github","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"],"capabilities":["skill","source-github","category-awesome-copilot"],"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":{"install_from":"skills.sh"}},"qualityScore":"0.300","qualityRationale":"deterministic score 0.30 from registry signals: · indexed on skills.sh · published under github/awesome-copilot","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:v1","enrichmentVersion":1,"enrichedAt":"2026-04-22T14:40:17.325Z","embedding":null,"createdAt":"2026-04-18T20:25:45.616Z","updatedAt":"2026-04-22T14:40:17.325Z","lastSeenAt":"2026-04-22T14:40:17.325Z","tsv":"'-3':707 '1':76 '1.0.0':292 '1.2.0':288 '1.2.1':300 '2':89,706 '2.1.0':290,530,542,547 '2.1.1':304 '3':109 '4':121 '5':131 '6':141 '7':150 'access':634 'accord':40 'action':699 'ad':181,487 'add':403 'addit':191,334,495 'address':341 'allow':717 'alreadi':456,476 'altern':483,708 'alway':773 'analysi':118,130,156,163,305,310,603,666,725 'analyz':18,60,104,110,461 'api':185,491 'append':478 'appropri':37,66,124,354,472,587,646 'assess':338 'authent':511 'automat':149 'avail':410 'avoid':411 'awesom':5 'b':503,524,545,566,681 'back':752 'base':127 'branch':3,14,38,45,51,69,117,125,135,144,162,268,357,368,380,384,385,391,438,460,464,470,474,585,608,615,629,636,643,650,675,683,687,689,693,703,709,722,742,748,755,764,781,787,789 'branch-nam':682 'break':194 'bug':226,238,258,425 'build':220 'bump':206,375,538 'cach':32,99,555 'case':416,623 'category-awesome-copilot' 'chang':22,62,87,95,102,108,112,219,267,308,321,332,340,352,373,420,431,440,454,496,580,602,669,701,747 'check':449 'checklist':570 'checkout':502,523,544,565,680 'chosen':678 'classif':349 'clean':576 'clear':399 'code':735 'command':658 'commit':700,737 'configur':196,221,266 'conflict':583,640 'consid':366,378,625 'context':408 'convent':140,270,621 'copilot':6,58 'correct':335 'corrupt':260 'cover':604 'creat':48,64,142,388,649 'creation':690 'creator':4,15 'critic':171,202,236,256,342,361,498,507,514,560 'current':20,83,469,584,692 'data':259 'databas':189,550 'date':601 'default':381 'delet':788 'depend':233 'deploy':242,518 'descript':277,390 'descriptive-nam':276 'detail':665 'detect':441 'determin':35,122,330 'develop':173,174,209,210,244,505,548,568,590,746,750,754,757,761,770 'develop/master':630 'development':346 'diff':28,31,92,98,663 'differ':721 'directori':326 'document':223,539 'doesn':638 'edg':415,622 'emerg':265 'endpoint':186,492 'enhanc':168,561 'etc':704 'everi':736 'examin':311 'exampl':485 'execut':652 'exist':477,631,642 'explan':671 'extens':325 'featur':167,272,383,423,499,562,744 'feature/api-rate-limiting':281 'feature/dashboard-redesign':282 'feature/database-performance-optimization':563,567 'feature/descriptive-name':175 'feature/hotfix/release':459 'feature/proj-123-shopping-cart':280 'feature/ticket-number-description':177 'feature/user-authentication':279 'feature/user-registration-api':500,504 'features/releases':592 'ff':777 'file':88,315,324,607 'final':207,224,376,532,651 'first':455 'fix':227,239,255,261,362,426,506,513 'flag':778 'flow':2,13,44,68,116,139,161,348,356,613,729 'follow':73,137,611,620 'framework':119,164 'function':179,494 'generat':132,387 'git':1,12,21,24,27,30,43,67,78,91,97,115,138,160,347,355,443,450,501,522,543,564,612,656,662,679,728 'github':9 'guidanc':696 'handl':627 'histori':782 'hotfix':248,294,299,303,367,520,595 'hotfix-x':247,293 'hotfix/auth-security-patch':521,525 'hotfix/critical-description':298 'hotfix/critical-issue-description':252 'hotfix/payment-gateway-fix':302 'hotfix/security-patch':301 'hyphen':396 'immedi':241,517 'improv':172,183,199,549,557 'includ':421 'incorrect':727 'increment':479 'indic':400 'inform':445 'instruct':10 'integr':741 'intellig':34 'isn':714 'issu':343,365 'latest':745 'lock':235 'long':413 'look':322 'lowercas':394 'make':453 'map':350 'master':212,243,246,526,593,763,766,772,786 'merg':751,758,767,792 'method':188 'minor':225 'model':46 'modifi':316,606 'multipl':437 'name':52,136,269,278,386,392,397,414,475,484,616,637,684,710 'natur':106,309,319 'need':466,519 'new':166,178,184,195,463,488,493 'next':158,698 'no-ff':775 'non':170,193,201,559 'non-break':192 'non-crit':169,200,558 'note':231,534 'number':218,275,405 'option':197 'outag':263 'output':654,664 'over':412 'perform':198,552,556 'permiss':647 'point':589 'portion':660 'prepar':204,372,536 'preparatori':337 'preserv':780 'primari':712 'principl':614 'priorit':427 'process':306 'product':237,257,364,516,733 'production-readi':732 'project':407 'prompt':17,56 'propos':635 'provid':151,695 'purpos':329,402 'push':702 'queri':551 'readi':734 'refer':730 'registr':490 'releas':203,214,229,230,284,287,289,291,371,379,533,535,540,541,546,740,784 'release-x':213,283 'relev':659 'remot':596 'repositori':84,572,597 'repres':670 'requir':240 'resolut':264 'review':81 'run':54,77,90 'schema':190 'secur':253,508,512 'seem':726 'select':610 'semant':50,134,389,618 'servic':262 'signific':430 'skill':7 'sourc':686 'source-branch':685 'source-github' 'specif':674 'specifi':720 'split':435 'stage':101 'start':588 'state':85,577 'status':25,79,451,657,694 'status/diff':444 'step':75,159 'structur':327 'success':791 'suffix':480 'suggest':434,448,473,482,705,713 'suitabl':716 'summari':153 'switch':146 'tag':783 'target':628 'test':208 'ticket':274,404 'ticket-numb':273 'tweak':377 'type':39,126,313,358,432,609,676,723 'ui/ux':182 'uncommit':579 'unstag':94 'updat':222,232,527,554 'use':23,113,393,774 'user':446,489,644,718 'valid':418,569 'verifi':688 'version':205,217,234,374,528,537 'vulner':254,509 'workflow':72 'would':582 'x':215,249,285,295 'xml':11,165,271,307,419,486,571,653,731 'y.z':216,250,286,296","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-04-22T12:52:14.140Z"},{"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-04-22T14:40:17.325Z"}],"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","source":"skills_sh","category":"awesome-copilot","skills_sh_url":"https://skills.sh/github/awesome-copilot/git-flow-branch-creator"},"updatedAt":"2026-04-22T14:40:17.325Z"}}