What problem does it solve?
After a GSD update wipes and reinstalls files, users can lose their local modifications; this Skill merges previously saved backups back into the newly installed version to restore custom behavior and configuration without trusting the installer to detect intent correctly.
Core Features & Use Cases
- Backup detection: Searches common config locations and environment overrides for gsd-local-patches and reads backup-meta.json to enumerate modified files.
- Baseline determination: Extracts pristine baselines from git history or gsd-pristine snapshots when available, and falls back to strengthened two-way heuristics when necessary.
- Robust merging and reporting: Performs three-way merges when possible, applies heuristics for mechanical drift vs user customization, surfaces conflicts for user resolution, and summarizes preserved changes and cleanup options.
- Use Cases: Restore developer edits to workflow commands after a forced update, reapply agent or config tweaks across versions, and maintain custom CLI behaviors while adopting upstream fixes.
Quick Start
Reapply my saved local patches from gsd-local-patches into the updated GSD installation and prompt me to resolve any conflicts.