What problem does it solve?
This Skill automates the synchronization of local master branches with origin, merges outstanding worktrees into master, and propagates updates to dependent agents, maintaining consistency across multiple development environments.
Core Features & Use Cases
- Master-Worktree Reconciliation: Fetches updates, detects divergence, and safely merges changes without rebasing or resetting.
- Worktree Synchronization: Merges committed work from multiple worktrees into the main branch while preserving local history.
- Use Case: Developers can run this command to ensure all worktrees reflect the latest approved code and avoid drift before pushing or deploying, especially after external PR merges.
- Automated Dispatch: Notifies involved agents of updates through lightweight dispatches, enabling coordinated workflows.
Quick Start
Run the captain-sync-all command when starting your day or after major merges to synchronize the main branch, merge pending worktrees, and communicate updates efficiently.