Gestionnaire de co-auteurs Git Mob

VérifiéSûr

Gère les co-auteurs Git pour la programmation en pair ou mob. Définit, modifie ou efface les co-auteurs de commits avec correspondance de noms/initiales et création automatique de profils.

Spar Skills Guide Bot
DeveloppementIntermédiaire
2002/06/2026
Claude Code
#git#mob-programming#pair-programming#coauthors

Recommandé pour

Notre avis

Gère les co-auteurs de commits Git pour le travail en mob ou pair programming.

Points forts

  • Automatise la configuration des co-auteurs via des initiales
  • Détecte et ajoute automatiquement les nouveaux contributeurs en inférant leur email
  • Fonctionne aussi bien en mode solo qu'en mode équipe

Limites

  • Nécessite que les outils git mob et git solo soient installés
  • La gestion des conflits d'initiales peut nécessiter une intervention manuelle
  • Ne gère pas les workflows de rebase ou de merge avancés
Quand l'utiliser

Quand vous travaillez en mob ou pair programming et souhaitez créditer automatiquement tous les participants dans les commits.

Quand l'éviter

Si vous utilisez un outil de gestion de versions alternatif (Mercurial, etc.) ou si vous préférez ajouter les co-auteurs manuellement.

Analyse de sécurité

Sûr
Score qualité90/100

The skill uses constrained Bash aliases (git mob, git solo, git add-coauthor, git mob-print) that only modify co-author metadata; no dangerous commands, secrets exposure, or external data exfiltration.

Aucun point d'attention détecté

Exemples

Set up mob with known co-authors
/mob alice bob
Switch to solo mode
/mob solo
Show current co-authors
/mob

name: mob description: Use when the user wants to set, change, or clear git commit co-authors for pair or mob programming. argument-hint: <names...> | solo | just me disable-model-invocation: true allowed-tools:

  • Bash(git mob:*)
  • Bash(git solo:*)
  • Bash(git add-coauthor:*)
  • Bash(git mob-print:*)
  • Read

Mob Programming Co-author Manager

Workflow

1. Solo Mode

If arguments indicate solo work (e.g., "solo", "just me"): run git solo, report primary author, exit.

2. Load Co-authors

Use git mob -p to find coauthors file, read with Read tool, parse JSON for available co-authors and initials.

3. Match Names to Initials

Match each name: exact initials → name substring (case-insensitive) → email prefix. If ambiguous, ask user to clarify.

4. Handle Unknown Names

If no match:

  1. Infer email from existing patterns (domain, naming convention)
  2. Generate initials from name (avoid collisions)
  3. Prompt for confirmation (show initials, name, inferred email)
  4. Run git add-coauthor <initials> "<name>" <email>

5. Set Mob

Run git mob <initials...> with resolved initials.

6. Report

Show primary author and all co-authors with names.

Example

/mob alice dana
→ alice → aw (Alice Wong)
→ dana not found → infer dana@acme.com → add as dw
→ git mob aw dw

Edge Cases

Handle: missing coauthors file (create it), empty args (show status), ambiguous matches (prompt), mixed known/unknown (resolve known first).

Skills similaires