npx claudepluginhub s-hiraoku/harnesses-factory --plugin cc-version-updater# Claude Code Upgrade Execute the Claude Code upgrade process. ## Steps ### 1. Check Upgrade Info First, check if pre-generated summary exists (prepared-upgrade.json), otherwise fall back to pending-upgrade.json: **Important**: If `prepared-upgrade.json` exists with `readyForUpgrade: true`: - The summary and infographic have been **pre-generated** at session start - You can skip Steps 5-7 after upgrade and directly use the prepared content **Language Detection**: Automatically detect the user's language from their messages in this conversation. Use that language for all output. ###...
/watchCheck for Claude Code updates, detect breaking changes, analyze plugin compatibility, and optionally gather community pulse via Exa.
/upgrade-claude-codeAnalyzes Claude Code settings against mastery levels and checklists, researches latest trends via web search, and proposes prioritized upgrades with dashboard.
/refresh-knowledgeRefreshes Claude Code convention knowledge by fetching latest plugin docs via context7, checks current skill for drift (--check, default) or updates it (--update).
/upgradeChecks for updates to agentic-dev-team plugin, shows categorized changes (agents, skills, commands), confirms, and applies via git pull.
/upgrade-deep-diveAnalyzes a specific upgrade with deep-dive report: risk assessment, numbered implementation steps, affected files, test strategy, rollback plan, code previews.
/update-claudeUpdates CLAUDE.md or .claude/CLAUDE.md to reflect major codebase changes, covering project overview, structure, architecture, conventions, notes, and workflow.
Share bugs, ideas, or general feedback.
Execute the Claude Code upgrade process.
First, check if pre-generated summary exists (prepared-upgrade.json), otherwise fall back to pending-upgrade.json:
cat "${CLAUDE_PLUGIN_ROOT}/.cache/prepared-upgrade.json" 2>/dev/null || \
cat "${CLAUDE_PLUGIN_ROOT}/.cache/pending-upgrade.json" 2>/dev/null || \
echo "{}"
Important: If prepared-upgrade.json exists with readyForUpgrade: true:
Language Detection: Automatically detect the user's language from their messages in this conversation. Use that language for all output.
Use AskUserQuestion tool to confirm:
Note: The changelogs field contains an array of all versions between current and latest.
node "${CLAUDE_PLUGIN_ROOT}/scripts/detect-install-method.js"
Based on the detected installation method, run the appropriate upgrade command:
Native (default):
curl -fsSL https://claude.ai/install.sh | bash
Homebrew:
brew upgrade --cask claude-code
npm:
npm install -g @anthropic-ai/claude-code@latest
Display the upgrade output to the user.
If prepared-upgrade.json exists with readyForUpgrade: true:
Simply copy the prepared data to changelog-summary.json:
cp "${CLAUDE_PLUGIN_ROOT}/.cache/prepared-upgrade.json" "${CLAUDE_PLUGIN_ROOT}/.cache/changelog-summary.json"
rm -f "${CLAUDE_PLUGIN_ROOT}/.cache/pending-upgrade.json"
rm -f "${CLAUDE_PLUGIN_ROOT}/.cache/prepared-upgrade.json"
Skip to Step 8.
If NO pre-generated content exists, follow Steps 5.1-5.3 below:
cat "${CLAUDE_PLUGIN_ROOT}/skills/changelog-interpreter/SKILL.md"
Use WebSearch to get accurate information:
For each version in the changelogs array, search:
"Claude Code v{version}" site:anthropic.com"Claude Code v{version}" release notesThen use WebFetch on:
https://github.com/anthropics/claude-code/releaseshttps://docs.anthropic.com/en/docs/claude-codeCreate the summary following the skill's exact format:
\033[1;36m for cyan)━━━ lines\\033 instead of \033Save the generated summary as JSON:
jq -n \
--arg prev "{previousVersion}" \
--arg latest "{latestVersion}" \
--arg summary "{generatedSummary}" \
'{
previousVersion: $prev,
latestVersion: $latest,
summary: $summary,
generatedAt: (now | todate)
}' > "${CLAUDE_PLUGIN_ROOT}/.cache/changelog-summary.json"
rm -f "${CLAUDE_PLUGIN_ROOT}/.cache/pending-upgrade.json"
Skip this step if using pre-generated content from prepared-upgrade.json.
If you need to generate manually:
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/generate-infographic.py" \
"${CLAUDE_PLUGIN_ROOT}/.cache/pending-upgrade.json" \
"{lang}" \
"${CLAUDE_PLUGIN_ROOT}/.cache/infographics/changelog-{prevVersion}-to-{newVersion}.png"
Update the summary JSON with infographic path:
jq --arg path "${CLAUDE_PLUGIN_ROOT}/.cache/infographics/changelog-{prevVersion}-to-{newVersion}.png" \
'.infographicPath = $path' \
"${CLAUDE_PLUGIN_ROOT}/.cache/changelog-summary.json" > tmp.json && \
mv tmp.json "${CLAUDE_PLUGIN_ROOT}/.cache/changelog-summary.json"
Display success message:
Upgrade complete!
Please restart Claude Code:
1. Exit this session (exit or Ctrl+C)
2. Run `claude` again
The new features guide will be displayed on next startup.
If infographic was generated, also display the path prominently:
Infographic: {infographicPath}
Run: open "{infographicPath}"
Abort the process.