gstack-upgrade

Upgrades gstack to latest version via Git and Bash with rollback safety checks.

Updated Apr 1, 2026
One-click install
npx skills add https://github.com/viraatdas/vstack --skill gstack-upgrade-viraatdas
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gstack-upgrade
Source: https://github.com/viraatdas/vstack/tree/main/gstack-upgrade
Command: npx skills add https://github.com/viraatdas/vstack --skill gstack-upgrade-viraatdas

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Upgrades gstack to the latest version across global and vendored installs, detects differences, and applies updates safely.

Core Features & Use Cases

  • Detects install type (global, local, vendored) and performs the appropriate upgrade path.
  • Shows a concise "What’s New" summary after upgrading and offers to sync any local vendored copies.
  • Provides safe fallbacks and guidance in case of upgrade conflicts or failures.

Quick Start

Run /gstack-upgrade to check for updates and install the latest gstack.

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?

To upgrade gstack, the tool automatically detects whether your installation is global, local, or vendored, then fetches and resets to the latest version. It orchestrates the entire multi-step update flow in response to a simple upgrade prompt.

Does upgrading gstack require Git and Bash?

Yes, upgrading gstack requires both Bash and Git to execute its automated update flow. These dependencies are necessary for stashing local changes, fetching updates, resetting the repository, and running the post-upgrade setup.

What happens to my local changes when I update gstack?

When you update gstack, the tool safely stashes any local changes before fetching and resetting the repository. If the upgrade process fails, built-in safety checks automatically roll back the changes to prevent data loss.

Can I sync local vendored copies after a gstack version upgrade?

Yes, after a gstack version upgrade completes, the tool offers to automatically sync any local vendored copies. It also detects differences between installations and displays a concise summary of what is new.

What is the best way to handle a failed gstack upgrade?

The best way to handle a failed gstack upgrade is relying on its built-in safe fallbacks, which automatically roll back changes upon failure. The tool also provides specific guidance if upgrade conflicts occur during the process.

How does gstack detect global versus vendored installations during an upgrade?

During an upgrade, gstack detects the installation type by checking the current environment to determine if it is global, local, or vendored. It then selects the appropriate upgrade path to fetch and reset the correct repository.