SkillsReviewed · YiShu5

WeChat Formatter

WeChat Formatter is an assistant skill for WeChat Official Account authors converting Markdown into styled HTML, but its simple converter supports fewer features and themes than the instructions suggest. It bundles a local Python script that applies inline styles; article writing, image uploads and publishing require separate tools.

Researched 16 Nov 2026

In short.

WeChat Formatter is an assistant skill for WeChat Official Account authors converting Markdown into styled HTML, but its documentation promises more than the supplied converter implements. The script uses its own parser and five themes, while the guide lists eight themes and describes a doocs/md integration absent from the code. Generated elements use inline styles, but raw HTML is not sanitized and local image paths remain unchanged. Actual conversion results and WeChat rendering are unverified.

Researched and written by an AI model and checked by a second AI model. How it works

Covers the complete supplied skills/wechat-formatter folder: SKILL.md, scripts/config.py and scripts/markdown_to_wechat_doocs.py, with the repository-level LICENSE as the related notice. Other skills, upstream doocs/md, actual configuration values, optional footer content, article assets and external services are outside the supplied evidence. No code was executed. Conversion results, WeChat rendering, performance and publication outcomes remain unverified.

The overview

Identity

WeChat Formatter is the skills/wechat-formatter folder in YiShu5/claude-skills [https://github.com/YiShu5/claude-skills/tree/master/skills/wechat-formatter]. Its assistant instructions are in SKILL.md, alongside a Python converter and configuration helper.

The assistant-facing instructions describe when to format an article and how to invoke the converter. The conversion itself is deterministic Python processing, with no model call in the supplied script.

Assessment

Its clearest fit is a short article using basic Markdown, followed by a manual preview in WeChat. The converter makes its formatting choices visible in a small script, but reliable preservation of appearance in the actual editor is not established.

The guide says the skill directly calls doocs/md. The supplied implementation instead uses its own line parser and regular expressions, with no doocs/md invocation. The command-line theme choices are default, green, purple, orange and cyan; the guide also advertises blue, black, red and pink, which the argument parser does not accept.

Who it suits

The intended users are WeChat Official Account authors and assistants preparing existing articles for the editor. Beginners need enough command-line familiarity to supply input and output paths; developers can inspect or adapt the converter.

The instructions and custom command help are written in Chinese. Authors needing article generation, cover creation, image hosting or publication would need additional tools, which this folder does not implement.

Capabilities

The converter includes handling for heading levels one through four, paragraphs, horizontal rules, basic ordered and unordered lists, blockquotes, fenced code blocks and images beginning a line. Inline replacements cover bold, italic, code and links.

Five built-in palettes control colors, borders and backgrounds. Image alternative text is also used as a visible caption. Lists are rewritten as styled paragraphs containing numbers or bullet characters, and the result is wrapped in a styled section.

Using it

Requirements

The supplied command requires Python 3, a readable UTF-8 Markdown file and a writable output location. Its imports use only the Python standard library; the minimum Python version and supported operating systems are not specified. Output parent directories must already exist because the script does not create them.

The converter does not require WeChat credentials or an AI API key. The separate configuration helper can read those values, but the converter does not import it. A WeChat editor preview is needed to establish whether the output meets an author's formatting needs.

How it works

The script reads the article, optionally appends a nonempty footer.md from the skill directory, and processes the text one line at a time. It recognizes a limited set of Markdown patterns and inserts HTML with style attributes.

A final pass replaces list containers with paragraphs and adjusts spacing around code blocks and sections. Code-block newlines become HTML line breaks. No external rendering engine, network request or image upload appears in this conversion path.

Setup

Keep the supplied folder structure and choose one of the five themes accepted by the script. The command requires explicit input and output paths. Installation into a particular assistant application is not documented in the supplied folder.

SKILL.md describes choosing a theme from article tone and respecting MARKDOWN_THEME in .env. The helper reads that file and contains a keyword-based selector, but the converter calls neither. For direct command-line use, pass --theme explicitly; otherwise the script uses default. No .env or footer.md is included in the captured folder.

Example

For a technical article saved as drafts/article.md, an illustrative command from the skill directory is: python3 scripts/markdown_to_wechat_doocs.py --input drafts/article.md --output drafts/article.html --theme cyan

The code is designed to write themed HTML to drafts/article.html. Review the result in WeChat, particularly code spacing, lists and images. Local image paths would still need replacement with suitable hosted URLs. This command was not executed, and no resulting HTML or editor preview is available.

Assessment & evidence

Limitations

This is a limited Markdown implementation. Tables and nested lists have no dedicated parsing support, ordered lists are renumbered from one, and ordinary source lines become separate paragraphs. Lists and blockquotes close on blank lines or at the end, so adjacent block types can produce unintended nesting. An unclosed fenced code block is not emitted.

Raw HTML, link destinations and image attributes are not sanitized. Although generated templates use inline styles, input HTML can retain style tags or classes, so the guide's output requirements are not enforced. Code-block styles do not preserve whitespace explicitly, and escaping omits ampersands; code display therefore needs careful inspection.

Local image paths are copied into image sources without uploading or validation. The formatter also provides no publication function. Actual WeChat compatibility, accessibility, performance and formatting fidelity are unverified.

Why these findings matter

Inline styles place formatting directly on HTML elements. That design addresses the editor restrictions described in SKILL.md, but it does not establish that WeChat will preserve every generated element or style.

The practical tradeoff is a small, inspectable converter with limited syntax coverage. Theme and configuration differences matter immediately: an assistant following the guide could choose an unsupported theme, while a direct command would not automatically apply the documented .env preference.

Related options

The guide names doocs/md as its reference project. That makes doocs/md a relevant option to investigate for broader Markdown formatting, but its implementation, current features and costs are not supplied, so a direct comparison is not established.

The instructions also name wechat-writer for drafting and wechat-publisher for image uploads, covers and publishing. These address adjacent tasks rather than replacing formatting alone. Their source code and behavior are outside the supplied evidence.

Evidence

The available source consists of SKILL.md, scripts/config.py and scripts/markdown_to_wechat_doocs.py, plus the repository-level LICENSE. The instructions are available at their captured revision [https://raw.githubusercontent.com/YiShu5/claude-skills/87caa778a9f6fe3811ee5af6d6a60a95dc334cf9/skills/wechat-formatter/SKILL.md].

The code establishes the implemented parsing rules, theme choices and file operations. Statements that styling will survive pasting into WeChat remain documentation claims: no execution results, generated examples or WeChat rendering evidence are supplied.

Access & freshness

Costs

No purchase price or measured operating cost is supplied. The converter contains no model or paid-API calls and performs its work through local Python processing.

Any assistant subscription, execution-environment costs, WeChat charges or separate image-generation and publishing charges are unknown. The presence of WeChat and Doubao credential helpers does not establish that this converter uses those services.

Rights

The supplied repository-level MIT License names YiShu5 as the 2026 copyright holder. It permits use, copying, modification, distribution, sublicensing and sale of the software and associated documentation, provided the copyright and permission notice accompany copies or substantial portions.

The licence disclaims warranties and liability. It does not establish rights to article text or images supplied by users.

Source version

The supplied snapshot identifies commit 87caa778a9f6fe3811ee5af6d6a60a95dc334cf9 and capture time 2026-11-16T18:05:48.768Z. Findings apply to those captured files; the master-branch address can change.

No release number, commit date or compatibility matrix is supplied. Later source changes and compatibility with current WeChat editor or assistant versions are unknown.

Before using it

Choose an explicitly supported theme and preview a representative article in WeChat before publication. Check code indentation, transitions between lists and other blocks, image URLs and any unsupported Markdown. Inspect whether an optional footer was appended.

For untrusted Markdown, add appropriate HTML and URL sanitization before using the output. Keep config.py diagnostic output private: its direct-execution block prints the configured AppID and prefixes of the AppSecret and Doubao API key. No credential values are supplied in the evidence.

Evidence for this report

LICENSEnotice · checked 2026-11-16
skills/wechat-formatter/SKILL.mdselected · checked 2026-11-16
skills/wechat-formatter/scripts/config.pyselected · checked 2026-11-16