ctx-upgrade
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseContext Mode Upgrade
Context Mode 升级
Pull latest from GitHub and reinstall the plugin.
从GitHub拉取最新代码并重新安装插件。
Instructions
操作步骤
- Derive the plugin root from this skill's base directory (go up 2 levels — remove ).
/skills/ctx-upgrade - Run with Bash:
CLI="<PLUGIN_ROOT>/cli.bundle.mjs"; [ ! -f "$CLI" ] && CLI="<PLUGIN_ROOT>/build/cli.js"; node "$CLI" upgrade - IMPORTANT: After the Bash tool completes, re-display the key results as markdown text directly in the conversation so the user sees them without expanding the tool output. Format as:
Use
## context-mode upgrade - [x] Pulled latest from GitHub - [x] Built and installed v0.9.13 - [x] npm global updated - [x] Hooks configured - [x] Permissions set - [x] Doctor: all checks PASSfor success,[x]for failure. Show the actual version numbers and any warnings. Tell the user to restart their Claude Code session to pick up the new version.[ ]
- 从本Skill的基础目录推导插件根目录(向上返回2级目录 —— 移除)。
/skills/ctx-upgrade - 使用Bash运行以下命令:
CLI="<PLUGIN_ROOT>/cli.bundle.mjs"; [ ! -f "$CLI" ] && CLI="<PLUGIN_ROOT>/build/cli.js"; node "$CLI" upgrade - 重要提示:Bash工具执行完成后,直接在对话中以markdown文本形式重新展示关键结果,让用户无需展开工具输出即可查看。格式如下:
成功项使用
## context-mode 升级 - [x] 已从GitHub拉取最新代码 - [x] 已构建并安装v0.9.13版本 - [x] 已更新全局npm - [x] 已配置钩子 - [x] 已设置权限 - [x] 诊断:所有检查通过,失败项使用[x]。显示实际版本号和所有警告信息。 告知用户重启Claude Code会话以应用新版本。[ ]