Skip to content
alchaincyf avatar

Huashu Wechat Image

Chinese-language skill for generating WeChat Official Account article images, via AI generation or HTML rendering.

CCM score
59 of 100
skills.sh installs
749
GitHub stars
2.4K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers cover images (2.35:1), body illustrations (16:9 or 4:3), and infographics, with a workflow that proposes design directions before generating
  • Offers two paths: AI generation for visual creativity and HTML rendered with Playwright for exact text and data tables
  • Includes style recommendations by article type, prompt templates, cover safe-zone and dark-mode guidance, and image hosting upload
  • Runs generate_image.py for Gemini image generation and upload_image.py to return permanent ImgBB links for article publishing

Install

$ npx -y skills add alchaincyf/huashu-skills --skill huashu-wechat-image -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

公众号配图工作流

⚠️ 核心原则:先提案,后生成

绝对不能跳过设计提案直接出图。 正确流程:

理解内容 → 设计提案(2-3个方向)→ 用户选择 → 生成 → 预览确认 → 上传

设计审美画像和提案格式见姊妹skill xhs-image/SKILL.md,公众号配图同样适用。

核心参数

图片类型尺寸比例Playwright viewportAI Prompt 长宽比声明
头条封面1800 x 766 px2.35:1--viewport-size=1800,7662.35:1 ultra-wide landscape, 1800x766 pixels
正文宽图1920 x 1080 px16:9--viewport-size=1920,108016:9 landscape, 1920x1080 pixels
正文方图1440 x 1080 px4:3--viewport-size=1440,10804:3 landscape, 1440x1080 pixels
信息图1080 x 自由自由--viewport-size=1080,N按内容定

Step 0: 确定配图需求 ✅ 用户确认

向用户展示选项,等待确认:

类型说明图片数量推荐路径
A. 仅封面头条封面图1张AI 生成
B. 正文配图章节配图,辅助阅读理解3-8张AI 生成为主
C. 全套配图封面 + 正文全部4-10张AI 生成为主
D. 纯信息图数据对比、流程图、清单1-5张AI 生成(精确数据表格用HTML兜底)

问用户:

  1. 做封面、正文插图、还是全套?
  2. 文章路径/内容是什么?(分析内容确定配图位置)
  3. 总共需要几张图?

配图数量建议

Details

Repository
github.com/alchaincyf/huashu-skills
Categories
AI Image, Video & Voice, Social Media
First seen
Jun 3, 2026

Questions

What does the huashu-wechat-image skill do?

huashu-wechat-image generates high-quality illustrations for WeChat Official Account articles, including 2.35:1 cover images, 16:9 and 4:3 body illustrations, and infographics. It offers two paths: AI generation for visually creative images and HTML rendering for exact text.

How do I install huashu-wechat-image?

Run npx -y skills add alchaincyf/huashu-skills --skill huashu-wechat-image -y in a project to install it. Once installed, huashu-wechat-image guides the agent through the workflow of proposing designs, generating images and previewing them before upload.

What does huashu-wechat-image need to run the AI generation path?

huashu-wechat-image uses a GEMINI_API_KEY read from ~/.claude/.env for its AI generation path, and it runs its generate_image.py script with uv. The HTML rendering path needs only local tools such as Playwright, with no API cost.

Which skills lead huashu-wechat-image in the AI Image, Video & Voice category?

In the AI Image, Video & Voice category, huashu-wechat-image is listed alongside ai-video-generation, ai-image-generation, ai-avatar-video, media-use and kling-3-0. Its focus on WeChat cover and article image sizes sets it apart from those general-purpose tools.

More from alchaincyf/huashu-skills

All 21

Similar to Huashu Wechat Image

More AI Image, Video & Voice