multi-agent-git-collaboration-pattern
CommunityRecover safely from multi-agent Git races
Software Engineering#git#multi-agent#race recovery#non-fast-forward#atomic commit hook#concurrent edits
Authorsaintgo7
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill prevents multi-agent Git collaboration from failing or corrupting results when concurrent edits and push races occur.
Core Features & Use Cases
- Edit race recovery (modified since read): Detects conflicting changes via grep, re-reads the latest file state, then re-applies the edit to avoid overwriting other agents’ work.
- Push race recovery (non-fast-forward): Automatically handles rejected pushes by using git pull --rebase and a controlled retry approach while avoiding force pushes.
- Safety guardrails for atomicity: Enforces an atomic commit hook so that skill additions and registry entries enter together, plus explicit “never force push” rules.
- Anchor separation strategy: Minimizes “edit location” conflicts by recommending category-based anchor placement for concurrent skills.
Quick Start
Ask the AI to apply the multi-agent Git collaboration process by running install.sh multi-agent-git-collaboration-pattern and then using its race-handling rules during parallel agent edits and pushes.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: multi-agent-git-collaboration-pattern Download link: https://github.com/saintgo7/claude-skills/archive/main.zip#multi-agent-git-collaboration-pattern Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.