Opérations Git

VérifiéSûr

Gère les opérations Git (commits, branches, PRs, résolution de conflits) avec un format de commit conventionnel et une nomenclature de branches standardisée. Aide à maintenir des workflows Git cohérents en automatisant la création de messages de commit et en suivant les modèles GitFlow/GitHub Flow.

Spar Skills Guide Bot
DeveloppementIntermédiaire
7002/06/2026
Claude CodeCursorWindsurfCopilotCodex
#git#version-control#conventional-commits#branching#pull-requests

Recommandé pour

Notre avis

Ce skill automatise les opérations Git courantes en suivant les conventions de commits et les workflows GitFlow/GitHub Flow.

Points forts

  • Standardise les messages de commit et les noms de branches
  • Facilite la création de pull requests avec template
  • Aide à la résolution de conflits de manière structurée
  • Fonctionne avec tous les outils supportant shell et Git

Limites

  • Nécessite que l'outil d'IA ait accès au terminal
  • Ne gère pas les cas de conflits très complexes automatiquement
  • Dépend de la configuration Git existante (hooks, etc.)
Quand l'utiliser

Utilisez ce skill pour toute opération Git répétitive ou structurée comme les commits, branches, PRs ou résolution de conflits.

Quand l'éviter

Évitez de l'utiliser pour des opérations Git avancées très spécifiques (rebase interactif lourd, bisect) ou quand vous voulez un contrôle manuel complet.

Analyse de sécurité

Sûr
Score qualité88/100

This skill uses standard git commands and shell for git operations like branching, committing, and PR creation. No destructive or exfiltrating actions are instructed. The declared tools (git, shell) are used for their legitimate purposes, and no sensitive data exposure is indicated. The smart_commit.sh script is not provided but likely benign.

Aucun point d'attention détecté

Exemples

Create feature branch and commit
Create a new feature branch named 'feature/AUTH-123-user-login' and commit changes with a conventional commit message of type 'feat' and scope 'auth'.
Create a pull request
Create a pull request from branch 'feature/AUTH-123-user-login' to 'main' with a descriptive title, fill in the PR template, and request review from the team.
Resolve a merge conflict
I have a merge conflict in 'src/app.js' between 'main' and 'feature/user-profile'. Please help me resolve it by fetching the latest changes, identifying conflict sources, and preserving both intents.

name: git-ops description: Git operations including commits, branches, PRs, and conflict resolution version: 1.0.0 author: Vertice Agency tools:

  • git
  • shell

Git Operations Skill

Overview

Handle all Git-related operations following conventional commits and GitFlow/GitHub Flow patterns.

Instructions

Commit Message Format

<type>(<scope>): <description>

[optional body]

[optional footer]

Types:

  • feat: New feature
  • fix: Bug fix
  • docs: Documentation
  • style: Formatting
  • refactor: Code restructuring
  • test: Adding tests
  • chore: Maintenance

Branch Naming

  • feature/<ticket>-<description>
  • fix/<ticket>-<description>
  • hotfix/<description>
  • release/<version>

PR Creation

  1. Create descriptive title
  2. Fill PR template
  3. Link related issues
  4. Add appropriate labels
  5. Request reviewers

Conflict Resolution

  1. Fetch latest changes
  2. Identify conflict sources
  3. Resolve preserving both intents
  4. Test after resolution
  5. Commit with clear message

Scripts

smart_commit.sh

Generates commit message from diff analysis.

pr_template.md

Standard PR template.

Examples

Create feature branch and commit

git checkout -b feature/AUTH-123-user-login
# ... make changes ...
git add .
git commit -m "feat(auth): implement user login with JWT"
Skills similaires