원클릭으로
gsp-update
Update GSP to the latest version
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Update GSP to the latest version
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Add reference material to a project — use when: add a reference, save inspiration, attach examples, link this site as reference, drop in a moodboard
Craft ASCII art interactively — you direct, the artist creates — use when: make ASCII art, terminal art, decorative banner, splash screen, hero ASCII
Audit an existing brand before evolving it — use when: audit our brand, what do we have, before a rebrand, brand health check, current brand state, brand inventory
Sync brand to match a project's shipped state — tokens, voice, visual patterns, personality — use when: brand drifted from the app, reverse-engineer the brand, the code is ahead of the brand docs, sync brand to shipped, update brand from production
Design color systems — palettes, contrast, semantic mapping, dark mode — use when: pick colors, build a palette, semantic tokens, dark mode pairings, brand color, accent color
Design icon systems — library selection, sizing, containers, custom SVG direction — use when: pick an icon library, icon sizing rules, icon containers, custom SVG direction, swap icons, icon strategy
| name | gsp-update |
| description | Update GSP to the latest version |
| user-invocable | true |
| allowed-tools | ["Read","Bash","AskUserQuestion","Glob","WebFetch"] |
Determine the runtime by checking which config directory exists. Check local first, then global:
| Runtime | Local dir | Global dir |
|---|---|---|
| Claude Code | .claude/ | ~/.claude/ |
| OpenCode | .opencode/ | ~/.config/opencode/ |
| Gemini | .gemini/ | ~/.gemini/ |
| Codex | .codex/ | ~/.codex/ |
For each runtime, look for the VERSION file in two paths (current layout first, legacy fallback):
{runtime-dir}/VERSION (v0.5.0+){runtime-dir}/get-shit-pretty/VERSION (legacy v0.4.x)Record which runtime(s) and install type (local/global) were found.
If no VERSION file exists anywhere, tell the user GSP doesn't appear to be installed and suggest:
pnpm dlx get-shit-pretty
# or with bun
bunx get-shit-pretty
Then stop.
Read the VERSION file to get the installed version.
npm view get-shit-pretty version
If the command fails, tell the user the version check failed (they may be offline or npm is unavailable) and stop.
If installed version >= latest version:
GSP v{installed} is already up to date.
Then stop.
Update available: v{installed} → v{latest}
Fetch the changelog:
curl -sf https://raw.githubusercontent.com/jubscodes/get-shit-pretty/main/CHANGELOG.md
If the fetch succeeds, extract and display the section(s) between the installed and latest versions. If it fails, skip — changelog display is optional.
The update replaces:
• skills/gsp-* (all GSP skills + sibling files)
• templates/ (config, state, brief templates)
• references/ (shared reference material)
• agents/gsp-* (all GSP agents)
Custom files outside these prefixes are preserved.
Use AskUserQuestion:
If skip → stop.
Build the installer command based on what was detected in Step 1:
Runtime flag: use the detected runtime (--claude, --opencode, --gemini, --codex). If multiple runtimes were found, use --all.
Scope flag: --local if local install was detected, --global if global.
pnpm dlx get-shit-pretty@latest {runtime-flag} {scope-flag}
# or: bunx get-shit-pretty@latest {runtime-flag} {scope-flag}
Examples:
pnpm dlx get-shit-pretty@latest --claude --localpnpm dlx get-shit-pretty@latest --claude --globalpnpm dlx get-shit-pretty@latest --opencode --globalpnpm dlx get-shit-pretty@latest --all --globalShow the output to the user.
Scan .design/branding/ for brand directories. For each brand, if {brand}/system/ exists but {brand}/patterns/ does not, rename via mv and log the migration. This handles the v0.5.0 → v0.5.1 rename.
Remove the update cache so the statusline reflects the new state. Clear cache from the same directory where VERSION was found in Step 1:
rm -f {version-dir}/.update-cache.json
Also clean the legacy path if it exists:
rm -f {runtime-dir}/get-shit-pretty/.update-cache.json
GSP updated to v{latest}.
Restart your session to load the new skills and agents.