/llmdoc:update [summary] [--scope <topic|path...>] [--reflection [<candidate...>]]from llmdoc
Verifies and synchronizes existing llmdoc knowledge against current repository state. Use when repository changes require tracked documentation to be updated.
Ships in llmdoc. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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.
mv syncs local renames; sync manual merges/deletions before validation. External @source/ docs are read-only.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; clean source or switch to a branch first.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 skippedWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub tokenrollai/llmdoc --plugin llmdoc6 skills in this plugin
/dreamExplicit V3 offline consolidation pass (Harness cron friendly) that audits frequently accessed stale docs without git diff, clusters cross-session reflections into single owners, repairs search blind spots, trims startup preload bloat, and runs routing eval./initExplicit V3 bootstrap for repositories that do not already have valid llmdoc knowledge./llmdocDefault V3 operating skill for llmdoc-enabled projects. Route discovery — exploring code, locating contracts, judging blast radius, configuring llmdoc.config.json (preload, budget, reminders, external @source/ mounts), running llmdoc eval probes, or offline /llmdoc:dream consolidation — through the llmdoc CLI instead of broad file crawling.Other plugins' skills for the same job