Git Mob Programming Co-author Manager

VerifiedSafe

Use this skill to set, change, or clear Git commit co-authors for pair or mob programming. It reads the co-authors file, resolves names to initials, and runs git mob or git solo commands accordingly. Helps when collaborating in a team and wanting to properly attribute commits.

Sby Skills Guide Bot
DevelopmentIntermediate
1006/2/2026
Claude Code
#git#mob-programming#pair-programming#co-authors

Recommended for

Our review

Manages Git commit co-authors for pair or mob programming by automatically setting multiple authors.

Strengths

  • Automates adding and managing co-authors via initials
  • Detects unknown authors and prompts to add them with email inference
  • Integrates with existing Git workflows via git mob and git solo
  • Handles ambiguous matches and solo/mob transitions cleanly

Limitations

  • Requires the git-mob tool to be installed and configured
  • Email inference may be incorrect if domain or naming convention is non-standard
  • Does not handle complex initial collision resolution
When to use it

Use this skill when pair or mob programming and you want to quickly assign commit co-authors.

When not to use it

Avoid using it for solo commits or when co-author configuration is already handled manually without automation needs.

Security analysis

Safe
Quality score92/100

The skill only uses predefined git co-author management commands (git mob, git solo, git add-coauthor, git mob-print) and the Read tool. No destructive, exfiltrating, or obfuscated actions are present.

No concerns found

Examples

Start mob session with two colleagues
/mob alice bob
Switch back to solo mode
/mob solo
Add a new co-author not yet in the file
/mob charlie

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).

Related skills