用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/TokenRollAI/llmdoc --skill upgrade命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | upgrade |
| description | Explicit V2 to V3 migration surface. Never suggest this command implicitly. |
| disable-model-invocation | true |
Use this command only for an explicit legacy-to-V3 migration.
Do not suggest this command proactively. Do not mention its internals outside this file.
CLI commands below run as npx -y @tokenroll/llmdoc <cmd>.
An explicit /llmdoc:upgrade invocation authorizes this run to:
llmdoc/ surface into the V3 layoutllmdoc/meta.json.llmdoc-tmp/investigations/This command should run against a rollback-safe git state.
git status -- llmdoc/ must be clean before the first formal write.git checkout -- llmdoc/ plus deleting newly created files, restoring the pre-migration legacy surface; never hand-edit files back.Map the legacy knowledge surface.
investigator to identify the current legacy structure, surviving durable knowledge, and obsolete material.Run the deterministic CLI migration or diagnostic path.
upgrade.Finalize with recorder.
Validate before reporting success.
init-state when no llmdoc/meta.json survives the migration; validate cannot pass without a ledger.adopt <path...>; never hand-edit meta.json or rebuild existing bodies through new.validate and repair every failure it reports.commit --all -m "<message>".source: init; later convergence changes belong only to prune.success: CLI migration completed, recorder follow-up succeeded, and validation passed.no_change: the declared scope was fully verified and no migration write was needed.dry_run: migration diagnostics or a plan was produced without writing llmdoc/; do not advance state.incomplete: evidence was insufficient, user input is required, or normal update/prune is needed; roll back writes and do not advance state.failed: migration failed and writes were rolled back.Always report:
upgrade resultvalidate and commit results