WeChat Official Account Operations Assistant
Paste the following prompt into your AI chat to install this skill:
Follow https://skillhub.cn/install/skillhub.md to install @user_1002ca6a/wechat-viral-operator.
About this skill
Problem
WeChat official account content often fails at engineering details: normal HTML loses styles after import, Chinese text syncs as \uXXXX, titles and digests exceed limits, cover images and article body are not synchronized, and scheduled publishing lacks a stable pipeline. This skill behaves more like an automation workflow for WeChat content production than a simple writing prompt tool.
How It Works
- Planning and writing: generates a Markdown topic list and a humanized article draft, reducing mechanical phrasing.
- Layout generation: uses
scripts/generate_html.pyto produce WeChat-compatible HTML with inline styles, table-based layout, solid#RRGGBBcolors, and constraints againstrgba,linear-gradient,box-shadow, and CSS classes. - Preview confirmation: starts a local preview with
scripts/preview_server.pyso the layout can be reviewed before syncing. - Draft sync: uses
scripts/sync_to_wechat.pyto call WeChat official account APIs, upload the cover image, obtainthumb_media_id, and write the article to the draft box; title and digest lengths are validated and trimmed. - Encoding and cleanup: applies
ensure_ascii=False, UTF-8 request bodies, and character whitelist cleaning to avoid garbled Chinese and zero-width character pollution.
Boundaries
This is useful for engineers or content teams that need reliable WeChat article output. It is not suited for complex modern CSS layouts because the WeChat renderer remains restrictive. When using AppID, AppSecret, publishing authorization, or scheduled publishing, clarify permission boundaries and credential handling first.
Use Cases
- Generate topics, article body, and previewable WeChat-compatible HTML for a weekly tech product column
- Convert a long Markdown article into inline-style, table-based HTML that can be imported into WeChat
- Validate title and digest length, fix garbled Chinese and zero-width characters, then generate the cover image
- Upload the cover image with AppID and AppSecret, then write the article into the official account draft box
Best For
- Engineers responsible for WeChat articles: need stable WeChat-compatible HTML, cover images, preview, and draft sync
- Content operators: need to turn topic planning, humanized writing, and publishing assets into importable HTML and covers
- Indie developers: need local scripts for UTF-8 handling, character cleanup, and WeChat API synchronization
- Technical editors: need to avoid missing styles, garbled text, and over-long titles or digests during sync
Related Skills
Creates 10,000-30,000-word Tomato Novel short stories with trend research, topic selection, outlines, segmented writing, pacing control, and UTF-8 txt export.
An AI editorial master skill that manages the full content creation process from vague ideas to publishable drafts, covering topic selection, writing, review, and publication adaptation.
An AI skill that generates original lyrics and synthesizes a custom song based on user-provided stories, occasions, and details.
Generates trending product copy for cross-border e-commerce platforms like Amazon and Shopee with SEO keyword optimization and multi-language support.