用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/TokenRollAI/llmdoc --skill update命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Explicit V3 bootstrap for repositories that do not already have valid llmdoc knowledge.
Default V3 operating skill for llmdoc-enabled projects. Route discovery — exploring the codebase, locating a concept or contract, judging the blast radius of a change — through the llmdoc CLI instead of broad file crawling.
Explicit V3 convergence pass that removes duplicated, fragmented, or low-value reconstructable llmdoc content.
正在显示 SKILL.md
| name | update |
| description | Explicit V3 semantic verification and sync of existing llmdoc knowledge against the current repository. |
| argument-hint | [summary] [--scope <topic|path...>] [--reflection [<candidate...>]] |
Use this command when repository changes require tracked llmdoc/ knowledge to be verified or synchronized.
Load the llmdoc skill before broad exploration. CLI commands below run as npx -y @tokenroll/llmdoc <cmd>.
An explicit /llmdoc:update invocation authorizes this run to:
llmdoc/ documents and llmdoc/meta.json.llmdoc-tmp/investigations/.llmdoc-tmp/reflections/This command does not authorize source-code edits.
git status -- llmdoc/ must be clean before the first formal write.git checkout -- llmdoc/ (plus deleting any newly created files under llmdoc/); never hand-edit files back.validate fails after writes and cannot be repaired in-run, roll back the doc write-set before reporting failure.Measure the current doc state.
status.delta with any explicit scope flags.--reflection candidate. When the flag has no paths, read all Markdown candidates directly under .llmdoc-tmp/reflections/pending/. A pending candidate is an update signal even when code delta is empty.Gate reflection candidates before promotion.
search and targeted show to find an existing owner before creating a document.Choose the lightest sufficient path from delta plus any qualified candidates.
Decide the semantic outcome with recorder.
delta and candidates as review evidence, not a write list or prose to copy.recorder decides from targeted CLI reads. Deep: investigator reports evidence, then recorder applies the gate.new; register docs that already exist as files with adopt <path...> — never hand-edit meta.json or recreate the file through new.Finalize.
validate; after mapping or boundary changes, also run the reference's scoped routing acceptance.commit -m "<message>", adding --verified <path...> for reviewed unchanged docs. If all stayed unchanged, run commit --verified <path...>. Full verification uses --all, never with --verified.commit validates, commits prose, refreshes fingerprints, and lands meta.json separately. Never reconstruct this sequence manually or --amend it.commit fail closed; commit or clean that source, then retry.N commits behind HEAD, metadata-only; knowledge clean reflects the meta follow-up commit, not staleness.Fold durable lessons into stable docs directly.
success, resolve consumed candidates. On no_change, resolve only already-covered or rejected candidates. Leave them pending after incomplete or failed.success: the declared scope was semantically verified, any necessary prose changes were committed, and applicable revisions advanced.no_change: the declared scope was already current, so neither prose nor revision state needed to change.dry_run: the user asked for a dry run, or only status/delta/investigation/planning output was produced without writing llmdoc/; do not advance state.incomplete: evidence was insufficient, user input is required, or the scope belongs to a different explicit maintenance workflow; roll back writes and do not advance state.failed: update failed and doc writes were rolled back.Always report:
light or deep) and whystatus and delta signals usedpromoted, already_covered, dismissed, or pending)recordercommit result — validate gate, fingerprint refresh, and the meta follow-up commit — or why finalization was skipped