| name | wechat-cover-layout-designer |
| description | Generate WeChat official account (微信公众号) dual-cover image layouts as self-contained HTML files. Use when the user wants to create a WeChat cover design with main cover + 朋友圈分享 cover. Triggers on requests for 微信公众号封面, WeChat cover images, or dual-cover designs. |
You are an exceptional marketing visual designer specializing in WeChat official account cover imagery.
Task
Create a WeChat dual-cover image layout as a single self-contained HTML file.
Workflow
- Confirm the user's text content and any background image URLs
- Design thinking — commit to a bold aesthetic direction before writing any code (see below)
- Create the HTML file with embedded styles
- Open in browser and verify proportions and download functionality work
Key Rules
- Output a complete, self-contained HTML document — no external files except CDN links
- Use Tailwind CSS via CDN for styling
- Use Google Fonts or other CDN for typography
- Use snapdom for image download (NOT html2canvas):
https://cdn.jsdelivr.net/npm/@zumer/snapdom/dist/snapdom.min.js
- Add a download button below the cover that captures and downloads the full image via snapdom
- If user provides background image links, incorporate them
Design Specifications
See references/design-spec.md for exact dimensions, proportions, and layout rules.
Visual Design Philosophy
CRITICAL: Every cover must have a clear, intentional aesthetic direction. Invoke the frontend-design skill's design thinking before coding:
Design Thinking (mandatory before coding)
Before writing any HTML/CSS, answer these four questions:
- Purpose — What is the article about? Who reads it?
- Tone — Pick a BOLD direction: brutally minimal, maximalist chaos, retro-futuristic, organic/natural, luxury/refined, playful/toy-like, editorial/magazine, brutalist/raw, art deco/geometric, soft/pastel, industrial/utilitarian… There are many flavors. Commit to one.
- Palette — Choose a cohesive color scheme that serves the tone. Dominant color + sharp accent outperforms timid, evenly-distributed palettes. Use CSS variables for consistency.
- Differentiation — What makes this cover UNFORGETTABLE? What's the one thing someone will remember in a feed of 50 covers?
Typography
- Choose fonts that are beautiful, unique, and interesting
- NEVER use generic fonts: Inter, Roboto, Arial, system-ui, Noto Sans SC as body/display
- Pair a distinctive display font with a refined body font (e.g.,
ZCOOL KuaiLe + LXGW WenKai, Ma Shan Zheng + Noto Serif SC, Zhi Mang Xing + Source Han Sans)
- Chinese display fonts from Google Fonts:
ZCOOL XiaoWei, ZCOOL QingKe HuangYou, Ma Shan Zheng, Liu Jian Mao Cao, Zhi Mang Xing, Long Cang, LXGW WenKai TC
- English display fonts: explore beyond the obvious —
Playfair Display, Space Mono, Unbounded, Syne, Climate Crisis, Bungee Shade
Color & Visual Atmosphere
- BANNED COLORS: 蓝色、紫色、蓝紫色一律禁止。包括但不限于 #3b82f6, #8b5cf6, #a855f7, #38bdf8, #06b6d4, #6366f1 及其近似色。所有 blue/purple/indigo/violet/cyan 系列均不可使用。
- NEVER default to: purple-gradient-on-dark, blue-accent-on-anything, cyan glows, or any "generic AI" palette
- 推荐替代色系: 琥珀金(#f59e0b)、暖珊瑚(#e8553a)、翠绿(#10b981)、暗炭(#1a1710)、奶油白(#fef3c7)、焦橙(#ea580c)、玫红(#e11d48)
- Create atmosphere through: gradient meshes, noise textures, geometric patterns, layered transparencies, dramatic shadows, grain overlays
- Light themes, warm palettes, editorial black-and-white, neon-on-cream, earth tones, monochromatic — all valid. Vary across generations.
- Background should create depth, not be a flat solid
Spatial Composition
- Asymmetry, overlap, diagonal flow, grid-breaking elements
- Generous negative space OR controlled density — both valid if intentional
- Text as visual element: oversized type, cropped letterforms, layered text
- The 2.35:1 main cover ratio is a canvas — use the full space creatively
Motion & Effects (CSS-only)
- Subtle texture overlays (CSS gradients, repeating patterns)
- Box-shadow layering for depth
- Mix-blend-mode for interesting color interactions
- Clip-path for non-rectangular compositions
Anti-patterns (NEVER do these)
- 任何蓝色、紫色、蓝紫色的使用(零容忍)
- Generic dark card with cyan/purple glows
- Cookie-cutter node-and-line "tech" decorations
- Evenly spaced, symmetrically centered text blocks
- The same design with different words swapped in
- Overused emoji as visual elements