chore: initial backup of Claude Code configuration
Includes: CLAUDE.md, settings.json, agents, commands, rules, skills, hooks, contexts, evals, get-shit-done, plugin configs (installed list and marketplace sources). Excludes credentials, runtime caches, telemetry, session data, and plugin binary cache.
This commit is contained in:
37
commands/gsd/update.md
Normal file
37
commands/gsd/update.md
Normal file
@@ -0,0 +1,37 @@
|
||||
---
|
||||
name: gsd:update
|
||||
description: Update GSD to latest version with changelog display
|
||||
allowed-tools:
|
||||
- Bash
|
||||
- AskUserQuestion
|
||||
---
|
||||
|
||||
<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>
|
||||
@C:/Users/yaoji/.claude/get-shit-done/workflows/update.md
|
||||
</execution_context>
|
||||
|
||||
<process>
|
||||
**Follow the update workflow** from `@C:/Users/yaoji/.claude/get-shit-done/workflows/update.md`.
|
||||
|
||||
The workflow handles all logic including:
|
||||
1. Installed version detection (local/global)
|
||||
2. Latest version checking via npm
|
||||
3. Version comparison
|
||||
4. Changelog fetching and extraction
|
||||
5. Clean install warning display
|
||||
6. User confirmation
|
||||
7. Update execution
|
||||
8. Cache clearing
|
||||
</process>
|
||||
Reference in New Issue
Block a user