huashu-wechat-image

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

公众号配图工作流

WeChat Official Account Image Workflow

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

⚠️ Core Principle: Propose First, Generate Later

绝对不能跳过设计提案直接出图。 正确流程:
理解内容 → 设计提案(2-3个方向)→ 用户选择 → 生成 → 预览确认 → 上传
设计审美画像和提案格式见姊妹skill
xhs-image/SKILL.md
,公众号配图同样适用。
Never skip design proposals and directly generate images. Correct workflow:
Understand Content → Design Proposals (2-3 directions) → User Selection → Generate → Preview & Confirm → Upload
Design aesthetic profile and proposal format refer to the sister skill
xhs-image/SKILL.md
, which also applies to WeChat Official Account images.

核心参数

Core Parameters

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

Image TypeSizeAspect RatioPlaywright viewportAI Prompt Aspect Ratio Declaration
Headline Cover1800 x 766 px2.35:1
--viewport-size=1800,766
2.35:1 ultra-wide landscape, 1800x766 pixels
Body Wide Image1920 x 1080 px16:9
--viewport-size=1920,1080
16:9 landscape, 1920x1080 pixels
Body Square Image1440 x 1080 px4:3
--viewport-size=1440,1080
4:3 landscape, 1440x1080 pixels
Infographic1080 x FreeFree
--viewport-size=1080,N
Determined by content

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

Step 0: Confirm Image Requirements ✅ User Confirmation

向用户展示选项,等待确认:
类型说明图片数量推荐路径
A. 仅封面头条封面图1张AI 生成
B. 正文配图章节配图,辅助阅读理解3-8张AI 生成为主
C. 全套配图封面 + 正文全部4-10张AI 生成为主
D. 纯信息图数据对比、流程图、清单1-5张AI 生成(精确数据表格用HTML兜底)
问用户
  1. 做封面、正文插图、还是全套?
  2. 文章路径/内容是什么?(分析内容确定配图位置)
  3. 总共需要几张图?
Show options to users and wait for confirmation:
TypeDescriptionQuantityRecommended Path
A. Cover OnlyHeadline cover image1AI Generation
B. Body ImagesChapter illustrations to assist reading comprehension3-8Priority to AI Generation
C. Full Set of ImagesCover + All Body Images4-10Priority to AI Generation
D. Pure InfographicsData comparison, flowcharts, checklists1-5AI Generation (HTML fallback for precise data tables)
Ask users:
  1. Do you need covers, body illustrations, or a full set?
  2. What is the article link/content? (Analyze content to determine image placement)
  3. How many images are needed in total?

配图数量建议

Image Quantity Recommendations

文章长度推荐配图数包含
< 1500字2-3张封面 + 1-2张正文
1500-3000字4-6张封面 + 每个核心章节1张
3000-5000字6-8张封面 + 章节图 + 信息图
> 5000字8-10张不超过10张,避免过度打断

Article LengthRecommended QuantityIncludes
< 1500 words2-3Cover + 1-2 body images
1500-3000 words4-6Cover + 1 image per core chapter
3000-5000 words6-8Cover + chapter images + infographics
> 5000 words8-10No more than 10 images to avoid excessive interruption

Step 1: 风格选择 ✅ 用户确认

Step 1: Style Selection ✅ User Confirmation

根据用户的文章类型,推荐 3 种风格供选择。
Based on the user's article type, recommend 3 styles for selection.

按文章类型自动推荐

Automatic Recommendations by Article Type

文章类型第一推荐第二推荐第三推荐
AI工具评测极简专业编辑杂志数据信息图
技术教程极简专业手绘白板编辑杂志
产品发布编辑杂志大字报极简专业
深度分析编辑杂志数据信息图极简专业
个人故事Snoopy温暖漫画温暖叙事编辑杂志
行业观察大字报编辑杂志数据信息图
向用户展示 3 个推荐风格,每个包含:
  • 风格名 + 一句话描述
  • 适用场景
  • 色彩倾向
问用户:选哪个风格?或者你有自己想要的参考?
完整风格库:
references/style-gallery.md

Article TypeFirst RecommendationSecond RecommendationThird Recommendation
AI Tool ReviewMinimalist ProfessionalEditorial MagazineData Infographic
Technical TutorialMinimalist ProfessionalHand-drawn WhiteboardEditorial Magazine
Product LaunchEditorial MagazineBig PosterMinimalist Professional
In-depth AnalysisEditorial MagazineData InfographicMinimalist Professional
Personal StorySnoopy Warm ComicWarm NarrativeEditorial Magazine
Industry ObservationBig PosterEditorial MagazineData Infographic
Show users 3 recommended styles, each including:
  • Style name + one-sentence description
  • Applicable scenarios
  • Color tendency
Ask users: Which style do you choose? Or do you have your own reference?
Complete Style Library:
references/style-gallery.md

Step 2: 选择生成路径 ✅ 用户确认

Step 2: Select Generation Path ✅ User Confirmation

根据内容特征推荐路径,向用户展示对比:
Path A: HTML → 截图Path B: AI 生成
文字准确度100%(代码控制)中文可能出错(需验证)
布局控制像素级精确AI 自由发挥
视觉创意中(靠设计能力)高(AI 有创造力)
API 成本零(纯本地)每张消耗 Gemini API
速度快(几秒)慢(10-30秒/张)
适合文字多、数据多、清单、信息图封面、氛围图、创意插画
可编辑性改 HTML 重新截图即可需要重新生成
深色模式CSS 直接控制配色需在 prompt 中声明
Recommend paths based on content characteristics and show comparisons to users:
Path A: HTML → ScreenshotPath B: AI Generation
Text Accuracy100% (controlled by code)Chinese text may have errors (need verification)
Layout ControlPixel-level precisionAI free play
Visual CreativityMedium (depends on design ability)High (AI has creativity)
API CostZero (pure local)Consumes Gemini API per image
SpeedFast (a few seconds)Slow (10-30 seconds per image)
Suitable ForText-heavy, data-heavy, checklists, infographicsCovers, atmosphere images, creative illustrations
EditabilityModify HTML and re-screenshotNeed to regenerate
Dark ModeDirect color control via CSSNeed to declare in prompt

⚠️ 花叔偏好:AI生成优先

⚠️ Uncle Hua's Preference: Prioritize AI Generation

HTML截图效果太平面、像PPT模板,缺少质感和设计感。AI生成的图片有丰富的视觉细节,品质远胜HTML。 默认走AI生成路径,只有「必须逐字精确的复杂数据表格」才用HTML兜底。
HTML screenshots are too flat, like PPT templates, lacking texture and design sense. AI-generated images have rich visual details, and their quality is far superior to HTML. Default to AI generation path, only use HTML fallback for "complex data tables that require word-by-word precision".

路径推荐规则

Path Recommendation Rules

图片类型推荐路径理由
头条封面AI视觉冲击力强,质感好
正文氛围/场景图AI创意性强
正文信息图AIAI能做出设计感的信息图
流程图/步骤图AIAI能加入视觉层次
对比图AI视觉品质更高
精确数据表格(10+单元格)HTML唯一需要HTML的场景:大量精确数字
默认推荐AI路径,不再逐次询问路径选择。

Image TypeRecommended PathReason
Headline CoverAIStrong visual impact and good texture
Body Atmosphere/Scene ImagesAIHigh creativity
Body InfographicsAIAI can create infographics with design sense
Flowcharts/Step DiagramsAIAI can add visual hierarchy
Comparison ChartsAIHigher visual quality
Precise Data Tables (10+ cells)HTMLThe only scenario requiring HTML: large amounts of precise numbers
Default to recommending AI path, no need to ask about path selection each time.

Step 3: 生成图片

Step 3: Generate Images

Path A: HTML → Playwright 截图

Path A: HTML → Playwright Screenshot

3-A-1. 创建 HTML

3-A-1. Create HTML

根据选定风格和用户提供的内容,生成 HTML 文件。
HTML 模板要求:
  • 画布尺寸:根据图片类型选择(封面 1800x766,正文宽图 1920x1080,正文方图 1440x1080)
  • 字体:
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif
  • 深色模式友好:用 #F5F5F5 代替纯白,用 #1A1A2E 代替纯黑
  • 封面安全区:核心信息集中在中央正方形区域(766x766)
封面大字报模板示例(2.35:1):
html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style>
  * { margin: 0; padding: 0; box-sizing: border-box; }
  body {
    width: 1800px; height: 766px;
    background: #1A1A2E;
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    padding: 60px 400px; /* 左右大padding确保内容在安全区 */
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  }
  .title {
    font-size: 96px; font-weight: 900;
    color: #FFFFFF; text-align: center;
    line-height: 1.3; letter-spacing: 4px;
  }
  .subtitle {
    font-size: 36px; font-weight: 400;
    color: #E2B714; text-align: center;
    margin-top: 30px;
  }
  .accent-line {
    width: 200px; height: 4px;
    background: #E2B714;
    margin: 30px auto;
  }
</style>
</head>
<body>
  <div class="title">Claude vs Codex</div>
  <div class="accent-line"></div>
  <div class="subtitle">重度用户的20分钟实战对比</div>
</body>
</html>
正文信息图模板示例(4:3):
html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style>
  * { margin: 0; padding: 0; box-sizing: border-box; }
  body {
    width: 1440px; height: 1080px;
    background: #F5F5F5;
    padding: 60px 80px;
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  }
  .heading {
    font-size: 56px; font-weight: 800;
    color: #1A1A1A; margin-bottom: 40px;
    line-height: 1.3;
  }
  .item {
    display: flex; align-items: flex-start;
    margin-bottom: 28px; gap: 20px;
  }
  .num {
    font-size: 40px; font-weight: 900;
    color: #4A90D9; min-width: 50px;
  }
  .text {
    font-size: 32px; color: #333;
    line-height: 1.5;
  }
  .highlight { color: #FF6B35; font-weight: 700; }
</style>
</head>
<body>
  <div class="heading">Claude Code 五大优势</div>
  <div class="item"><span class="num">01</span><span class="text"><span class="highlight">Agent模式</span>自主规划执行复杂任务</span></div>
  <div class="item"><span class="num">02</span><span class="text">原生<span class="highlight">终端集成</span>直接操作文件系统</span></div>
  <div class="item"><span class="num">03</span><span class="text"><span class="highlight">多文件编辑</span>一次修改整个项目</span></div>
</body>
</html>
Generate HTML files based on the selected style and user-provided content.
HTML Template Requirements:
  • Canvas size: Select according to image type (cover 1800x766, body wide image 1920x1080, body square image 1440x1080)
  • Font:
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif
  • Dark mode friendly: Use #F5F5F5 instead of pure white, #1A1A2E instead of pure black
  • Cover safe zone: Core information is concentrated in the central square area (766x766)
Example of Cover Big Poster Template (2.35:1):
html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style>
  * { margin: 0; padding: 0; box-sizing: border-box; }
  body {
    width: 1800px; height: 766px;
    background: #1A1A2E;
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    padding: 60px 400px; /* Large left and right padding to ensure content is in safe zone */
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  }
  .title {
    font-size: 96px; font-weight: 900;
    color: #FFFFFF; text-align: center;
    line-height: 1.3; letter-spacing: 4px;
  }
  .subtitle {
    font-size: 36px; font-weight: 400;
    color: #E2B714; text-align: center;
    margin-top: 30px;
  }
  .accent-line {
    width: 200px; height: 4px;
    background: #E2B714;
    margin: 30px auto;
  }
</style>
</head>
<body>
  <div class="title">Claude vs Codex</div>
  <div class="accent-line"></div>
  <div class="subtitle">20-Minute Practical Comparison by Heavy Users</div>
</body>
</html>
Example of Body Infographic Template (4:3):
html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style>
  * { margin: 0; padding: 0; box-sizing: border-box; }
  body {
    width: 1440px; height: 1080px;
    background: #F5F5F5;
    padding: 60px 80px;
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  }
  .heading {
    font-size: 56px; font-weight: 800;
    color: #1A1A1A; margin-bottom: 40px;
    line-height: 1.3;
  }
  .item {
    display: flex; align-items: flex-start;
    margin-bottom: 28px; gap: 20px;
  }
  .num {
    font-size: 40px; font-weight: 900;
    color: #4A90D9; min-width: 50px;
  }
  .text {
    font-size: 32px; color: #333;
    line-height: 1.5;
  }
  .highlight { color: #FF6B35; font-weight: 700; }
</style>
</head>
<body>
  <div class="heading">Top 5 Advantages of Claude Code</div>
  <div class="item"><span class="num">01</span><span class="text"><span class="highlight">Agent Mode</span> autonomously plans and executes complex tasks</span></div>
  <div class="item"><span class="num">02</span><span class="text">Native <span class="highlight">Terminal Integration</span> directly operates file system</span></div>
  <div class="item"><span class="num">03</span><span class="text"><span class="highlight">Multi-file Editing</span> modifies entire project at once</span></div>
</body>
</html>

3-A-2. 截图

3-A-2. Screenshot

bash
npx playwright screenshot "file:///path/to/card.html" output.png \
  --viewport-size=[],[] --wait-for-timeout=1000
  • 封面:
    --viewport-size=1800,766
  • 正文宽图:
    --viewport-size=1920,1080
  • 正文方图:
    --viewport-size=1440,1080
bash
npx playwright screenshot "file:///path/to/card.html" output.png \
  --viewport-size=[width],[height] --wait-for-timeout=1000
  • Cover:
    --viewport-size=1800,766
  • Body wide image:
    --viewport-size=1920,1080
  • Body square image:
    --viewport-size=1440,1080

3-A-3. ✅ 预览确认

3-A-3. ✅ Preview & Confirm

用 Read 工具向用户展示截图结果。
问用户
  • 文字内容对吗?
  • 布局和配色满意吗?
  • 封面的核心信息在安全区内吗?(封面图特有)
  • 需要调整什么?
如需调整:修改 HTML → 重新截图 → 再次确认。(HTML 路径迭代成本极低)

Use the Read tool to show users the screenshot results.
Ask users:
  • Is the text content correct?
  • Are you satisfied with the layout and color scheme?
  • Is the core information of the cover within the safe zone? (Unique to covers)
  • What adjustments are needed?
If adjustments are needed: Modify HTML → Re-screenshot → Confirm again. (Iteration cost of HTML path is extremely low)

Path B: AI 生成(Gemini 3 Pro Image)

Path B: AI Generation (Gemini 3 Pro Image)

3-B-1. 构建 Prompt

3-B-1. Build Prompt

封面 Base Style Prompt:
[Base Style]:
VISUAL REFERENCE: [一句话描述具体风格美学]
CANVAS: 2.35:1 ultra-wide landscape, 1800x766 pixels, high quality rendering.
SAFE ZONE: Center square (766x766) contains all key text and visuals.
COLOR SYSTEM: [描述色彩情绪,不指定比例]
TEXT RENDERING: Chinese text must be large, clear, readable. Title in center safe zone.
正文 Base Style Prompt:
[Base Style]:
VISUAL REFERENCE: [一句话描述具体风格美学]
CANVAS: [16:9 landscape, 1920x1080 pixels / 4:3 landscape, 1440x1080 pixels], high quality rendering.
COLOR SYSTEM: [描述色彩情绪]
DARK MODE: Use medium-tone backgrounds, avoid pure white (#FFFFFF) and pure black (#000000).
Per-Image Prompt:
Create a [style] [cover/illustration] for a WeChat article about [topic].

[Base Style]

DESIGN INTENT: [用户看到后应该产生什么情绪/行为]

TEXT TO RENDER:
- Title: "[标题,封面≤10字,正文可少或无]"
- [其他文字]

[1-2句画面情绪描述,让 AI 自由发挥构图]
Cover Base Style Prompt:
[Base Style]:
VISUAL REFERENCE: [One-sentence description of specific style aesthetics]
CANVAS: 2.35:1 ultra-wide landscape, 1800x766 pixels, high quality rendering.
SAFE ZONE: Center square (766x766) contains all key text and visuals.
COLOR SYSTEM: [Describe color mood, do not specify proportions]
TEXT RENDERING: Chinese text must be large, clear, readable. Title in center safe zone.
Body Base Style Prompt:
[Base Style]:
VISUAL REFERENCE: [One-sentence description of specific style aesthetics]
CANVAS: [16:9 landscape, 1920x1080 pixels / 4:3 landscape, 1440x1080 pixels], high quality rendering.
COLOR SYSTEM: [Describe color mood]
DARK MODE: Use medium-tone backgrounds, avoid pure white (#FFFFFF) and pure black (#000000).
Per-Image Prompt:
Create a [style] [cover/illustration] for a WeChat article about [topic].

[Base Style]

DESIGN INTENT: [What emotion/behavior should users have after seeing it]

TEXT TO RENDER:
- Title: "[Title, ≤10 words for covers, optional for body]"
- [Other text]

[1-2 sentences describing scene mood to let AI freely compose]

3-B-2. ✅ Prompt 确认

3-B-2. ✅ Prompt Confirmation

向用户展示即将使用的 prompt,等待确认或修改。特别确认:
  • 要渲染的文字内容是否正确
  • 设计意图是否准确
  • 是否有其他要求
Show users the prompt to be used and wait for confirmation or modification. Specifically confirm:
  • Is the text content to be rendered correct?
  • Is the design intent accurate?
  • Are there any other requirements?

3-B-3. 生成

3-B-3. Generate

bash
export $(grep GEMINI_API_KEY ~/.claude/.env) && \
uv run /Users/alchain/Documents/写作/.claude/skills/wechat-image/scripts/generate_image.py \
  --prompt "[完整prompt]" \
  --filename "[timestamp]-wechat-[类型]-[描述].png" \
  --aspect [cover|wide|standard|square]
  • --aspect cover
    → 2.35:1 头条封面
  • --aspect wide
    → 16:9 正文宽图(默认)
  • --aspect standard
    → 4:3 正文方图
  • --aspect square
    → 1:1 方图
多张图可并行生成(
run_in_background=true
)。
bash
export $(grep GEMINI_API_KEY ~/.claude/.env) && \
uv run /Users/alchain/Documents/写作/.claude/skills/wechat-image/scripts/generate_image.py \
  --prompt "[full prompt]" \
  --filename "[timestamp]-wechat-[type]-[description].png" \
  --aspect [cover|wide|standard|square]
  • --aspect cover
    → 2.35:1 headline cover
  • --aspect wide
    → 16:9 body wide image (default)
  • --aspect standard
    → 4:3 body square image
  • --aspect square
    → 1:1 square image
Multiple images can be generated in parallel (
run_in_background=true
).

3-B-4. ✅ 预览确认

3-B-4. ✅ Preview & Confirm

用 Read 工具向用户展示生成结果。
检查项:
  1. 文字准确吗?(中文无乱码/错字)
  2. 比例正确吗?(封面 2.35:1、正文 16:9 或 4:3)
  3. 封面安全区:核心信息在中央正方形内?(封面特有)
  4. 深色模式:是否避免了纯白底和纯黑底?
  5. 风格满意吗?
问用户:满意 / 重新生成 / 调整 prompt?

Use the Read tool to show users the generated results.
Checklist:
  1. Is the text accurate? (No garbled characters/typos in Chinese)
  2. Is the aspect ratio correct? (2.35:1 for covers, 16:9 or 4:3 for body images)
  3. Cover safe zone: Is core information within the central square? (Unique to covers)
  4. Dark mode: Are pure white and pure black backgrounds avoided?
  5. Are you satisfied with the style?
Ask users: Satisfied / Regenerate / Adjust prompt?

Path C: 混合路径(全套配图推荐)

Path C: Hybrid Path (Recommended for Full Set of Images)

适用于全套配图:封面用 AI 生成(抓眼球),正文信息图用 HTML 渲染(信息精确),正文氛围图用 AI 生成
执行顺序:
  1. 先按 Path B 生成封面 → 用户确认
  2. 从封面的配色/氛围提取一致的风格
  3. 正文氛围图用 Path B → 用户确认
  4. 正文信息图/数据图用 Path A → 用户确认

Applicable to full set of images: Use AI generation for covers (to catch attention), HTML rendering for body infographics (precise information), and AI generation for body atmosphere images.
Execution sequence:
  1. First generate cover via Path B → User confirmation
  2. Extract consistent style from cover's color scheme/atmosphere
  3. Generate body atmosphere images via Path B → User confirmation
  4. Generate body infographics/data images via Path A → User confirmation

Step 4: 上传图床

Step 4: Upload to Image Hosting

bash
python3 /Users/alchain/Documents/写作/tools/upload_image.py "[图片路径]"
返回 ImgBB 永久链接。公众号文章必须使用网络链接,本地路径在发布后失效。

bash
python3 /Users/alchain/Documents/写作/tools/upload_image.py "[image path]"
Returns permanent ImgBB link. WeChat Official Account articles must use web links, local paths will become invalid after publication.

快速参考

Quick Reference

封面安全区域

Cover Safe Zone

┌─────────────────────────────────────┐
│         │ 766x766  │               │
│  装饰区  │ 安全区域  │  装饰区       │ 1800 x 766
│         │ (核心)  │               │
└─────────────────────────────────────┘
           ↑ 朋友圈裁切区域 ↑
┌─────────────────────────────────────┐
│         │ 766x766  │               │
│  Decorative Area  │  Safe Zone  │  Decorative Area       │ 1800 x 766
│         │ (Core)  │               │
└─────────────────────────────────────┘
           ↑ Moments Cropping Area ↑

深色模式适配要点

Dark Mode Adaptation Key Points

  • 底色用 #F5F5F5(浅灰)代替纯白
  • 底色用 #1A1A2E(暗紫灰)代替纯黑
  • 正文字色用 #595959 或 #3F3F3F,不用纯黑 #000000
  • 避免阴影效果、白色边框
  • 使用低饱和度配色
  • Use #F5F5F5 (light gray) instead of pure white for background
  • Use #1A1A2E (dark purple-gray) instead of pure black for background
  • Use #595959 or #3F3F3F for body text color, not pure black #000000
  • Avoid shadow effects and white borders
  • Use low-saturation color schemes

中文文字渲染(AI 路径特有)

Chinese Text Rendering (Unique to AI Path)

  • 封面标题 ≤ 10 字
  • 正文图上文字 ≤ 20 字/行
  • 信息图文字用 HTML 渲染更可靠
  • 必须逐张验证
  • Cover title ≤ 10 words
  • Text on body images ≤ 20 words per line
  • Infographic text is more reliable when rendered via HTML
  • Must verify each image one by one

字体推荐(HTML 路径特有)

Font Recommendations (Unique to HTML Path)

  • 标题:
    "PingFang SC"
    Bold /
    "Microsoft YaHei"
    Bold
  • 正文:
    "PingFang SC"
    Regular
  • 商用安全替代:阿里巴巴普惠体、思源黑体
  • Title:
    "PingFang SC"
    Bold /
    "Microsoft YaHei"
    Bold
  • Body:
    "PingFang SC"
    Regular
  • Commercial-safe alternatives: Alibaba Pu Hui Ti, Source Han Sans

花叔科技账号配色

Uncle Hua Technology Account Color Schemes

方案名底色主色强调色适用深色模式
暖灰专业#F5F0EB#D97706#4A90D9AI工具、分享
极简专业#F5F5F5#4A90D9#FF6B35教程、对比
暗夜金#1A1A2E#E2B714#FFFFFF产品发布
终端绿#1A1A1A#00FF41#888888编程相关
Scheme NameBackground ColorMain ColorAccent ColorApplicable ScenariosDark Mode Compatibility
Warm Gray Professional#F5F0EB#D97706#4A90D9AI tools, sharingGood
Minimalist Professional#F5F5F5#4A90D9#FF6B35Tutorials, comparisonsMedium
Dark Night Gold#1A1A2E#E2B714#FFFFFFProduct launchesGood
Terminal Green#1A1A1A#00FF41#888888Programming-relatedGood

Golden Rules

Golden Rules

  • 封面核心信息放在中央正方形安全区
  • 正文图用中间色调背景(适配深色模式)
  • 信息图优先 HTML → 截图(文字精确)
  • 氛围图优先 AI 生成(创意性强)
  • 图片上传到图床获取永久链接
  • 同一文章插图风格统一
  • 每 800-1200 字配一张图
  • 每个 H2 章节至少一张
  • Place core cover information in the central square safe zone
  • Use medium-tone backgrounds for body images (adapt to dark mode)
  • Prioritize HTML → Screenshot for infographics (precise text)
  • Prioritize AI generation for atmosphere images (high creativity)
  • Upload images to hosting to get permanent links
  • Keep consistent style for illustrations in the same article
  • Add one image every 800-1200 words
  • At least one image per H2 chapter

配图位置策略

Image Placement Strategy

位置必要性类型
标题下方(封面)必须封面图 / 氛围图
每个 H2 标题后推荐章节插图
数据/对比处推荐信息图
产品/工具介绍处可选截图 / AI 概念图
文末总结前可选收尾插图
PositionNecessityType
Below title (cover)MandatoryCover image / atmosphere image
After each H2 titleRecommendedChapter illustration
At data/comparison sectionsRecommendedInfographic
At product/tool introduction sectionsOptionalScreenshot / AI concept image
Before conclusion at the endOptionalClosing illustration

决策流程图

Decision Flowchart

用户需求 → Step 0 确定需求
         Step 1 选风格(展示3个选项)
         Step 2 默认AI生成(仅精确数据表格走HTML)
         Step 3 生成 → 预览 → 用户确认
           ├→ 满意 → Step 4 上传
           ├→ 文字渲染有误 → 该张改用HTML兜底
           └→ 不满意 → 调整prompt重新生成
User Demand → Step 0 Confirm Requirements
         Step 1 Select Style (Show 3 options)
         Step 2 Default to AI Generation (Only use HTML for precise data tables)
         Step 3 Generate → Preview → User Confirmation
           ├→ Satisfied → Step 4 Upload
           ├→ Text rendering error → Use HTML fallback for this image
           └→ Dissatisfied → Adjust prompt and regenerate

相关 Skills

Related Skills

Skill作用
xhs-image
小红书配图(姊妹 skill)
image-to-slides
PPT 配图(风格库来源)
SkillFunction
xhs-image
Xiaohongshu Images (sister skill)
image-to-slides
PPT Images (source of style library)

参考文件

Reference Files

  • references/style-gallery.md
    — 完整风格库与 prompt 模板
  • references/design-guidelines.md
    — 公众号平台设计规范

花叔出品 | AI Native Coder · 独立开发者 公众号「花叔」| 30万+粉丝 | AI工具与效率提升 代表作:小猫补光灯(AppStore付费榜Top1)·《一本书玩转DeepSeek》
  • references/style-gallery.md
    — Complete style library and prompt templates
  • references/design-guidelines.md
    — WeChat Official Account platform design specifications

Produced by Uncle Hua | AI Native Coder · Independent Developer Official Account "Uncle Hua" | 300,000+ followers | AI Tools & Efficiency Improvement Masterpieces: Kitten Fill Light (Top 1 in AppStore Paid Rankings) · Mastering DeepSeek in One Book