DOCX To Knowledge

Converts .docx documents (manuals, textbooks, reference books) into self-contained, searchable, mobile-friendly HTML knowledge bases with embedded images, chapter navigation, and full-text search. Triggers when: User provides a .docx file and requests a knowledge base, searchable HTML, mobile-friendly reader, or GangDan-compatible JSON. Commands: - /知识库 <docx路径> [输出目录] - Full pipeline: extract → clean → generate HTML + JSON + images - /知识库 extract <docx路径> - Extract text + images from docx, save to structured JSON - /知识库 clean <json路径> - Clean and polish the extracted JSON (spacing, headers, captions) - /知识库 generate <json路径> - Generate standalone HTML with search + nav + embedded images - /知识库 verify <html路径> - Run automated quality checks (images, spacing, search function) Capabilities: docx text+image+table extraction, CJK spacing normalization, stray header removal, image caption grouping, English diagram label separation, data-URI embedding for single-file output, full-text search with result excerpts, m

cycleuser 76375fe 5 files · 28.2 KB Updated

File contents

cycleuser/skills/tree/main/skills/docx-to-knowledge commit 76375fee49

Frequently asked questions

npx skillmds@latest add cycleuser/docx-to-knowledge