| name | release |
| description | Build, version bump, update README/marketplace, commit, push, create GitHub release, and clean local caches |
| argument-hint | [version] [description] |
| allowed-tools | Bash, Read, Edit, Write, Glob, Grep, AskUserQuestion |
| user-invocable | true |
| disable-model-invocation | true |
claude-ultimate-hud Release Workflow
์ ๋ฒ์ ์ ๋ฆด๋ฆฌ์ฆํ๋ ์ ์ฒด ์ํฌํ๋ก์ฐ๋ฅผ ์๋ ์คํํฉ๋๋ค.
Arguments
$0: ์ ๋ฒ์ ๋ฒํธ (์: 1.6.0). ์๋ต ์ ์ฌ์ฉ์์๊ฒ ์ง๋ฌธํฉ๋๋ค.
$1~: ๋ฆด๋ฆฌ์ฆ ํ์ค ์ค๋ช
(์: API stability & git extensions). ์๋ต ์ ์๋ ์์ฑํฉ๋๋ค.
Pre-check
- ์์
๋๋ ํ ๋ฆฌ๊ฐ
claude-ultimate-hud ํ๋ฌ๊ทธ์ธ ๋ฃจํธ์ธ์ง ํ์ธํฉ๋๋ค.
- ์๋๋ฉด
cd ~/.claude/plugins/claude-ultimate-hud ๋๋ ๋ง์ผํ๋ ์ด์ค ์บ์ ๊ฒฝ๋ก๋ก ์ด๋ํฉ๋๋ค.
git status๋ก ํ์ฌ ์ํ๋ฅผ ํ์ธํฉ๋๋ค.
- ๋ณ๊ฒฝ ์ฌํญ์ด ์์ผ๋ฉด ์ฌ์ฉ์์๊ฒ ์๋ฆฌ๊ณ ์ค๋จํฉ๋๋ค.
Step 1: Gather Info
๋ฒ์ ์ด $0์ผ๋ก ์ ๊ณต๋์ง ์์ผ๋ฉด AskUserQuestion์ผ๋ก ๋ฌผ์ด๋ด
๋๋ค:
- header: "Version"
- question: "์ ๋ฒ์ ๋ฒํธ๋ฅผ ์
๋ ฅํ์ธ์ (ํ์ฌ: {ํ์ฌ package.json ๋ฒ์ })"
๋ฆด๋ฆฌ์ฆ ์ค๋ช
์ด ์์ผ๋ฉด git diff HEAD --stat๊ณผ ๋ณ๊ฒฝ๋ ์์ค ํ์ผ์ ๋ถ์ํด์ ํ์ค ์ ๋ชฉ๊ณผ changelog๋ฅผ ์๋ ์์ฑํฉ๋๋ค.
Step 2: Build
bun run build
๋น๋ ์คํจ ์ ์ค๋จํฉ๋๋ค.
Step 3: Version Bump
์๋ 3๊ฐ ํ์ผ์์ ๋ฒ์ ์ $0์ผ๋ก ์
๋ฐ์ดํธํฉ๋๋ค:
package.json: "version": "{OLD}" โ "version": "{NEW}"
.claude-plugin/plugin.json: metadata.version
.claude-plugin/marketplace.json: metadata.version
Step 4: Update README
4-1. README.md (ํ๊ตญ์ด)
## ๊ธฐ๋ฅ ์น์
์๋, ๊ธฐ์กด ์ต์ ๋ฒ์ ํญ๋ชฉ ์์ ์ ๋ฒ์ feature highlight๋ฅผ ์ถ๊ฐํฉ๋๋ค:
### v{VERSION} - {ํ์ค ์ค๋ช
}
- ์ฃผ์ ๋ณ๊ฒฝ ์ฌํญ ๋ชฉ๋ก (git diff์์ ์ถ์ถ)
## ์ถ๋ ฅ ์์ ์น์
์ ์ฝ๋ ๋ธ๋ก์ ์ ๊ธฐ๋ฅ์ด ๋ฐ์๋ ์์๋ก ์
๋ฐ์ดํธํฉ๋๋ค (๋ณ๊ฒฝ ํ์์์๋ง).
## ๋ณ๊ฒฝ ์ด๋ ฅ ์น์
๋งจ ์์ ์์ธ changelog๋ฅผ ์ถ๊ฐํฉ๋๋ค:
### v{VERSION}
- ๋ณ๊ฒฝ ํญ๋ชฉ๋ค (๊ตฌ์ฒด์ , ๊ธฐ์ ์ )
4-2. README.en.md (English)
๋์ผํ ๊ตฌ์กฐ๋ก ์๋ฌธ README๋ ์
๋ฐ์ดํธํฉ๋๋ค. ํ๊ตญ์ด changelog๋ฅผ ์์ด๋ก ๋ฒ์ญํ์ฌ ์ถ๊ฐํฉ๋๋ค.
Changelog ์์ฑ ๊ท์น
git diff HEAD ๋๋ ์ปค๋ฐ๋ ๋ณ๊ฒฝ ์ฌํญ์ ๋ถ์ํ์ฌ changelog๋ฅผ ์์ฑํฉ๋๋ค.
- ๊ฐ ํญ๋ชฉ์ ์ ์ ํ ์ด๋ชจ์ง prefix๋ฅผ ์ฌ์ฉํฉ๋๋ค:
- ๐ ๋ณด์/์์ ์ฑ, ๐ฟ Git, ๐ ๋ฐ์ดํฐ/ํ์, ๐ฅ ์ฑ๋ฅ
- ๐ ์ฝ๋ ๋ณ๊ฒฝ, ๐ ๋๋ฒ๊ทธ/์ถ์ , ๐ ๊ธฐ๋ฅ, ๐ UI
- โ๏ธ ์ค์ , ๐ฆ ๋น๋/ํ์ผ, ๐ก๏ธ ๊ฒ์ฆ, โ๏ธ ์บ์
- ๋ณ๊ฒฝ ์ ํ๋ณ๋ก ๊ทธ๋ฃนํํฉ๋๋ค (API, Git, UI, Config ๋ฑ).
- ์งง๊ณ ๊ตฌ์ฒด์ ์ผ๋ก ์์ฑํฉ๋๋ค โ "๊ฐ์ " ๊ฐ์ ๋ชจํธํ ํํ ๊ธ์ง.
Step 5: Rebuild dist
README/metadata ๋ณ๊ฒฝ ํ dist๊ฐ ๋ณ๊ฒฝ๋์์ ์ ์์ผ๋ฏ๋ก ๋ฆฌ๋น๋ํฉ๋๋ค:
bun run build
Step 6: Commit
์ปค๋ฐ 1 โ ์์ค ๋ณ๊ฒฝ (์ด๋ฏธ unstaged์ธ ๊ฒฝ์ฐ):
feat: upgrade to v{VERSION} โ {ํ์ค ์ค๋ช
}
{์์ธ ๋ณ๊ฒฝ ์ฌํญ ์์ฝ}
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
์ปค๋ฐ 2 โ README/๋ฉํ๋ฐ์ดํฐ:
docs: add v{VERSION} changelog, update marketplace and plugin metadata
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
๋ชจ๋ ์์ค+docs๊ฐ ํ ๋ฒ์ ์ปค๋ฐ ๊ฐ๋ฅํ๋ฉด 1๊ฐ ์ปค๋ฐ์ผ๋ก ํตํฉํด๋ ๋ฉ๋๋ค.
Step 7: Push
git push origin main
push๊ฐ rejected๋๋ฉด git pull --rebase origin main์ ๋จผ์ ์คํํฉ๋๋ค.
rebase ์ถฉ๋ ์ git checkout --theirs๋ก ์ฐ๋ฆฌ ์ฝ๋๋ฅผ ์ฐ์ ํฉ๋๋ค.
Step 8: GitHub Release
gh release create ๋ช
๋ น์ผ๋ก ๋ฆด๋ฆฌ์ฆ๋ฅผ ์์ฑํฉ๋๋ค:
gh release create v{VERSION} \
--title "v{VERSION} โ {ํ์ค ์ค๋ช
}" \
--notes "$(cat <<'EOF'
## What's New
{Phase๋ณ ๋๋ ์นดํ
๊ณ ๋ฆฌ๋ณ ๋ณ๊ฒฝ ์ฌํญ}
### Output Example
{HUD ์ถ๋ ฅ ์์}
### Files Changed
- {๋ณ๊ฒฝ ํ์ผ ์} files modified, {์ ๊ท ํ์ผ} new, {์ญ์ ํ์ผ} deleted
- Bundle size: {dist/index.js ํฌ๊ธฐ}
**Full Changelog**: https://github.com/hadamyeedady12-dev/claude-ultimate-hud/compare/v{PREV}...v{VERSION}
EOF
)"
Step 9: Clean Local Cache & Rebuild
rm -f ~/.claude/claude-ultimate-hud-cache.json \
~/.claude/claude-ultimate-hud-ncache.json \
~/.claude/claude-ultimate-hud-git-cache.json \
~/.claude/claude-ultimate-hud-transcript-cache.json \
~/.claude/claude-ultimate-hud-config-cache.json \
~/.claude/claude-ultimate-hud-speed-cache.json \
~/.claude/claude-ultimate-hud-usage.lock
bun install && bun run build
Step 10: Verify
์ต์ข
๋์ ํ
์คํธ๋ฅผ ์คํํฉ๋๋ค:
echo '{"model":{"display_name":"Opus"},"cwd":"'$(pwd)'","transcript_path":"","context_window":{"context_window_size":200000,"current_usage":{"input_tokens":50000,"cache_creation_input_tokens":0,"cache_read_input_tokens":0}},"cost":{"total_cost_usd":0.5}}' | bun dist/index.js
์ถ๋ ฅ์ด ์ ์์ด๋ฉด ๋ฆด๋ฆฌ์ฆ URL์ ์ฌ์ฉ์์๊ฒ ๋ณด์ฌ์ฃผ๊ณ ์๋ฃ๋ฅผ ์๋ฆฝ๋๋ค.
Summary Template
์์
์๋ฃ ํ ์๋ ํ์์ผ๋ก ์์ฝํฉ๋๋ค:
v{VERSION} ๋ฆด๋ฆฌ์ฆ ์๋ฃ:
1. Build โ {๋ฒ๋ค ํฌ๊ธฐ}
2. Version bump โ package.json, plugin.json, marketplace.json
3. README โ KO/EN changelog ์ถ๊ฐ
4. Commit โ {์ปค๋ฐ ์}๊ฐ ({์ปค๋ฐ ํด์})
5. Push โ origin/main
6. Release โ {๋ฆด๋ฆฌ์ฆ URL}
7. Cache cleanup & rebuild โ ์๋ฃ