gsd-update
Update GSD to latest version with changelog display
- License 许可
- MIT
- 最近更新
- 2026-11-09
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- gsd-update
- description
- Update GSD to latest version with changelog display
03 SKILL.md 正文
<cursor_skill_adapter>
A. Skill Invocation
- This skill is invoked when the user mentions
gsd-updateor 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 Cursor tools when executing GSD workflows:
Shellfor running commands (terminal operations)StrReplacefor editing existing filesRead,Write,Glob,Grep,Task,WebSearch,WebFetch,TodoWriteas needed
D. Subagent Spawning
When the workflow needs to spawn a subagent:
- Use
Task(subagent_type="generalPurpose", ...) - The
modelparameter maps to Cursor's model options (e.g., "fast") </cursor_skill_adapter>
<objective> 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 </objective>
<execution_context> @/Users/igorganapolsky/workspace/git/igor/Random-Timer/.claude/worktrees/opengsd-gsd-core/.cursor/gsd-core/workflows/update.md </execution_context>
<flags>
- --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.
- --next (alias --rc): Target the
@nextRC dist-tag instead of@latestso you can install or refresh a release candidate (e.g.1.4.0-rc.1) through the normal update flow — scope/runtime detection, changelog preview, custom-file backup, and cache clearing all still apply. Omitting it keeps targeting@latest(no change). See ADR #660 for the RC channel. - (no flag): Standard update — check for new version, show changelog, install. </flags>
<process> 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 (including
--next/--rc): execute the update workflow end-to-end, passing{{GSD_ARGS}}through so the workflow's parse_update_channel step can select the release channel.
</process>
<execution_context_extended> @/Users/igorganapolsky/workspace/git/igor/Random-Timer/.claude/worktrees/opengsd-gsd-core/.cursor/gsd-core/workflows/sync-skills.md @/Users/igorganapolsky/workspace/git/igor/Random-Timer/.claude/worktrees/opengsd-gsd-core/.cursor/gsd-core/workflows/reapply-patches.md </execution_context_extended>
04 同仓库更多 Skills
writing-plans
Use when you have a spec or requirements for a multi-step task, before touching code
workflow-economics-lite
Escape AI pilot purgatory: require completion-loop workflows with one owner, baseline, economic metric, system-of-record integration, and audit trail. Block orphan chatbots and interest-as-ROI claims.
verification-before-completion
Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always
value-center-lite
Apply InfoQ Rohrer value-center / VSM five questions (agency + coherence). Use when planning work, shipping releases, or auditing agent autonomy claims. Fail closed on product-only slogans without WQTU/paywall value.
using-superpowers
Use when starting any conversation - establishes how to find and use skills, requiring skill invocation before ANY response including clarifying questions
using-git-worktrees
Use when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback