← ClaudeAtlas

cmm-typesettinglisted

Use this CMM skill to typeset finished article drafts into WeChat-compatible publish HTML and to maintain optional deterministic XHS card layouts. WeChat long-form uses blocks.yaml + render_wechat.py plus CJK punctuation preflight and must launch the live theme-and-component review workbench after typesetting. The default CMM Xiaohongshu visual route generates complete cards through the image model; render_card.py is used only when the user explicitly requests character-exact, editable, or HTML-rendered cards. This skill does not write content or publish.
chemny/cmm-content-factory · ★ 2 · AI & Automation · score 76
Install: claude install-skill chemny/cmm-content-factory
# CMM Typesetting `cmm-typesetting` is primarily the typesetting station of the WeChat long-form production line. It consumes a finished draft (`content_package` body + `illustration_map` assets) plus `style_selection.layout`, and produces WeChat-ready HTML. Its deterministic XHS card renderer is an explicit alternate route, not the default visual-family generation path. ## Cross-Platform Runtime On Windows resolve Python as `py -3` then `python`; on macOS/Linux resolve `python3` then `python`. Treat `python3` in examples as the resolved launcher. The screenshot path discovers Chrome or Edge from Windows install locations and uses `Path.as_uri()` for local HTML; never construct `file://` URLs manually. ## Boundary Use this skill for: - Mapping a finished article into a semantic block sequence (`blocks.yaml`). - Rendering publish.html / preview.html with a theme + components. - Running layout checks (paragraph length, visual breaks, component density, WeChat-risk styles). - Rendering deterministic XHS cards only when the task explicitly chooses the exact/editable/HTML card route. Do not use this skill to: - Write or edit article content (cmm-content-writing). - Plan or generate images (cmm-visual-production / cmm-image-creator). - Publish or create platform drafts (cmm-publishing). ## Workflow 1. Inputs: draft markdown (with `[插图]` placeholders resolved against `illustration_map`), theme id from `style_selection.layout`, and optional Creator Profile CTA pol