| name | gsd-update |
| description | Update GSD to latest version with changelog display |
<augment_skill_adapter>
A. Skill Invocation
- This skill is invoked when the user mentions
gsd-update or describes a task matching this skill.
- Treat all user text after the skill mention as
{{GSD_ARGS}}.
- If no arguments are present, treat
{{GSD_ARGS}} as empty.
B. User Prompting
When the workflow needs user input, prompt the user conversationally:
- Present options as a numbered list in your response text
- Ask the user to reply with their choice
- For multi-select, ask for comma-separated numbers
C. Tool Usage
Use these Augment tools when executing GSD workflows:
launch-process for running commands (terminal operations)
str-replace-editor for editing existing files
view for reading files and listing directories
save-file for creating new files
grep for searching code (or use MCP servers for advanced search)
web-search, web-fetch for web queries
add_tasks, view_tasklist, update_tasks for task management
D. Subagent Spawning
When the workflow needs to spawn a subagent:
- Use the built-in subagent spawning capability
- Define agent prompts in
.augment/agents/ directory
</augment_skill_adapter>
Check for GSD updates, install if available, and display what changed.
Routes to the update workflow which handles:
- Version detection (local vs global installation)
- npm version checking
- Changelog fetching and display
- User confirmation with clean install warning
- Update execution and cache clearing
- Restart reminder
<execution_context>
@/home/delorenj/code/bhappy/.augment/get-shit-done/workflows/update.md
</execution_context>
- **--sync**: Sync managed GSD skills across runtime roots so multi-runtime users stay aligned after an update. Runs the sync-skills workflow (--from, --to, --dry-run, --apply flags supported).
- **--reapply**: Reapply local modifications after a GSD update. Uses three-way comparison (pristine baseline, user-modified backup, newly installed version) to merge user customizations back. Runs the reapply-patches workflow.
- **(no flag)**: Standard update — check for new version, show changelog, install.
Parse the first token of {{GSD_ARGS}}:
- If it is `--sync`: strip the flag, execute the sync-skills workflow (passing remaining args for --from/--to/--dry-run/--apply).
- If it is `--reapply`: strip the flag, execute the reapply-patches workflow.
- Otherwise: **Follow the update workflow** from `@/home/delorenj/code/bhappy/.augment/get-shit-done/workflows/update.md`.
The update workflow handles all logic including:
- Installed version detection (local/global)
- Latest version checking via npm
- Version comparison
- Changelog fetching and extraction
- Clean install warning display
- User confirmation
- Update execution
- Cache clearing
<execution_context_extended>
@/home/delorenj/code/bhappy/.augment/get-shit-done/workflows/sync-skills.md
@/home/delorenj/code/bhappy/.augment/get-shit-done/workflows/reapply-patches.md
</execution_context_extended>