Communitygithub.com

午夜螢幕桌面風格

以午夜螢幕桌面風格(風格卡 midnight-screen-desk)建立影片——一個冷靜、組織清晰的新聞桌面,分為三個固定區域:上方阿拉伯資訊卡、中間螢幕錄影(含發光條和拉近效果)、下方逐字字幕(由暗轉亮)。

午夜螢幕桌面風格 是什麼?

此技能用於產生名為「午夜螢幕桌面」風格的影片。它將畫面分割為三個固定區域:頂部是阿拉伯文資訊卡(右對齊、RTL),中間是1080×600的螢幕錄影區域(帶22px圓角、深陰影和8%透明度的白色環),底部則是逐字字幕(60px字型、1.35行高)。此風格特別適合製作AI新聞、建置展示或從螢幕錄影剪輯的快速教學,並搭配埃及阿拉伯語旁白,以9:16直式Reels格式輸出。不適用於講座片段或直接促銷內容。工作流程是:先套用風格卡,然後執行切割腳本(產生每個片段的跳接和拉近效果)再執行合成腳本(產生包含影片、資訊卡和字幕的HTML檔案),最後透過lint、快照和渲染檢查來驗證輸出,確保所有元素位置正確、文字動畫流暢、無私人資料外洩。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/bassam1998new-ops/hyperframes-students/tree/HEAD/.claude/skills/style-midnight-screen-desk

在你喜歡的 AI 中提問

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

說明文件

風格:午夜螢幕桌面

一個冷靜、組織清晰的新聞桌面:真實螢幕在發光條中,上方有清晰的阿拉伯文資訊卡,下方是逐字字幕;每個拉近效果都配合語音進行跳接。 卡片:video-projects/_library/styles/midnight-screen-desk/style.md — 草稿(尚未批准——請告知所有者)。

先看外觀(在風格資料夾中):frames/01-three-zones-chip.png(不在公開儲存庫中) · frames/02-mint-stat-punch-in.png(不在公開儲存庫中) · frames/03-setup-rows.png(不在公開儲存庫中)。來源專案(仍可建置;舊渲染已清除):一個較早的專案(非公開)。

0. 先套用卡片

node tools/vid.mjs style apply midnight-screen-desk <專案> [--mode calm|punchy]
node tools/vid.mjs style show midnight-screen-desk

1. 顏色 = 角色(品牌填補色碼)

風格 = 品質、結構與動態。紫羅蘭 + 薄荷色是參考——品牌工作從 brand/<名稱>.md 填補角色。

角色CSS 記號(來源專案)來自品牌
背景--bg畫布(深色)
標題、字幕--text文字-強
副標、統計標籤、未說出的字幕詞--dim靜音
引導、箭頭、晶片色調、頂部光暈(永不作為填充)--accent主要
資料:模型名稱、數字--mint品牌的少量強調色(午夜:薄荷色)
薄荷色僅用於名稱和數字;強調色僅用於光暈、引導和晶片色調。

2. 建置它

  • 起始程式碼: 一個較早的專案(非公開)—— build_cut.py(含入點/出點/拉近縮放/焦點的片段 → assets/cut.mp4)和 build_comp.py(寫入 index.html:影片條 + 阿拉伯文標題卡片 + 來自 assets/words.json 的字幕 + edit/edl.json)。複製它們,設定 SRC 為新的錄影和片段清單,執行切割,然後執行合成。切割和 EDL 的步驟:brain/Jobs/Build show-off.md。
  • 佈局 9:16(1080×1920),三個固定區域: 上方資訊卡(右對齊,RTL:引導 30 px → 標籤 46 px → 標題 92 px → 副標 48 px) · 螢幕條 1080×600 位於 y 640(22 px 圓角,深陰影,1 px 白色環 8% 透明度) · 下方字幕(60 px/700,行高 1.35)。保持文字在 x 60–960,y 220–1500 內。
  • 佈局 16:9: 尚未建置。
  • 背景: 頂部柔和的強調色徑向光暈(橢圓 90% × 30%,約 16%) + 邊緣漸黑至 45%。無顆粒。
  • 相機(內建於切割中): 每個片段的拉近效果——1.25× 主鏡頭,1.4–1.7× 文章,1.9–2.2× 定價表,1.5× 白板——加上每個片段 4% 的線性推進,使畫面永不靜止。
  • 動畫記號: 入場 power3.out · 出場 power2.in · 強調 back.out(1.6) · 卡片行間距 67–133 ms · 卡片出場 280 ms · 字幕詞間距 20 ms。
  • 文字動畫: 卡片行按引導 → 標籤 → 標題 → 副標順序上升並淡入(y 18 / 22 / 28 / 20 px,0.4–0.5 s) · 統計資料和設定行在提到它們的詞出現時從 x −30 滑入 · 晶片縮放彈出 0.85 → 1 · 字幕:1–4 個詞的群組以 45% 透明度出現(y 10 → 0,0.14 s),每個詞在朗讀時完全填充並縮放至 1.06,然後保持明亮。
  • 轉場: 單詞邊界的硬跳接(30–80 ms 間隔);卡片交換 = 舊卡上升 14 px 並淡出 0.28 s,然後硬性終止;新卡在同一幀進入;螢幕在 CTA 卡片下變暗至 35%。
  • 模式: 冷靜 = 按原樣出貨(無音效,4% 推進,僅在主題節點時更換卡片) · 活潑(未測試) = 較短片段,卡片交換時有柔和嗖聲,數字出現時有更強拉近。
  • 音效: 人聲 −14 LUFS(已清理:在單詞邊界處剪除重錄、填充詞和口吃) · 背景音樂 _library/assets/music/el/bed-focus-minimal.mp3(不在公開儲存庫中) 以 −23 LUFS 循環播放,由人聲側鏈壓縮 · 冷靜模式無音效。絕不產生音樂。

3. 在所有者看到之前進行檢查

  1. npx hyperframes lint 在專案內執行 — 0 個錯誤。
  2. npx hyperframes snapshot --at <每個卡片的主角時刻> — 閱讀每一幀:區域固定,拉近效果顯示語音提到的內容。
  3. npx hyperframes render --quality draft → node tools/vid.mjs judge <draft.mp4> → 閱讀 sheet.jpg 和 safe-sheet.jpg。
  4. 安全區 x 60–960,y 220–1500 · 阿拉伯文連寫且由右至左;拉丁文使用 dir="ltr" 包裝(或 "Opus 5.5" 翻轉為 "5.5 Opus");dir 僅用於元素,絕不用於 <html>。
  5. 風格檢查:每個數字出現在朗讀它的詞上;每張卡片在片段結束時硬性終止(tl.set 透明度 0);在生成字幕前,針對螢幕修正誤聽的模型名稱;任何拉近效果中無私人資料。

執行 / 不執行

  • 執行: 保持三個區域固定;精確拉近討論中的螢幕部分;按節奏重新排序故事(鉤子 → 發布內容 → 項目 → 我的選擇 → 要點 → CTA)。
  • 不執行: 生成產品 UI 的圖片;在不使用 dir="ltr" 包裝的情況下,在一個 flex 項目中混合阿拉伯文和拉丁文;讓卡片在片段結束後仍留在螢幕上。

工作完成後:node tools/vid.mjs style comment midnight-screen-desk "<什麼有效或無效>"。

Individual skills in this repo

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

bassam1998new-ops/hyperframes-students

Make a new video with a beginner, start to finish — a few easy questions, pick a look from this repo's styles, build it with HyperFrames, check the frames, render and show it. Use when the student says "new video", "make a video", "اعمل فيديو", "عايز فيديو", "reel", "animation", or asks how to start a video. Hands the technical HyperFrames rules to the official hyperframes skills.

bassam1998new-ops/hyperframes-students

First-time setup for the HyperFrames student studio. Checks the computer (Git, Node.js, FFmpeg, the render browser), explains in plain words what is missing, recommends what to install, asks before installing anything, then makes a 3-second test video to prove it all works. Use when the student says "setup", "install", "اعمل setup", "نزّل البرامج", "it doesn't work", "command not found", when node_modules is missing, or when `npx hyperframes doctor` shows a red item. Safe to run again any time — it skips what is already done.

bassam1998new-ops/hyperframes-students

Build a video in the Amber Grid Newsroom look (style card amber-grid-newsroom) — a hot "breaking news" desk: near-black grid field, the real screen recording in a framed window with instant reframes, an English title over an Arabic title line, and karaoke captions where the spoken word turns hot. Use when the director picked this card, or the owner says "make it in the amber newsroom style", "news desk", "breaking news look", "زي ريل opus 5.5", "ستايل الأخبار", or the video is AI news or a build show-off cut from his OBS screen recording with an Egyptian Arabic voice-over. 9:16 reels. Not for lecture clips or direct offers.

bassam1998new-ops/hyperframes-students

Build a video in the Cream Caret Type look (style card cream-caret-type) — Arabic words typed with a coloured caret on a flat two-colour page (night and paper that swap on hard cuts), select-highlight → delete → retype, a flat profile silhouette, one coloured dot that match-cuts into a flat vector eye, a zoom-through the iris, a fixed noun with a bold verb swapping every 16 frames, a pixel-art icon on the sign-off and a monogram end card — one sound per event, silence between. Use when the director picked this card, or the owner says "the typing intro", "caret type", "cream caret", "زي فيديو الكتابة", "الكلام اللي بيتكتب", "intro بالكتابة", or the video is a channel / "who am I" intro, a course or service intro hook, a short opener before a talking head, a word-play promise line or a bumper. 9:16 only, Arabic-first. Not for talking heads the whole time, screen-recording proof, data-heavy explainers or full spoken subtitles. DRAFT — untested.

bassam1998new-ops/hyperframes-students

Build a video in the Floating Desk Zoom look (style card floating-desk-zoom) — real app windows float as cards on warm paper, a virtual camera hard-cuts in on the action, follows the typing and glides back out. Use when the director picked this card, or the owner says "make it in the floating desk style", "paper desk", "zoom on the screen like the launch video", "اعمله على الورق", or the video is a build show-off, quick tutorial or AI news made from his OBS screen recording with a voice-over. Arabic or English; 9:16 reels. Not for lecture clips or talking heads.

bassam1998new-ops/hyperframes-students

Build a video in the Hatch Cosmos look (style card hatch-cosmos) — a hand-drawn pencil-hatched world on one canvas, a block mascot (or a pair) that walks, looks, blinks and does ^ ^ eyes, a dive through its eye into a hatched galaxy of nebula blobs, tilted rings and needle stars. Use when the director picked this card, or the owner says "hatched", "hatch cosmos", "pencil cosmos", "the galaxy video style", "the mascot dive", "زي فيديو المجرة", "الستايل المرسوم بالقلم", "الكائن اللي بيدخل في عينه", or the video is a music-led show-off/teaser, a concept intro with a mascot, a "journey inside" beat or a channel bumper. 9:16 and 16:9 both built. Not for talking heads, real screen-recording proof, data-heavy explainers or photographic looks.

bassam1998new-ops/hyperframes-students

Build a video in the Horizon Prompt One-shot look (style card horizon-prompt-oneshot) — one continuous camera on a near-black stage lit by a soft planet-horizon glow; a glass app bar, a cursor and a prompt box morph into each other, a prompt is typed, the send button grows into a tile that blooms into a full-frame result, then a light wipe to a logo end card, every beat hit-synced to a UI sound. Use when the director picked this card, or the owner says "horizon prompt", "the prompt one-shot", "the ChatGPT-style promo", "زي فيديو البرومبت", "الكيرسر اللي بيكتب البرومبت", or the video is an AI tool show-off / prompt-to-result demo, a course or service promo opener, a launch teaser or a channel bumper. Not for talking heads, real screen-recording proof, data-heavy explainers or long tutorials. DRAFT — untested.

bassam1998new-ops/hyperframes-students

Remix 2+ existing style cards of the Hyperframes video workspace into one NEW draft style card, layer by layer (palette roles, type, texture, grade, camera, light, edit rhythm, transitions, motion, sound, prompt parts), then let the owner pick the skills for the video and start the director. Use when the owner says "hybrid style", "remix styles", "mix two styles", "combine styles", "اعمل هايبرد", "ادمج الستايلين", or ticks cards and presses "Remix these" on the Styles board.

bassam1998new-ops/hyperframes-students

Build a video in the Midnight Kinetic Type look (style card midnight-kinetic-type) — clean motion type on a flat dark field, word-by-word mask rises, one accent word that lands alone, icon strokes that draw on, and hard cuts on the music's beat grid. Use when the director picked this card, or the owner says "make it in the kinetic type style", "midnight type", "like an earlier project", "تايبوجرافي متحركة", or the video is a direct offer, proof / results reel or AI news told with type, music and SFX (no face, no footage). Arabic (Cairo, per-word) and English (Inter) versions; 9:16 reels. Not for lecture clips or quick tutorials.

bassam1998new-ops/hyperframes-students

Build a video in the Mint Lecture Room look (style card mint-lecture-room) — a calm classroom cut of a real lesson: one long take with slow zooms that follow the point, a topic lower third, a quiz card that asks, counts down think-time and then answers, and karaoke captions that light the current word. Use when the director picked this card, or the owner says "make it in the lecture room style", "lecture clip", "course cut", "quiz card", "قص من المحاضرة", "سؤال وجواب", or the video is a lecture clip or quick tutorial cut from his AI course recordings (Egyptian Arabic). 9:16 reels. Not for AI news or direct offers.

bassam1998new-ops/hyperframes-students

Build a video in the Neon Node Explainer look (style card neon-node-explainer) — a plain stage, one headline per spoken sentence, and one small glowing diagram (tiles, lines, packets, checks, terminal, tool list) that builds itself part by part. Use when the director picked this card, or the owner says "make it in the neon node style", "node explainer", "API vs MCP style", "اعمله زي فيديو الـ MCP", or the video is an AI explainer, concept explainer, quick tutorial or AI news with a voice-over and no face. Arabic headlines + English mono labels; 9:16 and 16:9 both built. Not for talking heads, warm stories, real screen-recording demos or music-only hype reels.

bassam1998new-ops/hyperframes-students

Build a video in the Swiss Motion Reel look (style card swiss-motion-reel) — a Swiss-grid "instrument panel" with a constant thin HUD, flat 2-colour blocks, word slams, shape match-cuts and hard cuts on a 128 BPM beat. Use when the director picked this card, or the owner says "make it in the Swiss style", "motion reel", "like the motion designer reel", "HUD reel", "ستايل سويسري", or the video is a brand sizzle, product intro, "what we do" reel, launch teaser or any no-person, graphics-only, music-led video. Latin display type with Arabic in a clean geometric sans; built and tested in 16:9, 9:16 still to build. Not for talking heads, screen-recording tutorials or long voice-led explainers.

bassam1998new-ops/hyperframes-students

Build a video in the Warm Glass Face-cam look (style card warm-glass-facecam) — the presenter talks to camera while frosted-glass panels with one warm glow land exactly where he points; blur-punch text, a karaoke pill, small charts, and a shrink into a rounded picture-in-picture for the demo part. Use when the director picked this card, or the owner says "make it in the warm glass style", "glass panels over my face", "face-cam with glass cards", "PiP intro", "كروت زجاج وأنا بتكلم", or the video is a build show-off or quick tutorial with the owner on camera. Source is English 16:9; the 9:16 and Arabic versions still have to be built at the first job. Not for lecture clips or AI news.

bassam1998new-ops/hyperframes-students

Build a video in the <Style name> look (style card <slug>). Use when the director picked this style card, when the owner says "make it in the <Style name> style", "<slug>", "استايل <Style name>", or the video type is <video types from use_when>. Works for Arabic (Egyptian) and English, 9:16 reels<, and 16:9 if supported>. Not for <avoid_when>.

相關技能