gstack-upgrade

Upgrade gstack installations and display changelogs across global, local, and vendored types.

1|2|Updated Jan 4, 2024
One-click install
npx skills add https://github.com/NaKMiers/Port4lio --skill gstack-upgrade-nakmiers
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gstack-upgrade
Source: https://github.com/NaKMiers/Port4lio/tree/main/.agents/skills/gstack-upgrade
Command: npx skills add https://github.com/NaKMiers/Port4lio --skill gstack-upgrade-nakmiers

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Upgrade gstack to the latest version across all install types, detect the installation mode, and surface what changed, so you can keep your toolkit up to date with minimal effort.

Core Features & Use Cases

  • Detects install type (global, local, vendored) and locates the correct installation directory.
  • Upgrades to the latest mainline using a safe flow, including stash of local changes and changelog display.
  • Syncs local vendored copies to ensure consistency across environments.
  • Provides optional auto-upgrade that prompts or auto-applies updates as configured.

Quick Start

Run /gstack-upgrade to begin upgrading gstack to the latest version.

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 tool detects your installation type, stashes local changes, pulls the latest mainline, and syncs vendored copies. It orchestrates environment checks and user prompts to ensure a reliable upgrade flow across all environments.

What is the best way to update a vendored gstack installation?

Updating a vendored gstack installation involves syncing local vendored copies to the latest mainline. The upgrade process detects the vendored directory, stashes local modifications, applies the upgrade, and synchronizes the files to ensure consistency across environments.

Does the gstack upgrade process handle local uncommitted changes?

Yes, the gstack upgrade process handles local uncommitted changes by stashing them before applying the upgrade. This safe flow ensures local modifications are preserved and can be restored after the latest version is successfully pulled.

Can I see what changed after upgrading gstack?

Yes, you can see what changed after upgrading gstack through the built-in changelog presentation. The upgrade flow surfaces the changelog automatically upon completion, allowing you to review updates immediately.

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

gstack detects global versus local installations by performing environment checks and locating the correct installation directory. This detection mechanism allows the upgrade script to apply the correct update flow based on the specific installation mode.

What are the limitations of automating gstack version control updates?

Automating gstack updates relies on Bash scripting and user prompts, requiring a compatible environment. While optional auto-upgrade exists, complex local modifications may still need manual stash management and environment troubleshooting to ensure consistency.