實用工具
May 4, 2026
May 4, 2026

Claude Code 自動生成 IG Carousel:完整資源 + Command 與 Render 深度拆解

Table of Contents

大部分人以為:

「用 AI 出 content = prompt 寫得好」

但如果你用過一排就會發現:

  • prompt 再靚,都係一次性
  • 每次都要重寫
  • output 永遠唔穩定

真正 scalable 嘅做法係:

👉 將 prompt 升級做 system

而呢個 system 入面,最關鍵唔係 CLAUDE.md(記憶)
而係呢兩樣👇

  • .claude/commands/carousel.md → 決定 AI 點「思考 + 行動」
  • render.py → 決定 output 可唔可以真正「用得出街」

.claude/commands/carousel.md:唔係 prompt,係你嘅內容工廠

📎 參考資源:

1. 點解大部分人寫錯 command?

常見錯誤:

  • 當佢係 prompt 咁寫
  • 寫一大段「請幫我生成 carousel」
  • 冇 structure、冇流程

結果:

👉 output 靠運氣
👉 唔可重用
👉 唔可 scale

2. 正確理解:command = SOP(標準作業流程)

你個 carousel.md 入面其實已經做緊一件好重要嘅事:

👉 將 content creation 拆成 pipeline

入面核心係呢段流程:

Stage 1:INPUT

  • 判斷係 topic / YouTube / 指令
  • 自動 parsing

👉 意義:
你唔需要再「教 AI 點理解你」

Stage 2:RESEARCH + IMAGE SOURCING

呢段係大部分人完全忽略,但其實最關鍵。

佢做緊:

  • WebSearch 搵資料
  • 自動決定要用咩圖
  • 官方 > press kit > stock fallback

👉 呢度其實係:

將 content credibility 外判俾 AI

而唔係你自己 Google + copy paste

Stage 3:SLIDE PLAN(呢個位最值錢)

呢一步會:

  • 出 5–8 張 slide 結構
  • 每張有 purpose
  • 有 hook / body / CTA 節奏

👉 重點唔係「寫內容」
👉 係「設計 flow」

如果你 skip 呢步:

👉 AI 只會變 ChatGPT
👉 冇節奏、冇轉換力

Stage 4:STOP for approval(極關鍵)

呢個設計好多人會刪走,但其實係成個 system 最聰明嘅位:

👉 強制 human-in-the-loop

原因:

  • AI 擅長 execution
  • 人類擅長 judgment

如果唔停:

👉 你會不停 revise final output(成本更高)

Stage 5:CONFIG generation

呢度係 hidden gem。

AI 會生成:

{

  "slides": [...]

}

👉 呢個 JSON 其實係:

AI 思考 → 視覺輸出 嘅 bridge

好多人忽略呢點,但其實:

  • 呢個 format 可以 reuse
  • 可以接其他 renderer
  • 可以做 multi-platform content

3. 真正高手會點改 carousel.md?

❌ 初級做法

  • 改 wording
  • 改 prompt

✅ 高級做法

改「決策邏輯」

例如:

1️⃣ 改 slide 結構

唔再 generic:

Slide 1: Hook  

Slide 2: Info  

而係:

Slide 1: Pattern interrupt  

Slide 2: Reframe belief  

Slide 3: Contrast  

Slide 4: Insight peak  

👉 直接影響轉換率

2️⃣ 加 decision rules

例如:

If topic = tools → use comparison  

If topic = concept → use analogy  

👉 令 AI 有策略,而唔係亂寫

3️⃣ 限制 output(反而更好)

Max 120 characters  

Max 2 ideas per slide  

👉 令內容更 sharp

render.py:你 output 專業感嘅 90%

📎 參考資源:

大部分人低估 render layer。

但現實係:

👉 內容 7 分 → 設計可以救到 9 分
👉 內容 9 分 → 設計差會跌到 5 分

1. render.py 做緊乜?

簡單講:

👉 將 JSON → 視覺系統

佢唔只係畫圖,而係:

  • layout engine
  • typography system
  • design system

2. 呢個 renderer 勁喺邊?

① Theme system(dark / light)

"theme": "dark"

👉 每張 slide 可以切 theme

影響:

  • 節奏
  • attention reset
  • 視覺層次

② Accent highlight(keyword

*重要字*

👉 自動變 highlight

唔需要你:

  • 手動加粗
  • 手動改色

👉 consistency 直接拉滿

③ Layout constraint(超關鍵)

renderer 已經 enforce:

  • padding
  • 字數限制
  • 行距

👉 呢啲係 designer level 決定
👉 唔應該交俾 AI 自由發揮

④ Content blocks system

你會見到:

  • pills
  • comparison
  • code block
  • card

👉 呢個其實係:

內容 → 視覺語言 mapping

例如:

Content

Visual

tool list

pills

old vs new

comparison

concept

card

3. 點樣真正用好 render.py(而唔係淨係用)

❌ 初級做法

  • 改顏色
  • 換字體

✅ 高級做法

1️⃣ 改「信息密度」

例如:

max_lines = 4

👉 控制每張 slide load

2️⃣ 改「視覺 hierarchy」

例如:

  • headline size
  • divider 粗幼
  • spacing

👉 呢啲直接影響:

👉 用戶停留時間

3️⃣ 加新 block(真正進階)

例如:

def block_stat(...)

def block_chart(...)

👉 你可以做到:

  • data carousel
  • case study carousel
  • tutorial carousel

4️⃣ 控制「attention flow」

你可以改:

  • dark slide 出現頻率
  • highlight 顏色
  • contrast

👉 呢個其實係:

設計 attention engineering

4. 點解你一定要有 render layer?

如果你淨係用 ChatGPT / Claude:

👉 你會有:

  • inconsistent design
  • 每次要調整
  • 無法 batch production

但有 renderer:

👉 你得到:

  • consistency
  • speed
  • scale

最重要總結(但大部分人會忽略)

你而家睇到嘅唔係一個「AI 出圖方法」

而係一個:

👉 Content Operating System

入面分三層:

  1. 記憶(CLAUDE.md)
  2. 大腦(carousel.md)
  3. 雙手(render.py)

但真正拉開差距嘅係:

👉 大腦 + 雙手

如果你只改 prompt:

👉 你係 content user

如果你改 .claude/commands/ 同 render.py:

👉 你開始變 content system builder

而兩者嘅差距係:

👉 一個係「做內容」
👉 一個係「產內容」

0%
100%

探索全新部落格文章

隨時掌握我們的最新文章

Stay Updated with Our Newsletter

Get the latest updates and exclusive content.

By subscribing, you agree to our Terms and Conditions.
Thank you! Submission received.
Oops! Something went wrong. Please try again.