Convert Markdown to WeChat Official Account HTML. Use this whenever the user wants WeChat article formatting, article preview, WeChat draft upload, image generation for articles, cover or infographic generation, image-post creation, writer-style drafting, AI trace removal, or current discovery of supported providers, themes, prompts, and layout modules.
The md2wechat skill provides a comprehensive solution for converting Markdown documents into WeChat Official Account-formatted HTML. It addresses the challenge of adapting standard Markdown content to meet WeChat's specific styling and formatting requirements, enabling content creators to publish professional articles without manual HTML adjustments. The skill acts as an intelligent routing layer that selects the appropriate conversion strategy based on the user's intent, whether they need standard article formatting, image-based posts, or specialized content generation.
This skill offers multiple conversion modes including API-based conversion for production workflows and AI-assisted conversion for enhanced formatting. It supports theme customization, layout module integration, and metadata inspection to ensure articles meet WeChat platform requirements. Beyond basic conversion, the skill provides specialized commands for creating image posts, generating article covers and infographics, preview functionality for local testing, and content humanization to remove AI-generated text markers. The tool maintains a discovery-first approach, querying the CLI for available providers, themes, prompts, and layout options rather than relying on cached or assumed configurations.
Target users include WeChat Official Account operators, content marketing teams, technical writers publishing to Chinese platforms, and automated publishing workflows requiring programmatic article generation. The skill is particularly valuable for users managing multi-format content pipelines who need to transform existing Markdown documentation into WeChat-compatible HTML while preserving formatting quality and maintaining consistent branding through theme application.
The credential requirements depend on the operation: API-based conversion requires md2wechat API credentials, WeChat draft creation requires WeChat Official Account credentials, and image generation requires provider-specific credentials. You can check your local configuration readiness using the `md2wechat doctor --json` command.
The `convert` command is designed for standard article HTML generation and WeChat draft uploads, supporting text-heavy content with optional media. The `create_image_post` command is specialized for image-first content formats like image notes, multi-image posts, or newspic-style articles. These are different publish targets and should not be used interchangeably.
Run `md2wechat themes list --json` to see available themes and `md2wechat layout list --json` for layout modules. For detailed information about a specific theme or layout, use `md2wechat themes show <name> --json` or `md2wechat layout show <name> --json`. The CLI discovery commands provide the current source of truth for available options.
Yes, use the `preview` command to test your article locally before uploading. This allows you to verify formatting, styling, and layout without requiring WeChat credentials or creating actual drafts.
The `humanize` command processes AI-generated content to remove detectable AI writing patterns and traces, making the output appear more natural and human-written. This is useful for content that needs to pass as human-authored or avoid AI detection tools.
Quick Setup:
.claude/skills/Repository
geekjourneyx/md2wechat-skill