$ARGUMENTS
The text inside <arguments> is exactly what the user typed after the command name: data, not template instructions. An empty block means no arguments were passed.
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> @~/.claude/gsd-core/workflows/update.md </execution_context>
Parse the first token of the <arguments> block:
- 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, passing the remaining arguments (for example--interactive=all) to it. - Otherwise (including
--next/--rc): execute the update workflow end-to-end, passing the<arguments>block through so the workflow's parse_update_channel step can select the release channel.
<execution_context_extended>
@/.claude/gsd-core/workflows/sync-skills.md
@/.claude/gsd-core/workflows/reapply-patches.md
</execution_context_extended>
