WeChat Custom Theme Applier
Paste the following prompt into your AI chat to install this skill:
Please install @user_d8946e26/apply-wenyan-custom-theme according to https://skillhub.cn/install/skillhub.md.
About this skill
Problem Solved
Publishing WeChat articles often requires custom CSS to normalize headings, code blocks, quotes, and lists. Manually applying local CSS, checking layout, and pushing a draft can introduce selector mistakes, path errors, or credential problems. This skill turns that workflow into a repeatable Agent process.
How It Works
- Render test: before publishing, use
wenyan-clito simulate rendering for.mdand.css, then verify file paths and CSS syntax. - Publish to draft: after the test passes, push the article with the selected theme to the WeChat official account draft box; options such as
--no-mac-styleor-hcan adjust code blocks and highlighting. - Register theme: if the theme will be reused, register it in the
wenyan-clitheme library, then reference it later with-tinstead of repeating file paths.
Scope And Notes
The skill depends on WECHAT_APP_ID and WECHAT_APP_SECRET, and assumes local Markdown and CSS files exist. It targets WeChat draft publishing, not general web layout. If styles do not apply, check whether CSS selectors are missing the #wenyan prefix. It fits teams already using wenyan-cli and wants fewer manual WeChat layout checks.
Use Cases
- Before writing a technical WeChat article, apply a shared CSS file to Markdown and validate the layout locally
- When code highlighting looks wrong before publishing, repush the draft with a specified highlight theme
- After the team stabilizes a layout, register the verified CSS as a wenyan-cli theme for later reuse
- When ENOENT or invalid credential errors appear, diagnose failed publishing by checking file paths and WeChat credentials
Best For
- WeChat content editors who reuse the same CSS theme and want fewer manual style checks
- Engineers publishing Markdown with wenyan-cli who want to register themes and publish them quickly with -t
- Teams building content-production Agents who want a standard SOP for render testing, draft publishing, and theme registration
- Technical writers syncing blogs and WeChat posts who want stable code-block and highlight styling
Related Skills
Rewrite self-introductions by scenario, audience, and duration, with memory hooks, structure feedback, and speakable practice versions.
Turn Markdown or plain text into styles for Xiaohongshu, WeChat Official Accounts, Zhihu, Weibo, Douyin, Bilibili, and Toutiao.
A multi-platform writing workflow for WeChat that emphasizes information gain, scannability, SEO/GEO, and localization to produce verifiable, high-signal blog posts.
Search YiQiXiu electronic album templates for brochures, product manuals, magazines, mobile albums, portfolios, and meeting materials, returning preview links and page views.