Communitygithub.com

minimalistic-graphics

製作簡約黑白線條垂直動畫(1080x1920),適用於 Reels。細線台階逐級上升、白色圓點跳躍其上、頂端圓點周圍有軌道與火花,並有一行低調小寫文字替換為第二行文字。

minimalistic-graphics 是什麼?

此技能可根據使用者輸入生成簡約風格的垂直動畫(1080×1920),適用於 Instagram Reels 等短影音平台。動畫以全黑或全白背景為基底,使用極細線條勾勒出台階與軌道,並搭配一顆白色圓點作為視覺引導。圓點會從底部依序跳上階梯,抵達頂端後觸發軌道與火花特效,同時原先的單行小寫文字會切換為另一行文字,營造沈靜、穩定的自我成長氛圍。技能支援 Claude Code、Cursor、Codex 等具備檔案系統與命令執行能力的 AI 代理平台,透過 JSON 規格檔控制台階數量、文字行數與配色。建置流程包含本地端驗證、快速快照檢查與最終 MP4 輸出,確保動畫品質與安全區域合規。

相容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/hieubm1707/gemini-animation-skills/tree/HEAD/skills/minimalistic-graphics

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

Minimalistic Graphics (minimalistic-graphics)

┌──────────────────────┐
│ every step feels     │  一行小寫文字(頂端時切換為第二行)
│ small.         (•)   │  圓點周圍的軌道 + 環 + 火花
│              ┌──┐    │
│         ┌──┐ │  │    │  細線台階上升,圓點跳躍其上
│    ┌──┐ │  │ │  │    │
│ ┌──┐  │ │  │ │  │    │
└──────────────────────┘

設定檢查

SKILL_DIR 為包含此 SKILL.md 檔案的目錄(請檢查 <skills> 中的路徑)。

SKILL_DIR="$(python3 -c 'import os,sys; print(os.path.realpath(sys.argv[1]))' "<包含此 SKILL.md 的目錄>")"
KIT="$(python3 -c 'import os,sys; print(os.path.realpath(os.path.join(sys.argv[1], "..", "..", "kit")))' "$SKILL_DIR")"
[ -s "$KIT/vendor/gsap.min.js" ] || bash "$KIT/setup.sh"

需要 ffmpeg、node(18+)和 python3(3.9+)。

步驟

  1. 編寫文案。 將使用者的點子拆成 1 或 2 行短句:一句鋪陳與一句轉折(例如 "every step feels small." / "until you look back.")。每行不超過 ~30 個字元,全小寫,句尾加句點。
  2. 編寫規格。 按照下列 schema 建立 <name>.minimal.json。
  3. 先驗證。 執行:
    python3 "$SKILL_DIR/build.py" <name>.minimal.json --check
    
  4. 渲染。 執行:
    python3 "$SKILL_DIR/build.py" <name>.minimal.json
    
    約需 10 秒。可使用 --snap 2.4 快速輸出單格 PNG 檢查。
  5. 視覺品質檢查(必要)。 使用 read_file 檢視 <name>.minimal.sheet.jpg:
    • 每一行文字都完整顯示在一行內,且位於紅色安全區域內。
    • 最後幾個影格清楚顯示圓點在頂端,並帶有軌道環與第二行文字。
  6. 交付。 回傳 .mp4 與 .sheet.jpg 的可點擊連結。

規格 Schema

{
  "lines": ["every step feels small.", "until you look back."],
  "steps": 5,
  "light": false
}
  • lines:1 或 2 個短字串(每個不超過 ~30 字元)。當圓點抵達頂端台階時,第二行文字會替換第一行。
  • steps:整數 3 至 7。台階越多,跳躍速度越快,影片長度些微增加(5 階時約 3.8 秒)。
  • light:true 為黑線白底;false 為白線純黑底。
  • hold(選用):結尾額外停留的秒數。
  • out(選用):自訂輸出 .mp4 路徑。
  • template(選用):相對於規格檔的自訂 template.html 路徑。

自訂圖樣(進階)

若想使用其他極簡圖樣(例如迷宮、蜿蜒線條、填滿圓形),請將 "$SKILL_DIR/template.html" 複製到規格檔旁,設定 "template": "template.html",並在保持視覺語法的前提下編輯 SVG/GSAP 形狀:純黑畫布、極細白線、一顆純白圓點、一行安靜的小寫文字。

品味規則

  • 安靜且克制:全小寫,無表情符號,無粗體強調,無驚嘆號。
  • 符合隱喻:最適合描述穩定進步、習慣養成、耐心與複利效應。

Individual skills in this repo

This repo contains 4 individual skills — each has its own dedicated page.

breakdown

Makes a 3D exploded-view vertical animation (1080x1920) for a reel using three.js. A phone floats on a dark studio backdrop, separates layer by layer (glass, OLED screen, frame, logic board, battery, back), and draws thin leader lines to numbered labels. Use when the user asks for /breakdown, an exploded view, a "what's inside" teardown, or a labelled 3D hardware breakdown.

graph

Makes a minimal vertical (1080x1920) line-graph animation for a reel. A smooth black line draws itself on white (or white on black) while one large number counts up with the tip and lands on the final value. Use when the user asks for /graph, a growth chart, a "0 to 100K" number counter, an animated stat, or a minimal metric line chart.

low-poly

Makes a PS1/N64-era retro low-poly 3D vertical animation (1080x1920) for a reel using three.js. Chunky low-res nearest-neighbour pixels, vertex snapping, dithering, warm flat lighting, and small yellow captions with a thin black outline. Built-in scene: a dog waits on a station platform while a train arrives and leaves, and seasons turn to snow. Use when the user asks for /low-poly, PS1-style, N64 retro 3D, or "low poly shorts" animations.

map-route

Makes a 3D map route vertical animation (1080x1920) for a reel using three.js. Features a clean white 3D city with parks and a river, a coloured route drawing itself while the camera follows, a bouncing red destination pin, a live countdown ETA card, and a destination card. Use when the user asks for /map-route, an animated route, a "from A to B" map, a journey, or a commute animation.

相關技能