Contrôle de version Git

VérifiéSûr

Permet de gérer les opérations de versionnement Git telles que l'ajout, le commit, le push/pull, la création de branches, et la consultation des logs. Utile pour automatiser les tâches Git courantes dans un dépôt local ou distant.

Spar Skills Guide Bot
DeveloppementDébutant
5002/06/2026
Claude Code
#git#version-control#repository-management

Recommandé pour

Notre avis

Cette compétence permet à l'agent d'exécuter des opérations Git de base sur des dépôts locaux et distants.

Points forts

  • Couvre les commandes essentielles comme status, add, commit, push, pull et log.
  • Interface simple et normalisée pour interagir avec Git via des outils dédiés.
  • Supporte la gestion des branches : création, suppression, renommage.

Limites

  • Ne gère pas les opérations avancées comme rebase, stash, ou merge.
  • Pas de support pour les sous-modules ou les hooks Git.
  • Les messages d'erreur peuvent être vagues sans accès à la sortie brute.
Quand l'utiliser

Idéal pour les tâches quotidiennes de versionnement comme vérifier l'état, commiter et pousser du code.

Quand l'éviter

Éviter pour des workflows complexes nécessitant des fusions manuelles ou la résolution de conflits.

Analyse de sécurité

Sûr
Score qualité85/100

The skill exclusively uses standard Git operations (status, diff, add, commit, log, branch, checkout, pull, push, init, clone, remote) which are non-destructive and do not expose the system to external code execution or data exfiltration. No shell injection, network calls beyond Git protocols, or dangerous commands are present.

Aucun point d'attention détecté

Exemples

Check repository status
Show me the current Git status of this repository.
Stage and commit all changes
Stage all changed files and commit with message 'Fix bug in login feature'.
Push current branch to remote
Push the current branch to the remote repository 'origin'.

name: git description: Git version control operations for repositories. allowed-tools:

  • git_status
  • git_diff
  • git_add
  • git_commit
  • git_log
  • git_branch
  • git_checkout
  • git_pull
  • git_push
  • git_init
  • git_clone
  • git_remote

Git Skill

This skill provides the agent with capabilities to interact with Git repositories for version control.

Tools

git_status

Show the working tree status.

  • repo_path: Path to the Git repository (defaults to current directory).

git_diff

Show changes between commits, commit and working tree, etc.

  • repo_path: Path to the Git repository (defaults to current directory).
  • args: Additional diff arguments (optional).

git_add

Add file contents to the index.

  • repo_path: Path to the Git repository (defaults to current directory).
  • pathspec: Files to add (defaults to '.' for all).

git_commit

Record changes to the repository.

  • repo_path: Path to the Git repository (defaults to current directory).
  • message: Commit message.

git_log

Show commit logs.

  • repo_path: Path to the Git repository (defaults to current directory).
  • args: Additional log arguments (optional).

git_branch

List, create, or delete branches.

  • repo_path: Path to the Git repository (defaults to current directory).
  • action: Branch action: 'list', 'create', 'delete', 'rename'.
  • branch_name: Branch name for create/delete/rename.
  • new_name: New branch name for rename.

git_checkout

Switch branches or restore working tree files.

  • repo_path: Path to the Git repository (defaults to current directory).
  • target: Branch, commit, or file to checkout.

git_pull

Fetch from and integrate with another repository or local branch.

  • repo_path: Path to the Git repository (defaults to current directory).
  • remote: Remote name (defaults to 'origin').
  • branch: Branch name (defaults to current branch).

git_push

Update remote refs along with associated objects.

  • repo_path: Path to the Git repository (defaults to current directory).
  • remote: Remote name (defaults to 'origin').
  • branch: Branch name (defaults to current branch).

git_init

Create an empty Git repository or reinitialize an existing one.

  • repo_path: Path where to initialize repository.

git_clone

Clone a repository into a new directory.

  • repository_url: URL of the repository to clone.
  • destination: Directory to clone into.

git_remote

Manage set of tracked repositories.

  • repo_path: Path to the Git repository (defaults to current directory).
  • action: Remote action: 'list', 'add', 'remove', 'rename'.
  • name: Remote name.
  • url: Remote URL for add.
  • new_name: New name for rename.
Skills similaires