vault-presync
Installation
SKILL.md
vault-presync
Pre-sync helper that handles the full sync pipeline for the ~/wiki vault: lint gate, untracked-file collision removal, conflict detection, and rebase-based merge.
When to use
- Before
git pushfrom the ~/wiki vault (after editing sessions) - When
git pullfails with "The following untracked working tree files would be overwritten by merge" - When
git merge --ff-onlyfails due to divergent histories (local + remote both have commits) - After a Claude Code session that modified vault files
- Periodically to keep the local vault in sync with sg01 30-minute snapshots