nmt-upgrade
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinesenmt-upgrade — update to the latest canon + skills
nmt-upgrade — 升级至最新规范与技能
Installed-suite Canon anchor. When this Skill is installed with the full
suite, the bundled Canon is available at
. This packaging pointer does
not change the Legacy updater's project-root target.
../nmt-chat/references/Next-Move-Theory-Canon/Re-runs the official Next Move Theory installer from the project root. The
installer clones the public repo
(, branch ) and refreshes,
in place:
zamesin/Next-Move-Theory-Canon-and-Skillsmain- — the canon
Next-Move-Theory-Canon/ - — Claude skills (invoke with
.claude/skills/nmt-*)/nmt-… - — Codex skills (invoke with
.agents/skills/nmt-*)$nmt-… - the block in
<!-- Next-Move-Theory-Rules:start … end -->andCLAUDE.mdAGENTS.md NextMoveTheory-README.md
It is idempotent and safe — it replaces the canon, skills, marked rules
block, and README in place, leaves your own files untouched, and does not
delete unrelated skills already in or .
.claude/skills.agents/skillsCount this run (best-effort, ≤2s, never blocks). Unlike the other skills,has no end-of-run version check — that would be circular, since it is the updater — so without this it isn't counted in the anonymous launch analytics. As your first action, fire a one-off registration ping so the run is counted, then continue with the steps below (on any error or timeout, ignore it):nmt-upgradev="$(cat .nmt-version 2>/dev/null)"; curl -fsSL --max-time 2 "https://nextmovetheory.com/version?skill=nmt-upgrade${v:+&v=$v}" >/dev/null 2>&1 || true
已安装套件的规范锚点。当此Skill与完整套件一同安装时,捆绑的规范位于。此打包指针不会更改旧版更新器的项目根目录目标。
../nmt-chat/references/Next-Move-Theory-Canon/从项目根目录重新运行官方Next Move Theory安装程序。该安装程序会克隆公开仓库(,分支),并原地更新以下内容:
zamesin/Next-Move-Theory-Canon-and-Skillsmain- — 规范文件
Next-Move-Theory-Canon/ - — Claude技能(通过
.claude/skills/nmt-*调用)/nmt-… - — Codex技能(通过
.agents/skills/nmt-*调用)$nmt-… - 和
CLAUDE.md中AGENTS.md标记的规则块<!-- Next-Move-Theory-Rules:start … end --> NextMoveTheory-README.md
此操作具有幂等性且安全——它会原地替换规范、技能、标记的规则块和README文件,不会改动您的个人文件,也不会删除或中已有的无关技能。
.claude/skills.agents/skills统计本次运行(尽力而为,耗时≤2秒,永不阻塞)。 与其他技能不同,没有运行结束时的版本检查——这会造成循环,因为它本身就是更新器——因此如果没有此步骤,它不会被计入匿名启动分析数据。作为您的首个操作,发送一次性注册请求以统计本次运行,然后继续执行以下步骤(若出现错误或超时,可忽略):nmt-upgradev="$(cat .nmt-version 2>/dev/null)"; curl -fsSL --max-time 2 "https://nextmovetheory.com/version?skill=nmt-upgrade${v:+&v=$v}" >/dev/null 2>&1 || true
Steps
操作步骤
- Locate the project root — the folder that contains and/or
Next-Move-Theory-Canon/. That is where the canon + skills must be refreshed. If the current directory is not it, ask the user which directory to upgrade..claude/skills/ - Run the installer from that directory:
(Windows / PowerShell:bash
curl -fsSL https://nextmovetheory.com/install.sh | bash.)irm https://nextmovetheory.com/install.ps1 | iex - Report what changed. Show the installer's final summary. If the project is
a git repo, run and list which canon files / skill folders were added or modified so the user sees exactly what the upgrade pulled in.
git status --short - Confirm done. Tell the user the upgrade is complete and that any
new/updated skills are available immediately (e.g. ,
/nmt-diagnose). No restart is needed./nmt-chat
- 定位项目根目录——包含和/或
Next-Move-Theory-Canon/的文件夹,这是规范与技能需要更新的位置。若当前目录不是项目根目录,请询问用户要升级哪个目录。.claude/skills/ - 从该目录运行安装程序:
(Windows / PowerShell环境:bash
curl -fsSL https://nextmovetheory.com/install.sh | bash。)irm https://nextmovetheory.com/install.ps1 | iex - 报告变更内容:展示安装程序的最终摘要。如果项目是git仓库,运行并列出新增或修改的规范文件/技能文件夹,让用户清楚看到升级带来的具体变化。
git status --short - 确认完成:告知用户升级已完成,所有新增/更新的技能可立即使用(例如、
/nmt-diagnose),无需重启。/nmt-chat
Notes
注意事项
- Best-effort. The installer needs and
curl. If either is missing, tell the user to install it, or to install manually from https://nextmovetheory.com.git - Non-destructive. Your own /
CLAUDE.mdcontent outside the marked rules block is preserved; unrelated skills are left alone.AGENTS.md - Source of truth. What gets installed is always the current of the public repo — the installer clones it fresh on every run, so there is no stale cache for the canon or skills.
main
- 尽力而为:安装程序需要和
curl。若两者任一缺失,请告知用户安装对应工具,或从https://nextmovetheory.com手动安装。git - 非破坏性:/
CLAUDE.md中标记规则块之外的个人内容会被保留;无关技能不会被改动。AGENTS.md - 唯一可信源:安装的内容始终是公开仓库当前的分支——安装程序每次运行都会重新克隆仓库,因此规范和技能不会存在缓存过期的问题。
main