Worktree Coordination

•
69
•

Coordinates multiple parallel Claude Code instances across Git worktrees to prevent file conflicts and synchronize architectural decisions.

This skill enables developers to run multiple Claude Code sessions simultaneously across different Git worktrees without the risk of overlapping work or merge conflicts. It provides a robust file-locking mechanism, real-time status tracking of all active instances, and a centralized registry for architectural decisions. While native Agent Teams now provides similar functionality for some users, this skill remains essential for independent multi-instance workflows, ensuring that parallel development remains organized, conflict-free, and contextually aligned through automated heartbeats and shared coordination logs.

주요 기능

01Real-time file locking to prevent simultaneous edits across multiple worktrees
02Conflict detection tool using merge-tree to preview potential overlaps
03Shared architectural decision log to synchronize choices across parallel streams
0469 GitHub stars
05Automated heartbeat and stale instance cleanup for reliable lock management
06Centralized coordination registry to track active instances and their current tasks

사용 사례

01Managing complex refactors where multiple Claude instances work on related but separate feature branches
02Maintaining a shared source of truth for architectural decisions during high-velocity parallel coding
03Preventing accidental merge conflicts when running background agents alongside active development sessions