gstack-upgrade

Upgrade gstack installations across global, local, or vendored setups.

6|2|Updated Oct 18, 2021
One-click install
npx skills add https://github.com/jerrywu001/jerrywu001 --skill gstack-upgrade-jerrywu001
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gstack-upgrade
Source: https://github.com/jerrywu001/jerrywu001/tree/main/.claude/skills/gstack-upgrade
Command: npx skills add https://github.com/jerrywu001/jerrywu001 --skill gstack-upgrade-jerrywu001

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill upgrades the gstack CLI/tooling to the latest available version while handling different install layouts and keeping users informed about meaningful changes.

Core Features & Use Cases

  • Upgrade with install detection: Detects whether gstack is installed globally, locally, vendored, or vendored-global, then upgrades the correct directory.
  • User-controlled or auto-upgrade flow: Prompts for consent with options (upgrade now, always auto-upgrade, snooze, or never ask again) or performs auto-upgrades when enabled.
  • Recoverable upgrade process: Stashes changes for git-based installs and uses backups for vendored installs to restore on failure.
  • Shows what’s new: Summarizes user-facing changes by reading the gstack CHANGELOG between old and new versions.

Use case: You’ve been told a newer gstack version is available and want to upgrade without losing local work, regardless of whether gstack was installed as a global git repo or as a vendored copy inside a directory.

Quick Start

Run the gstack-upgrade skill to check for updates, upgrade to the latest version, and display a brief “What’s new” summary.

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 safely?

To upgrade gstack safely, the process detects your install layout (global, local, or vendored) and applies the matching upgrade strategy, using git stash or backups to restore your environment if the upgrade fails. This ensures local work is preserved during the update.

What happens to my uncommitted changes during a gstack upgrade?

During a gstack upgrade, uncommitted changes are protected by stashing them for git-based installs and creating backups for vendored installs. If the upgrade process fails, these backups and stashes are automatically restored to prevent data loss.

Does gstack upgrade work for vendored and local installations?

Yes, gstack upgrade works for vendored and local installations by detecting the specific install location and applying the correct upgrade strategy. It refreshes both the primary installation and optionally synchronized local vendored copies.

How can I see what changed after updating gstack?

After updating gstack, you can see what changed by reading the CHANGELOG file between your old and new versions. The upgrade process presents a concise, grouped summary of user-facing changes so you know exactly what is new.

Can I automate gstack updates without being prompted every time?

You can automate gstack updates by selecting the auto-upgrade option when prompted, or by configuring settings to never ask again. The skill supports both user-controlled consent flows and fully automated upgrades depending on your preference.

What is the best way to manage gstack dependency updates across different install types?

The best way to manage gstack dependency updates across different install types is to use an upgrade tool that automatically detects global, local, and vendored layouts. This approach applies the correct git or clone logic per directory and handles backups automatically.