doc-initlisted
Install: claude install-skill x0c/agent-doc-skills
# Documentation system init (doc-init)
This skill runs in two phases: **repair the global standard first, then initialize the project's docs**. Both phases can write files. For an explicitly read-only audit, inspect and report proposed repairs without running the injector or writing project artifacts; do not claim installation or initialization completed.
Apply the installed `Project Documentation Management` lifecycle contract. This skill owns initialization procedures; environment instructions own language, permissions and shared-document locations.
`<DOC_INIT_DIR>` = directory containing this `SKILL.md` (resolve dynamically; do not hard-code absolute paths).
**Literal detection keys:** a few strings written into a project's root `AGENTS.md` are parsed by the scripts in this skill (and protected by `doc-compact`): the section headings `## 领域地图(doc-init)` (domain map), `## 待补充知识库(doc-init backlog)` (pending knowledge bases), `## 文档导航` (documentation navigation), the `覆盖度复核基线` (coverage-review baseline) stamp, and that map table's two column titles. Reproduce them **verbatim**, including full-width parentheses, whatever language the project's docs are written in—translating them silently breaks the coverage gate and the lint checks. Everything else (domain names, anchors, content summaries, body text) follows the project's documentation language.
---
## Built-in scripts cheat sheet
Prefer built-in scripts for mechanical work; keep model context for business judgment: