Communitygithub.com

風格:琥珀色新聞編輯室

打造一則具有琥珀色新聞編輯室風格的影片(樣式卡:amber-grid-newsroom)——一個熱門「突發新聞」桌檯:近黑色網格背景、螢幕錄影置於帶即時重構的框架視窗中、英文標題置於阿拉伯文標題上方,以及逐字卡拉OK字幕(口說單詞變為強調色)。

風格:琥珀色新聞編輯室 是什麼?

此技能透過提供一段詳細的樣式指南,協助AI代理建構具有特定「琥珀色新聞編輯室」外觀的影片。其核心視覺為:一個深色網格桌面,螢幕錄影內容嵌入一個可即時重構的框架視窗內,並且僅在阿拉伯文標題和當前口說單詞上使用單一強調色(熱色)。此技能專為9:16的Reels格式設計,適合AI新聞或技術展示類內容,不適用於講座或直接推銷。它提供完整的建置流程,從套用樣式卡、指定品牌色彩,到執行指令碼以裁切影片、生成HTML字幕及處理畫面重構,並包含嚴格的品質檢查清單,確保重構時機與字幕準確性。此技能支援CLI工具,可套用樣式、執行lint檢查、生成快照與渲染草稿,並在最終輸出前進行安全區域與風格合規性驗證。

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

在你喜歡的 AI 中提問

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

說明文件

風格:琥珀色新聞編輯室 是做什麼的?

一個熱門、快速的即時新聞風格:深色網格桌面,真實螢幕置於可跳轉至討論區域的框架視窗內,阿拉伯文標題和口說單詞使用一種熱色。 卡片:video-projects/_library/styles/amber-grid-newsroom/style.md — 草案(尚未批准——請告知擁有者)。

先看外觀(在樣式資料夾中):frames/01-title-pair-window.png(不在公開儲存庫中) · frames/02-reframe-table-karaoke.png(不在公開儲存庫中) · frames/03-whiteboard-crop.png(不在公開儲存庫中)。來源專案(仍在建置中;其舊渲染檔已清除):一個較早的專案(非公開)。

0. 先套用卡片

node tools/vid.mjs style apply amber-grid-newsroom <project> [--mode calm|punchy]
node tools/vid.mjs style show amber-grid-newsroom

1. 顏色 = 角色(品牌填補十六進位色碼)

風格 = 品質、結構與動態。琥珀色是參考色——品牌工作從 brand/<name>.md 中填入角色。

角色CSS 代碼(來源模板)來自品牌
背景--bg(參考中為 #0B0A10)畫布——深色;此風格需要深色背景
墨水:字幕、拉丁標題--inktext-strong(深色背景上)
熱色:阿拉伯文標題行、口說單詞、結尾強調--hot品牌的暖色 / 注意色(主色或警告色)
視窗#win 背景(#16141D)面板 / 表面(深色)
僅阿拉伯文標題行和作用中單詞使用熱色。無第二強調色。

2. 建置方式

  • 起手碼(可重用的 EDL 建置器): 一個較早的專案(非公開) + scripts/template.tpl。將兩者複製到專案的 scripts/ 目錄中,設定 SRC(原始 OBS 錄製檔)、BAND(2160×3840 錄製檔中的螢幕區域,y 約 1312)以及視窗矩形,填入 work/edl.json(單詞選取)和 work/transcript.json,然後執行:
    node scripts/build.mjs cut     # → assets/screen.mp4 + assets/voice.m4a
    node scripts/build.mjs html    # → index.html(字幕、標題、螢幕框架)
    
    裁切步驟:brain/Jobs/Build show-off.md。字型(IBM Plex Sans Arabic, Inter)和 GSAP 位於該專案的 assets/ 目錄中。
  • 版面 9:16(1080×1920): 頂部雙標題(英文在上,阿拉伯文在下——從不混合)· 螢幕視窗 1032×800 位於 y 450(圓角 28 px,14% 透明度白色邊框 1 px,深陰影)· 字幕位於視窗下方 · 所有內容位於 x 60–960, y 220–1500 範圍內。
  • 版面 16:9: 尚未建置。
  • 背景: 微弱的 72 px 方形網格(白色線條,透明度 3.5%)+ 中心後方的暖色徑向光暈,透明度 7% + 強烈暗角(角落漸變至 75% 黑色)。無噪點。
  • 鏡頭(動態代碼): 在句子開始時,對視窗包裝器進行即時重構(tl.set),在 0.79× 寬視圖與討論區域的 1.05–1.075× 裁切之間切換;每個區段重新開始時進行 +3% 線性推近。動畫化包裝器,切勿動畫化 <video>。
  • 文字動畫: 雙標題向上移動 y 24 → 0 並在 0.35 秒內淡入(power3.out,拉丁文先,阿拉伯文延遲 0.1 秒)· 每組字幕向上移動 y 18 → 0,持續 0.18 秒 · 卡拉OK = 口說單詞即時變為熱色,下一個單詞開始時恢復為墨水色 · 結尾淡入並向上移動 30 px。
  • 轉場: 在單一連續螢幕片段內進行硬重構裁切;無退場動畫——標題和字幕在片段邊緣結束;結尾 = 黑卡在最後約 3.8 秒內於 0.4 秒淡入。
  • 模式: calm = 預設樣式(即時重構、慢速 3% 推近、無音樂、無音效)· punchy(未測試)= 更多重構、每次重構時播放滴答音效(_library/assets/sfx/el/ui-click.mp3(不在公開儲存庫中))、人聲下緊湊的背景音樂。
  • 聲音: 僅人聲(埃及阿拉伯語),標準化至 −14 LUFS。任何背景音樂來自 _library/assets/music(不在公開儲存庫中)——切勿產生音樂。

3. 在擁有者檢視前的檢查

  1. npx hyperframes lint 在專案內執行 — 0 錯誤。
  2. npx hyperframes snapshot --at <each section start + 1 s> — 讀取每幀:重構應顯示人聲提到的內容。
  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 · 阿拉伯文連寫、從右至左,阿拉伯文行中的拉丁數字使用 <bdi dir="ltr">、切勿逐字母分割、不在 <html> 上使用 dir="rtl"。
  5. 風格檢查:一次僅一個熱色單詞;檢查字幕中的型號名稱是否與螢幕相符;任何裁切中不得包含私人資料。

4. 要 / 不要

  • 要: 將熱色保留在螢幕上的一個熱點上;在討論該區域的句子處重構;標題中保持英文在上、阿拉伯文在下。
  • 不要: 添加第二強調色;使用 AI 影像作為產品證明;對影片設定 width/height 的動畫(移動包裝器)。

工作完成後:node tools/vid.mjs style comment amber-grid-newsroom "<what worked or not>"。

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 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 Midnight Screen Desk look (style card midnight-screen-desk) — a calm, organised news desk in three fixed zones: an Arabic info card on top, the real screen recording in a glowing band with punch-ins in the middle, and word-by-word captions (dim → bright) below. Use when the director picked this card, or the owner says "make it in the screen desk style", "three zones", "like the AI releases reel", "كارت فوق والشاشة في النص", or the video is AI news, a build show-off or a quick tutorial cut from his 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 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>.

相關技能