Communitygithub.com

apple-launch-film

用程式碼重建 Apple 風格的 Mac 發表影片,無需螢幕錄製或 After Effects。

apple-launch-film 是什麼?

此技能可透過 Claude Code 完全以程式碼重現 Apple 風格的 Mac 發表影片。它會生成一個自我包含的 HTML 檔案,其中每個像素——選單列、瀏海、小工具和桌布——皆由程式碼繪製,並可匯出為 MP4。支援 6 至 8 個場景,每個場景搭配全螢幕漸層桌布和簡短標題。技能會引導您指定產品名稱、事實列表、場景順序,以及可選的參考素材。最終產出為一個包含 `window.seek(seconds)` 的 HTML 檔案,可搭配 HyperFrames 等工具進行渲染。對於希望以程式化方式快速製作 Apple 風格行銷素材的開發者與 AI 代理使用者而言,此技能極具價值。

相容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/charlie947/motion-graphics-skills/tree/main/skills/apple-launch-film

在你喜歡的 AI 中提問

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

說明文件

以程式碼打造的 Apple 風格發表影片

Mac 的每個像素皆以程式碼繪製:選單列、瀏海、小工具與桌布。一個自帶 window.seek(seconds) 的 HTML 檔案,可匯出為 MP4。

開始前: 若存在 brand.md 與 MOTION.md 請先閱讀。若無,請先執行 brand-intake,或要求提供色碼、字型與標誌檔案。在取得這些資訊前,切勿將任何結果稱為「符合品牌」。

搭配一個免費技能(非本人所有),可將 Apple 設計指南轉化為 Claude 遵循的規則。安裝一次即可:

npx skills add emilkowalski/skills --skill apple-design

步驟 1:要求五件事,然後等待

  1. 產品名稱及其一句標語,一字不漏。
  2. 事實列表。 影片可能展示的每項功能、數字與需求。除此之外不得有任何內容顯示在螢幕上。
  3. 場景。 6 到 8 個,每個場景包含一項功能與一句簡短標題。例如:「你的聲音在這裡。」
  4. 參考素材(可選):一個名為 ref 的資料夾,內含真實 Mac 發表影片或其影格。僅用於設定視覺風格。
  5. 尺寸與長度。 預設為 1920 x 1080,30fps,每個場景約 2.5 秒。

步驟 2:建立簡報(貼入 Claude Code)

使用 apple-design 技能。[若 ref/ 存在:比對 ref/ 中參考素材的視覺風格。先讀取每個影格。請勿複製其文字或產品名稱。]

這是 [PRODUCT] 的發表影片:螢幕正上方的黑色 MacBook 瀏海,會逐漸展開成 Apple 風格的小工具,一次一個場景。每個場景都有各自的全螢幕彩色漸層桌布,以及一個位於瀏海下方、置中的標題,標題的最後一兩個字以桌布顏色的淺色調呈現。影片開場時瀏海展開,並以白色手寫字型顯示「hello」,如同 Mac 的開機畫面。

僅使用以下事實,不得添加其他內容:
[事實列表]

場景,每個約 2.5 秒:
[1. 瀏海在黑色背景上展開,手寫的「hello」。]
[2..n. 桌布顏色、瀏海展開成什麼、標題。]
[最後。黑色:瀏海閉合至靜止形狀。標題:PRODUCT 及其一句標語。]

尺寸 [寬度] x [高度],30fps。影格即為 Mac 螢幕:頂端有一條細長的 macOS 選單列,瀏海位於其中央。使用系統字型(-apple-system,備用 Helvetica Neue)。

製作成一個自包含的 HTML 檔案,內含 window.seek(seconds) 函式,可繪製任何指定影格。從每個場景中各捕捉一個影格 [並與對應的參考素材影格並排比較]。修正差異之處,並根據 apple-design 技能檢查動態效果。

我學到的慘痛教訓

  • 用文字指明瀏海的位置。 相同的簡報,某個模型竟畫出了一整台筆電。「螢幕正上方的瀏海」是指標。
  • 使用彈性動畫,而非補間動畫。 當瀏海的寬度和高度各自以不同曲線彈性伸縮時,視覺效果最正確:開啟時柔和,閉合時無回彈。
  • 從影片開頭就規劃動態。 如果瀏海在尚未完全閉合前又重新開啟,它會從目前的位置繼續。使用逐場景補間會導致跳躍。
  • 逐場景與參考素材比對。 並排影格曾幫我抓出「hello」位置偏移且過大、進度條應為細長刻度卻變成粗條、以及提示文字被塞進選單列等問題。
  • 保持選單列簡短。 完整的選單文字會被寬大的小工具切成兩半。五個項目就很夠了。
  • 小工具不添加任何宣稱。 預留位置的文字以灰色線條表示。任何未出現在事實列表中的 UI 文字(按鈕標籤、時鐘時間),都需回報給您核准。

步驟 3:檢查與匯出

一個陌生人看到的第一秒,會相信這是真實的 Mac 畫面嗎?螢幕上的每個文字都來自事實列表嗎?加入一個減少動態效果的設定,將彈性動畫替換為快速淡入淡出。

使用 HyperFrames(免費且開源)匯出:npx skills add heygen-com/hyperframes,然後執行 npx hyperframes render。若需直式版本,請將 MP4 交給 reel-export。

Individual skills in this repo

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

animated-chart

Make a looping animated chart for LinkedIn or a newsletter in code with Claude Code. Bars that become a line, a number that counts up, a before and after. Every value stays exactly as given. Use when someone says

brand-intake

The setup step every other skill in this pack reads. A short interview plus 3 to 5 reference frames becomes two files in your project, brand.md (who you are, what you sell, your assets) and MOTION.md (your colours, type, timing and motion rules), plus a rule in CLAUDE.md so Claude reads them before it animates anything. Use at the start of any motion project, or when someone says

launch-video

Make a 30-45 second product launch video in code with Claude Code, the kind SaaS companies post on launch day. One sentence split across scenes, real product screens with slow camera moves, a typed prompt, a proof beat and a clear call to action. Use when someone says

loop-cover

Turn a newsletter or blog cover into a seamless looping GIF at 896 x 640, 180 frames at 20fps. Only the one element you name moves, the loop is rotated so frame 1 shows the finished picture, and the seam is measured, not eyeballed. Use when someone says

milestone-reveal

Make a 12-second looping milestone clip in code with Claude Code. Thousands of tiny points drift like a night sky, pull together into your real number (followers, subscribers, revenue, customers), a line draws underneath and the label settles in. Premium, not a party. Use when someone says

model-showdown

Give the same motion brief to three AI models, keep each first try, render all three the same way and stack them into one comparison video with model names and logos. Makes a 16:9 side-by-side for a newsletter and a 1080 x 1920 stacked reel for Instagram and TikTok. Use when someone says

motion-brief-writer

Turns a rough idea for an animated graphic into a precise build brief for Claude Code, in your own brand. Asks for anything essential first (exact numbers, size, length, brand), keeps real results apart from sample data, and never invents a figure. Use when someone says

motion-effects

Build any of 16 premium motion effects from scratch in your own brand, as one 8-second looping HTML file with window.seek(seconds) so it exports frame-exact to MP4 or GIF. Interfaces (button to player, search to results, card to workspace, tabs to panels), data (chart morph, dashboard zoom, spring stack, magnetic dock), type (masked type, elastic type, text to layout, image reveal) and systems (perspective shift, glass focus, flowing paths, particle logo). Use when someone says

motion-prompt-writer

Write a complete 8-part Claude Motion prompt (The bar, Format, The one rule, Look, Motion, Never, Before you finish, The scene) for one short looping motion graphic, in your own brand. Takes your brand (a website screenshot, a logo, hex codes, or nothing for the Apple-style default) and one moment you want to show, in plain words. Use when someone says

newsletter-promo

Turn a newsletter edition into a 12-20 second promo clip for LinkedIn, Instagram or X that drives people to read and subscribe. Hook question, three proof frames from the edition, then the newsletter name and where to read it. Use when someone says

reel-export

Turn any horizontal or square motion video into a 1080 x 1920 Instagram Reel or TikTok that uploads cleanly. Headline and logos inside the safe zone, H.264, yuv420p, limited colour range, bt709, a silent audio track when there is no sound, and an ffprobe check before upload. Use when someone says

reference-to-motion

Turn references you admire into a scene-by-scene Claude Motion prompt for your own topic and brand. Takes a video for the moves (screenshots, frames or a contact sheet of a reel or ad) and, optionally, a look reference for the style (a website, a brand, a moodboard). Use when someone says

title-sequence-3d

Make a cinematic 3D title sequence (8-15 seconds) in code with Claude Code and Three.js. A camera moves through a lit scene, such as a rainy street at night with brand names as neon signs, then a big question or title lands. Use when someone wants a scroll-stopping opener, a film-style intro,

vox-explainer

Make a short Vox-style documentary explainer (30-60 seconds) entirely in code with Claude Code. Torn paper, halftone texture, bold condensed type, motion on twos. Use when someone says

相關技能