gstack-upgrade

Upgrades gstack installations by detecting install type and syncing vendored copies.

Updated Mar 16, 2026
One-click install
npx skills add https://github.com/bobbo01/B2BPlatform --skill gstack-upgrade-bobbo01
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gstack-upgrade
Source: https://github.com/bobbo01/B2BPlatform/tree/main/.agents/skills/gstack-upgrade
Command: npx skills add https://github.com/bobbo01/B2BPlatform --skill gstack-upgrade-bobbo01

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Keeping gstack up to date across global and vendored installs is error-prone: users must detect the install type, run the right upgrade commands, handle failures, and keep local vendored copies in sync. This Skill automates the entire upgrade flow and summarizes what changed. ## Core Features & Use Cases - Install Type Detection: Automatically distinguishes global-git, local-git, vendored, and vendored-global installs and applies the correct upgrade strategy. - Interactive or Automatic Upgrades: Prompts the user with snooze/never-ask options, or upgrades silently when auto-upgrade is enabled, with backup-and-restore recovery on failure. - Vendored Copy Sync: Detects stale local vendored copies and syncs them from the freshly upgraded primary install. - Use Case: A developer sees an UPGRADE_AVAILABLE notice, invokes the upgrade, and gets gstack updated plus a concise "What's new" summary grouped by theme from the changelog. ## Quick Start Ask the assistant to upgrade gstack to the latest version and show what changed.

Frequently Asked Questions about gstack-upgrade

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I upgrade gstack to the latest version?

Invoke the /gstack-upgrade skill, which forces a fresh update check, detects your install type, and runs the appropriate upgrade. After upgrading, it shows a summary of what changed between versions.

How does gstack upgrade handle vendored installs?

For vendored installs, the skill clones the latest gstack repo into a temp directory, backs up the existing directory, moves the new copy into place, and runs setup. It also syncs any local vendored copy from the freshly upgraded primary install.

Can gstack upgrade automatically without prompting?

Yes, set auto_upgrade to true via gstack-config or the GSTACK_AUTO_UPGRADE environment variable. The skill then skips the prompt, upgrades directly, and restores from backup if the setup step fails.

What happens if the gstack upgrade fails?

If the setup step fails during upgrade or vendored sync, the skill restores the previous version from the .bak backup directory and warns you to retry manually. Your prior installation remains intact.

How do I disable gstack update notifications?

Choose "Never ask again" when prompted, which runs gstack-config set update_check false. You can re-enable checks later by setting update_check back to true.