用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/TokenRollAI/llmdoc --skill init命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 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 | init |
| description | Explicit V3 bootstrap for repositories that do not already have valid llmdoc knowledge. |
Use this command only when the repository does not already have valid V3 llmdoc/.
Load the llmdoc skill before broad exploration. CLI commands below run as npx -y @tokenroll/llmdoc <cmd>.
An explicit /llmdoc:init invocation authorizes this run to:
llmdoc/, .llmdoc-tmp/, and llmdoc/meta.jsonrecorder.llmdoc-tmp/investigations/Stop instead of improvising when:
llmdoc/ already exists: tell the user to run /llmdoc:updategit status -- llmdoc/ must be clean before the first formal write.llmdoc/ surface (it did not exist before this run); never leave a half-bootstrapped tree behind.validate fails after writes, revert the init write-set before reporting failure.Inventory the repository surface.
investigator subagents for complementary evidence scopes when the repository is large enough to benefit; keep their write ownership in .llmdoc-tmp/.recorder.Build the first V3 knowledge surface with recorder.
llmdoc/ and validity state in llmdoc/meta.json.index.mdx entry node.Validate before reporting success.
init-state (writes meta.json with null revisions), then run validate and fix all schema, routing, and reference failures.validate as structural only. After it passes, run the reference's Context Floor acceptance: natural-query searches, per-boundary context --files probes, broad-glob precision probes, and tree --docs plus index/context relation review.init-state already seeded the ledger get their entries via adopt <path...>; never hand-edit meta.json or recreate existing files through new.commit --all -m "docs: bootstrap llmdoc" — it commits the surface, brands fingerprints, and lands the meta follow-up commit in one step.source: init; failed, incomplete, and dry-run paths never change it.success: V3 surface created, validated, and baseline initialized.no_change: the declared scope was fully checked and no write was needed.dry_run: investigation or planning completed without writing llmdoc/; do not advance state.incomplete: init was refused (valid V3 already exists, legacy migration is required) or evidence/user input was insufficient; roll back writes and do not advance state.failed: bootstrap failed and writes were rolled back.Always report:
validate and commit resultsincomplete, not success