wechat-gzh-skill

Convert Markdown documents to WeChat-compatible HTML and publish drafts via the WeChat MP API.

8|3|Updated Apr 18, 2026
One-click install
npx skills add https://github.com/KunCheng-He/kk-ai --skill wechat-gzh-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wechat-gzh-skill
Source: https://github.com/KunCheng-He/kk-ai/tree/main/skills/shared/wechat-gzh-skill
Command: npx skills add https://github.com/KunCheng-He/kk-ai --skill wechat-gzh-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, markdown, beautifulsoup4, pyyaml, premailer, and includes scripts (resource) components.

What problem does it solve?

This Skill solves the friction of formatting Markdown documents for WeChat Official Accounts, which often break standard HTML/CSS, and automates the tedious process of uploading images and creating drafts.

Core Features & Use Cases

  • Markdown to WeChat HTML: Converts Markdown into WeChat-compatible HTML using premailer for inline styling, ensuring consistent layout across devices.
  • Automated Publishing: Handles image uploads to WeChat CDN, cover image management, and draft creation via API.
  • Theme Support: Includes multiple professional themes (e.g., elegant-gold, xiumi-style) for diverse content needs like tutorials, notes, or sharing.

Quick Start

Use the wechat-gzh-skill to convert and publish the article named 'my-tech-blog.md' to the WeChat draft box using the spring-fresh theme.

Frequently Asked Questions about wechat-gzh-skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert Markdown to WeChat Official Account HTML without breaking formatting?

Converting Markdown to WeChat-compatible HTML requires inlining CSS styles, which this Skill automates using premailer to ensure consistent layout across mobile and desktop devices.

How to automate publishing Markdown articles to WeChat Official Accounts?

Automating WeChat publishing involves converting Markdown to HTML, uploading images to the WeChat CDN, and creating drafts via the WeChat MP API, a process fully handled by this automation Skill.

Can I use YAML frontmatter to manage WeChat article metadata and themes?

Yes, YAML frontmatter can be used to extract article metadata and apply professional themes like elegant-gold or xiumi-style for diverse content needs during the Markdown to WeChat conversion.

Does WeChat Official Account API support automatic image CDN uploading for drafts?

Yes, the WeChat MP API supports image material handling, allowing automated uploads to the WeChat CDN for cover image management and seamless draft creation directly from your Markdown documents.

Why does my Markdown formatting break when publishing to WeChat Official Accounts?

WeChat Official Accounts often break standard HTML/CSS because they require inline styling, a constraint solved by using premailer to inline CSS during the Markdown conversion process.