Chinese DOCX Typesetting Baseline
БесплатноБез исполняемых скриптовНе проверенLocked design-token baseline for Chinese Word/DOCX documents and WeChat-native (公众号) article layouts: body 16px, section head 18px, title 23px, deep-blue…
от haiyangchenbj1 063 установки в других каталогахОб этом скилле
Chinese DOCX Typesetting Baseline
Purpose: one locked baseline instead of per-task improvisation. Every Chinese DOCX produced from HTML follows the same token set, so successive documents look consistent and conversion failures have a known recovery path.
Design Tokens (locked)
| Element | Token |
|---|---|
| Title (H1) | 23px, deep blue #1a3a5c, bold |
| Section head (H2) | 18px, deep blue #1a3a5c, bold |
| Body | 16px, dark gray/black |
| Heading color | #1a3a5c |
| WeChat-native layout | vertical info bars + plain editorial style; NO HTML tables, cards, backgrounds, popup grids |
Workflow
- [Deterministic] Pick the target style: WeChat-native article (strict no-table/no-card rules) or generic Word document (tables allowed, same font tokens).
- [Deterministic] Apply tokens: set title 23px / section 18px / body 16px, heading color #1a3a5c in the source HTML or converter config before conversion.
- [Deterministic] Convert with the html-to-docx pipeline.
- [Deterministic] Windows failure recovery: if the bundled converter fails on Windows, follow the html-to-docx recovery skill: pre-process the HTML (strip unsupported CSS constructs), retry once; if still failing, rebuild the document programmatically (e.g. python-docx) applying the same tokens paragraph by paragraph.
- [Deterministic] Verify the output: reopen the DOCX; confirm heading sizes 23/18/16 present, heading color #1a3a5c applied, CJK glyphs render correctly (no tofu), text remains editable (no flattened images); also confirm no HTML tables/cards/backgrounds and no converter-default spacing remain.
Hard Rules
- Never flatten text to images; the DOCX must stay fully editable.
- WeChat-native layouts: no HTML tables, cards, background colors, or popup grids — vertical info bars only.
- Baseline changes (sizes, colors) must update this skill first, then the documents. No per-task deviation.
- Headings stay anchored to topic content (who / scene / problem), never filename-style titles.
- Line and paragraph spacing must be declared explicitly in the template; never inherit converter defaults, which differ between WPS and Word and silently produce inconsistent documents.
- Font names in the template must resolve to an installed CJK face on the target machine; an unresolved fallback is reported as a failure, not silently accepted from the converter.
Failure Handling
- Converter crashes on Windows twice: switch to programmatic rebuild (python-docx) with the same tokens; do not debug the converter beyond two attempts.
- Styles lost after conversion: verify the HTML source carries inline styles or a converter-compatible stylesheet before blaming the converter; fix the source, reconvert once.
- CJK font issues: confirm the converter's font-fallback setting includes a Chinese font before changing the baseline.
- Template contains a literal replacement character: stop and repair the source template before converting; do not let the converter substitute a fallback glyph silently.
Output Format
Report: target style chosen → conversion path used (direct / recovery / programmatic) → verification checklist results (sizes, color, CJK glyph rendering, editability, no residual HTML tables/cards/backgrounds or converter-default spacing) → output file path.
Установить Chinese DOCX Typesetting Baseline в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Chinese DOCX Typesetting Baseline?
Locked design-token baseline for Chinese Word/DOCX documents and WeChat-native (公众号) article layouts: body 16px, section head 18px, title 23px, deep-blue #1a3a5c headings, no HTML tables/cards/backgrounds. Use when typesetting a Chinese DOCX or WeChat article, when html-to-docx output loses styles or fails on Windows, or when successive documents must stay visually consistent. Trigger keywords: 中文 docx 排版, Word 中文文档美化, html to docx 样式丢失, 16 18 23 px 基线, 深蓝标题, 公众号排版, 微信文章排版, WeChat article typesetting, 字号基线, font size baseline, Windows html-to-docx 失败, DOCX 样式. Baseline changes must update this skill first.
Как установить скилл Chinese DOCX Typesetting Baseline?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Chinese DOCX Typesetting Baseline запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic