Nommage des branches Git

VérifiéSûr

Crée des branches Git avec une convention de nommage standardisée au format type/courte-description. Utilisez cette compétence lorsque vous commencez un nouveau travail, basculez sur des branches de fonctionnalité, ou souhaitez assurer une cohérence dans le nommage des branches sur un projet.

Spar Skills Guide Bot
DeveloppementDébutant
6002/06/2026
Claude CodeCursorWindsurfCopilotCodex
#git#branching#naming-conventions#workflow

Recommandé pour

Notre avis

Crée des branches git en suivant une convention de nommage type/description-courte pour organiser le travail.

Points forts

  • Convention claire et cohérente pour tous les membres de l'équipe
  • Catégorisation automatique du type de travail (feat, fix, docs, etc.)
  • Facilite la recherche et le suivi des branches

Limites

  • Ne couvre pas tous les cas possibles (ex: branches de release)
  • Aucune validation automatique sans hook supplémentaire
Quand l'utiliser

Au début d'une nouvelle tâche ou d'une fonctionnalité pour créer une branche avec un nom standardisé.

Quand l'éviter

Lorsque l'équipe utilise déjà une autre convention de nommage établie ou un workflow spécifique (ex: Git Flow).

Analyse de sécurité

Sûr
Score qualité90/100

The skill only instructs creating a git branch using standard naming conventions and git commands. No destructive, exfiltrating, or unsafe actions.

Aucun point d'attention détecté

Exemples

Feature branch for infinite scroll
Create a branch for adding infinite scroll to the feed
Fix branch for album path validation
Create a branch to fix the album path validation bug
Chore branch for pre-commit hooks
Create a branch to add pre-commit hooks to the project

name: branch description: Creates git branches with proper naming. Use when creating branches, starting new work, or switching to feature branches.

Branch Naming

Use type/short-description format.

Types

  • feat: User-facing features or behavior changes (must change production code)
  • fix: Bug fixes (must change production code)
  • docs: Documentation only
  • style: Code style/formatting (no logic changes)
  • refactor: Code restructuring without behavior change
  • test: Adding or updating tests
  • chore: CI/CD, tooling, dependency bumps, configs (no production code)

Examples

feat/infinite-scroll
fix/album-path-validation
refactor/state-management
chore/pre-commit-hooks
docs/update-readme
test/e2e-login-flow

Instructions

  1. Determine the type based on what the work will accomplish
  2. Choose a short, descriptive slug (2-4 words, hyphenated)
  3. Create the branch: git checkout -b type/short-description
Skills similaires