In short.
wechat-layout is an AI assistant skill for writers publishing Markdown articles to WeChat Official Accounts, but its rendering depends on a shared engine outside this folder. The skill declares version 2.3.1 and describes formatted HTML, embedded images, covers and publication notes. Its supplied scripts confirm delegation to the engine; rendering quality, text preservation and WeChat paste behavior remain unverified because nothing was executed.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage includes all five supplied files under skills/wechat-layout and the repository-level LICENSE above that folder, at revision 772d3402655d5223002d48713d9b8af3bc7fda99. It excludes the shared article2media engine, referenced pipeline, styles and verbatim documents, sibling skills and their dependencies. No code was executed. Engine behavior, generated files, text preservation, image transfer, clipboard behavior and final WeChat appearance remain unverified.
The overview
What it is
wechat-layout is an instruction package with Node.js entry points in the threerocks/article2media repository. Its Chinese display name is 公众号排版. The interface metadata supplies an assistant invocation, while SKILL.md defines the publishing procedure.
Original source: [https://github.com/threerocks/article2media/tree/main/skills/wechat-layout]. The supplied source revision is 772d3402655d5223002d48713d9b8af3bc7fda99.
Where it fits
The documented workflow fits writers who already have a finished Markdown article and want consistent WeChat formatting with covers and publishing notes. Delivery uses a browser copy button followed by manual pasting into the WeChat editor.
The main implementation dependency is substantial: both supplied scripts dispatch to the shared article2media engine. These files establish the entry-point behavior, while the rendering and validation implementations are unavailable here. No commands were executed.
Who it serves
The clearest audience is WeChat Official Account writers and editors who work with Markdown, alongside developers configuring assistant skills. The instructions and publishing guidance are in Chinese.
Beginners need help installing the runtime and locating the shared engine. Experienced developers can inspect the small dispatch scripts and configure a custom engine location. Supported assistant hosts and host versions are not established by the supplied files.
Documented outputs
The guide describes article.html with a rich-text copy button, article-body.html containing the body fragment, local image copies, a 2.35:1 header cover, a square cover and wechat.md containing publication details. ledger.json and qa.json are described as the article-block record and checking results.
Inputs are article.md, a translated article.zh.md or an exported rewrite.md. The instructions say content.json must first be exported to Markdown. The description advertises 12 recommended theme palettes; their definitions are outside the supplied files. The instructions name editorial as the default and demonstrate quiet.
Using it
Requirements
SKILL.md specifies Node.js 22 or newer and Chrome. The assistant-driven procedure also needs a host capable of loading the instructions and invoking the Node scripts.
By default, the scripts expect the engine at skills/article2media/engine alongside skills/wechat-layout. ARTICLE2MEDIA_ENGINE can select another engine directory. Each wrapper checks for its required engine entry file and exits with code 2 when that file is absent. The full dependency list and installation procedure for the engine are unknown.
How it works
wechat.mjs inserts --layout wechat into the command arguments, sets A2M_CLI to wechat.mjs and imports the shared render.mjs. doctor.mjs similarly delegates to the engine's doctor.mjs. The supplied scripts contain dispatch logic rather than the formatter itself.
The guide explains that WeChat strips external styling and scripts. The documented output therefore uses inline styles, RGB colours, system fonts and base64 image data. Lists become marked paragraphs, line breaks use br elements and code indentation uses nonbreaking spaces.
Text preservation is described as a comparison of article blocks read back from the output. Added attribution, source notes, the original link and branding are excluded from that body comparison. The comparison implementation is not supplied.
Getting started
Obtain wechat-layout together with the article2media engine so the expected directory relationship is present, or configure ARTICLE2MEDIA_ENGINE. The missing-engine messages in scripts/doctor.mjs and scripts/wechat.mjs say plugin installation places the skills together, but the supplied files contain no plugin installation command.
The documented first step is node <skill-directory>/scripts/doctor.mjs. Next, node <skill-directory>/scripts/wechat.mjs <article.md> --check is described as checking parsing and title length before rendering. Replace <skill-directory> with the installed skill folder. If the host leaves CLAUDE_SKILL_DIR unresolved, the instructions say to substitute that folder's absolute path.
Example use
An illustrative command is node /path/to/skills/wechat-layout/scripts/wechat.mjs /path/to/article.md --theme quiet. The documented output location for this pattern is /path/to/quiet-wechat/, containing the formatted article and accompanying files. These are placeholder paths, and the command was not executed.
The intended next steps are to inspect both covers and the mobile-width article preview, open article.html in a browser, use its copy button and paste into the WeChat editor. The guide recommends sending a WeChat preview to a phone to inspect the final result.
Assessment & evidence
Limits and uncertainties
Rendering, cover generation, image downloading, clipboard transfer and block comparison depend on engine code absent from the supplied scope. There are no generated examples or execution results establishing that these behaviors work as described.
The guide says failed image downloads can leave remote image links requiring attention after pasting. Body links are described as non-clickable, and WeChat dark mode may alter theme colours.
The guide limits titles to 64 characters and publication summaries to 120 characters. Cover titles may need shortening or manual line breaks. Changing the theme of rewrite.md requires re-exporting it because its chart images use the export theme.
Practical trade-offs
The documented design separates content decisions from presentation: translation and rewriting happen before layout, and corrections belong in the source article. This makes it a plausible fit when preserving already-approved wording matters.
The ledger and block comparison are intended to detect text changes, but their documented existence does not demonstrate successful preservation. Because added source notes and branding fall outside that comparison, the complete page still needs visual inspection. The shared engine also means this folder alone is insufficient to reproduce the documented outputs.
Other approaches
For a one-off post, formatting directly in the WeChat editor is a practical alternative that avoids this skill's runtime setup. No comparative evidence establishes which approach is faster or produces better layouts.
For different content needs, the instructions reference article-fetch and video-transcript for acquisition, article-translate for translation, and article-rewrite for a rewritten article. These are upstream options within the documented workflow; their implementations and results are not supplied.
Evidence and its limits
The available material comprises SKILL.md, agents/openai.yaml, references/wechat-guide.md, scripts/doctor.mjs, scripts/wechat.mjs and the repository-level LICENSE. The scripts directly establish engine resolution, dispatch arguments and missing-entry-file checks. The guide and skill instructions describe the intended outputs and publishing procedure.
The shared renderer, environment checker implementation, theme definitions and block-comparison implementation are absent. No runtime logs, generated HTML, cover images or completed WeChat publishing journey are supplied.
Access & freshness
Costs
The MIT licence grants software permissions without charge. The supplied files give no assistant-provider pricing, usage estimates, service charges or total operating cost.
No particular AI model or paid API is specified. Costs associated with the assistant environment, the shared engine's dependencies and operation remain unknown.
Licence and content rights
The repository-level MIT licence names LeiLiu as the 2026 copyright holder. It permits use, copying, modification, distribution, sublicensing and sale, provided the copyright and permission notice accompany copies or substantial portions. The software carries no warranty.
That software licence does not establish permission to republish third-party articles or images. The guide's attribution and original-link features do not establish those content rights.
Version and freshness
SKILL.md declares version 2.3.1. The supplied files were captured on 16 November 2026 at revision 772d3402655d5223002d48713d9b8af3bc7fda99. Revision-specific source: [https://github.com/threerocks/article2media/tree/772d3402655d5223002d48713d9b8af3bc7fda99/skills/wechat-layout].
These facts identify the source snapshot. They do not establish the latest release, subsequent changes or compatibility with the current WeChat editor.
Before relying on it
Obtain the complete runtime dependencies, run the documented environment check and try a representative article containing the elements you publish, such as images, lists, code and tables. Inspect the reported block comparison, both covers and the browser preview.
Paste into WeChat and inspect a phone preview, including images and dark-mode colours. Resolve missing images and revise source content before rendering again. Confirm article and image permissions separately from the software licence. These are recommended verification steps; no results are available here.
