Git Mob Programming Co-author Manager

VerifiedSafe

Manages git commit co-authors for pair and mob programming. Sets, changes, or clears co-authors with intelligent name matching and unknown author handling.

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

Recommended for

Our review

Quickly set up git commit co-authors for mob or pair programming sessions.

Strengths

  • Automates co-author configuration with a single command
  • Automatically detects and adds new co-authors by inferring their email
  • Handles ambiguous matches and initials conflicts
  • Integrates with existing mob/solo tools

Limitations

  • Requires a pre-existing co-authors file or initial setup
  • Only works with git mob and solo tools
  • Email inference may be incorrect without confirmation
When to use it

Use this skill when working in a team and you want to properly attribute commits to multiple authors during mob or pair programming sessions.

When not to use it

Avoid using it for solo projects or when you do not want co-authors in your git commits.

Security analysis

Safe
Quality score90/100

The skill only invokes allowed git subcommands (git mob, git solo, git add-coauthor, git mob-print) and reading files, with no destructive actions, network calls, or exfiltration. All operations are within the scope of managing co-authors.

No concerns found

Examples

Start mob session with two people
/mob alice bob
Switch to solo mode
/mob solo
Add a new co-author not in the file
/mob alice 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