What problem does it solve?
Upgrading the gstack tool across global or vendored installations can be error-prone due to mixed environments, missing migrations, and stale vendored copies. This Skill provides a safe, repeatable workflow to detect install type, perform upgrade, apply version migrations, and keep related copies in sync.
Core Features & Use Cases
- Install-type detection: identifies whether gstack is installed globally (git), vendored, or locally, and selects the correct upgrade path.
- Safe upgrade workflow: handles stashing local changes, resetting to the latest main branch, running setup, and rolling back on failure if needed.
- Version migrations: runs migration scripts to align configurations and state between old and new versions.
- Vendored-sync (local copies): propagates upgrades to local vendored copies when team mode is off, or removes stale vendored copies when team mode is on.
Quick Start
Run the /gstack-upgrade command to check for available upgrades and follow the prompts to complete the upgrade.