git-flow-branch-creator
Ce qu’il fait
Cet assistant IA vous aide à créer de nouvelles « branches » dans votre projet de programmation, selon un modèle appelé Git Flow. Il analyse vos modifications récentes et propose le type et le nom de branche les plus adaptés pour organiser votre travail.
Quand l’utiliser
- ✓Lorsque vous commencez à ajouter une nouvelle fonctionnalité.
- ✓Lorsque vous devez préparer une nouvelle version de votre programme.
- ✓Lorsque vous découvrez un bug critique qui doit être corrigé immédiatement.
Lien du skill
https://github.com/github/awesome-copilot/blob/main/skills/git-flow-branch-creator/SKILL.mdCopiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.
Comment l’utiliser
Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.
Message prêt à coller
Pour Claude Code, Codex ou Cursor : lancez-la dans le dossier du projet et le skill est installé.
Téléchargez le SKILL.md et placez-le dans le dossier de skills de votre agent.
Exemple de demande à votre IA
“Crée une branche pour la nouvelle fonctionnalité de connexion des utilisateurs.”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
L'IA vérifie quels fichiers vous avez modifiés et de quelle façon. À partir de là, elle détermine si vous ajoutez quelque chose de nouveau (feature), si vous préparez une version (release) ou si vous corrigez un bug urgent (hotfix), puis crée la branche avec un nom clair.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis 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:
- Run
git statusto review the current repository state and changed files. - Run
git diff(for unstaged changes) orgit diff --cached(for staged changes) to analyze the nature of changes. - Analyze the changes using the Git Flow Branch Analysis Framework below.
- Determine the appropriate branch type based on the analysis.
- Generate a semantic branch name following Git Flow conventions.
- Create the branch and switch to it automatically.
- 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>
…
Questions fréquentes
Qu'est-ce qu'une « branche » ?
Imaginez une branche comme une copie séparée de votre projet, où vous pouvez travailler sur de nouvelles idées ou corrections sans affecter la version principale. Vous pourrez ensuite fusionner vos modifications plus tard.
Qu'est-ce que Git Flow ?
C'est un ensemble de règles et de conventions d'utilisation des branches dans Git, qui aide à garder le projet organisé, surtout en équipe.
Que se passe-t-il si j'ai différents types de modifications ?
L'IA essaiera de privilégier le type de changement le plus important, ou pourra suggérer de répartir votre travail sur plusieurs branches distinctes.
Détails
Description originale de l’auteur
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
Popularité
- Étoiles GitHub
- 40k
- Position au classement
- #7223
- Licence
- MIT
- Mis à jour
- 15/10/2026
Commentaires
- …
Autres skills de ce dépôt
acquire-codebase-knowledge
40kAide votre agent à comprendre et documenter un projet de code existant. Utile pour accueillir de nouveaux membres ou obtenir une vue d'ensemble de l'architecture.
acreadiness-assess
40kPermet à votre agent d'évaluer la préparation d'un projet à l'IA et de générer un rapport. Utile pour savoir dans quelle mesure un projet est prêt à utiliser des outils d'IA.
acreadiness-generate-instructions
40kAide votre agent à rédiger des instructions pour les outils d'IA à partir d'une évaluation, afin d'améliorer leur travail sur le code et combler les lacunes.
acreadiness-policy
40kPermet à votre agent d'aider à définir ou appliquer des politiques d'évaluation des projets d'IA. Utile pour standardiser les évaluations et garantir la conformité.
Skills similaires
openclaw-update
394kAide votre agent à mettre à jour une passerelle OpenClaw existante, en choisissant la méthode adaptée à son installation et en gardant votre session active.
diagnose-gateway
394kAide votre agent à trouver pourquoi votre passerelle OpenClaw échoue, en vérifiant les paramètres, les canaux et les ports sans rien modifier.
crabbox-apps
394kAide votre agent à ouvrir et exécuter une application sur une machine cloud temporaire, puis à afficher sa vue dans le panneau latéral de votre chat.