Doc Check Skill — Documentation skill for Claude Code
Document check skill for Claude Code: extract docx content, semantic rules check, HTML report.
How to install Doc Check Skill
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open liyong-len/doc-check-skill and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Doc Check Skill does
Document check skill for Claude Code: extract docx content, semantic rules check, HTML report.
Alternatives in Documentation
- Docx — Create, edit, and analyze Word documents with tracked changes, comments, and formatting 94.1k ★
- Doc Fix — Document a recently solved problem for the knowledge base 209 ★
- Second Brain Mapping — Map your vault: extract structured metadata from every typed file, surface cross-doc insights, optionally buil 35 ★
README
doc-check
对一组投标文档做格式与内容检查,产出**单文件 HTML 报告**。
可安装到本机的智能体(Claude Code、Codex CLI、WorkBuddy、DSH),也可以当作普通脚本手工调用。 需要 Python 3.9 及以上。
它检查什么
检查分两层,来源不同,结论的可信度也不同。
**格式与体例(脚本判定,结果确定)**
抽取文档后由脚本做机械比对,只看文档内部,不引用任何外部依据:
字体一致性、段落格式一致性(对齐/缩进/行距/段间距)、标题层级体例、 图表题注体例、表格体例、列表与编号、引用标记、数字与单位(货币单位、日期格式)、 主体名称(写法一致性)、主体串写(疑似混主体)、术语与缩写。
这一层是确定性的:同样的文档在任何智能体里跑,`consistency.json` 完全一致。
**内容与逻辑(智能体判定)**
智能体读脚本抽好的文本分片,按 `references/content-rules.md` 判断这九类问题:
错别字用词、标点格式、前后矛盾、主体名误用、引用张冠李戴、待补充内容、 数字逻辑、表述不清、术语一致性。
这一层由模型完成,同样的输入可能得到不同的结论。
它不做什么
- 不修改任何原始文档。 全部脚本只读输入文件。
- 不联网,不调用外部大模型 API,不做 OCR。 扫描版 PDF 无法检查,会如实列入「未能检查的文件」。
- 不核实外部事实。 企业名称在现实中是否真实存在、引用的文献是否真实存在、 引用的法规是否现行有效,这三件事工具都无从确认。凡是结论依赖它们的, 一律标注「疑似 · 需人工核实」,不会伪装成确定结论。 「同一主体出现多种名称写法」可以确定判定;「疑似把两家企业写混」不能。
报告末尾会复述这条能力边界。
安装
一行装完
不需要 clone 仓库。macOS / Linux / Windows 上的 Git Bash:
curl -fsSL https://raw.githubusercontent.com/liyong-len/doc-check-skill/main/install/bootstrap.sh | bash
Windows(PowerShell 5.1 或 pwsh 7):
irm https://raw.githubusercontent.com/liyong-len/doc-check-skill/main/install/bootstrap.ps1 | iex
引导脚本做两件事:把仓库下载到 `~/.doc-check/repo`(Windows 是 `%USERPROFILE%\.doc-check\repo`), 然后调用下面的安装器完成安装。**装完别删这个目录**——虚拟环境建在里面, 技能目录的 `python-path.txt` 指向它。
国内网络访问 GitHub 不稳时可能要多跑几次。也可以用 `DOC_CHECK_REPO_URL` 指向自己的镜像。
手动安装
已经 clone 了仓库的话,直接跑安装器:
Windows:
powershell -ExecutionPolicy Bypass -File install/install.ps1
macOS / Linux:
bash install/install.sh
重跑安装器覆盖已安装的副本(等价于直接再跑一次,`--update` 只是把意图写出来):
bash install/install.sh --update
装之前先看一眼
三个选项让「装到哪儿去」这件事变得没有歧义:
# 只打印将写入的目录,一个文件都不写
bash install/install.sh --dry-run
# 改「~ 展开到哪个根目录」,不必改 HOME/USERPROFILE
bash install/install.sh --target-root /tmp/scratch-home
# 看机器上现在是什么状态:家目录根、各智能体目录、有没有残留
bash install/install.sh --status
`--status` 的最后一行是机器可读的结论:`doc-check 安装状态:干净`, 或者 `doc-check 安装状态:残留 N 处`(并列出残留目录的绝对路径)。 检测是全局的(PATH 上的 `claude` 命令与家目录无关),
Related Skills
Claude Session Publisher
Turn a Claude Code session into a self-contained HTML/text/Markdown/LaTeX/PDF document — with a fidelity repor
EstreTools
Small, sharp document tools for Claude Code — md-in-pdf2md (recover Markdown from a PDF printed from Markdown)
Long Doc Processor
长文档处理 Claude Code Skill:讲座/课程/录音/多份 .docx → 净化 → 合并 → 可独立打开的 HTML 讲义。30 条可机检规约 + 531 项测试通过。MIT
Create Doc
Generate a professional Word document (.docx) using Python and python-docx.
Summarize Doc
Summarize a document (PDF, DOCX, or other file) into key points and actionable insights. Use when given a file
Entropy Check.Skill
Scan the codebase for doc drift, dead references, layer violations, and stale features; commit a clean-up and
Related Agents
Turns content into a clean, dense, publication-grade PDF. Use whenever the user wants a PDF made — from a mark
Document Compiler
Собирает финальные клиентские артефакты в форматах docx, pptx, pdf и статичный standalone-html из материалов,
Dev Document
Generation of documents (PDF, DOCX, XLSX, PPTX). Use to create a document, generate a report, export to PDF/Wo