Communitygithub.com

mint-lecture-room 風格

以 Mint Lecture Room 風格打造影片——冷靜的課堂剪輯:一鏡到底、緩慢變焦跟隨重點、主題字卡、互動問答卡(提問、倒數思考、揭曉答案),以及逐字亮起的卡拉 OK 字幕。

mint-lecture-room 風格 是什麼?

此技能(代號 mint-lecture-room)定義了一套專為教學影片設計的視覺風格,特別適用於 AI 課程錄影(埃及阿拉伯語)的 9:16 Reels 格式。它將一鏡到底的授課片段轉化為「冷靜課堂」風格:透過緩慢變焦取代剪輯來引導視線,並自動加入主題下方字卡、附思考倒數的問答卡,以及會逐字高亮的卡拉 OK 字幕。技能內建兩種模式:冷靜模式(預設,無音樂、無音效)與強勁模式(實驗性,快速跳接與音效點綴)。所有色彩皆由品牌變數動態決定,佈局嚴格限定於 1080×1920 的安全區域內。系統支援 Claude Code、Cursor 與 Codex 等 AI 代理工具,透過 CLI 指令與專案範本自動化套用風格,並附有一系列 lint、快照與判讀檢查,確保成果符合品質規範。

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

在你喜歡的 AI 中提問

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

說明文件

風格:Mint Lecture Room

冷靜的課堂剪輯:課程持續播放,緩慢變焦跟隨重點,問答卡先提問、等待、再揭曉答案。不在無聲處剪接——以變焦取代剪接。 卡片:video-projects/_library/styles/mint-lecture-room/style.md——草稿(尚未核准——請告知業主)。卡片品牌:任意(範例中的十六進位色僅供參考)。

先看風格(在風格資料夾中):frames/01-lesson-lower-third-karaoke.png(不在公開儲存庫中) · frames/02-question-think-rail.png(不在公開儲存庫中) · frames/03-answer-reveal.png(不在公開儲存庫中)。原始專案(仍在建置中;舊的渲染檔已清除):一個較早的專案(不公開)。

0. 先套用卡片

node tools/vid.mjs style apply mint-lecture-room <專案> [--mode calm|punchy]
node tools/vid.mjs style show mint-lecture-room

工作步驟(選取片段、字幕):brain/Jobs/Lecture clip.md。

1. 色彩 = 角色(品牌填入十六進位色)

風格 = 品質、結構與動態。午夜藍 + 薄荷綠 + 粉紅是 Midnight 的參考色——其他品牌則從 brand/<名稱>.md 中填入角色的色彩。

角色範例顏色(非真實品牌)來自品牌
卡片後方背景#1F1428canvas(暗色)
內文墨色 / 口語文字#E5DAED / #FFFFFFtext / text-strong
線條、光暈、標籤色調#A05FEFprimary
「現在」:活躍字幕單字、進度條、數值標籤#6FDCDA稀有的強調色(Midnight:薄荷綠)
標點符號:問號、揭示點#F36D78品牌的標點符號色(Midnight:粉紅)——僅用於標記
暗淡文字#CCB1DF / #C18AF6muted

lecture-* 區塊將這些顏色內聯保留——當你引入時,請將它們提升為 CSS 變數(例如 --bg、--ink、--accent、--live、--mark、--dim),然後從品牌填入。

2. 建置方式

  • 區塊(_library/compositions/portrait/),使用 node tools/vid.mjs use <區塊> <專案> 引入:
    • lecture-lower-third-9x16——主題 / 名稱條(0–6 秒)。
    • lecture-question-card-9x16——8 秒提問 → 3 秒思考倒數條 → 答案。
  • 起始專案: 一個較早的專案(不公開)——一個授課 <video>,兩個區塊都已連接、卡拉 OK 字幕、變焦時間軸。
  • 素材: 一段連續的授課片段,先重新編碼(ffmpeg … -crf 20 … -movflags +faststart,密集關鍵影格——_library/COURSE-STUDIO.md(不在公開儲存庫中))。
  • 佈局 9:16(1080×1920): 素材填滿畫面;下方字卡與問答卡位於中間區域;字幕 42 px/700;所有內容位於 x 60–960、y 220–1500。字型:Tajawal 500/700(阿拉伯文)、JetBrains Mono 700(數值標籤、kicker)。
  • 佈局 16:9: 尚未建置。
  • 攝影機(動態標記): 位於影片外層的 <div>(絕不在 <video> 上),原點 50% 35%:緩慢移動 1 → 1.06(power1.inOut)、3 秒推進至 1.25(power2.inOut)、長時間緩慢恢復、結束行時 1.4 秒推進至 1.2。卡片顯示期間變焦絕不移動。
  • 文字動畫: 提問行從遮罩升起(y 110% → 0,0.55 秒,從右側 0.22 秒交錯)· kicker 與數值標籤下落(y −12,0.45 秒)· 線條 scaleX 0 → 1 繪製(0.55 秒)· 進度條在 3 秒內線性填滿· 答案 scale-pop 0.92 → 1 back.out(1.5) + 揭示點滑入· 卡拉 OK:所有單字為 35%,當前單字使用「現在」顏色並帶有柔和光暈,口語文字為全白(即時類別切換)。
  • 轉場: 鏡頭之間無轉場(單鏡頭);卡片在其自有圖層上淡入淡出(淡出 0.4–0.5 秒 power2.in)。
  • 模式: calm = 原樣出貨(一鏡到底、緩慢變焦、無音樂、無音效)· punchy(未測試)= 跳接無聲段落、關鍵字快速變焦、答案顯示時輕柔滴答聲(_library/assets/sfx/el/ui-pop.mp3(不在公開儲存庫中))。
  • 音訊: 僅使用課程本身的音訊,將語音標準化至 −14 LUFS。calm 模式無音樂;若日後需要,請使用 _library/assets/music(不在公開儲存庫中)——絕不自行生成。

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 · 講師的臉部(若可見)不被遮擋 · 阿拉伯文正確連寫、從右至左、絕不逐字母分割;在區塊的根元素上設定 RTL,絕不在 <html> 上使用 dir="rtl"。
  5. 風格檢查:字幕單字需與音訊核對(來源逐字稿可能聽錯);卡片應置於講師的自然停頓處;每張卡片僅一個粉紅色標記。

注意事項

  • 務必: 將卡片置於自然停頓處;在答案出現前給予思考時間;核對字幕與音訊。
  • 避免: 在授課過程中於無聲處剪接;將卡片疊在正在進行的變焦之上;使用標點符號顏色製作大於標記的元素。

工作完成後:執行 node tools/vid.mjs style comment mint-lecture-room "<哪些地方順利或不順利>"。

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 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 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>.

相關技能