Communitygithub.com

bassam1998new-ops/hyperframes-students

以琥珀网格新闻编辑室风格(Amber Grid Newsroom)构建视频——一种热门的“突发新闻”桌面样式:深色网格背景,真实屏幕录制置于带边框的窗口中并可即时重帧,英文标题在上方、阿拉伯文标题在下方,以及逐词高亮的卡拉OK字幕。适用于导演指定该卡片,或负责人要求使用此风格。

hyperframes-students 是什么?

该技能提供了“琥珀网格新闻编辑室”(Amber Grid Newsroom)视频样式,专为打造快节奏、高冲击力的新闻播报视觉效果而设计。其核心特点包括:一个深色网格背景、带深色面板的真实屏幕录制窗口(可即时重帧聚焦当前讨论区域)、英文标题在上、阿拉伯文标题在下的双行标题,以及独特的逐词高亮卡拉OK字幕——当前朗读的单词会变为品牌指定的强调色(如琥珀色),读过后恢复为默认色。该样式支持9:16(竖屏)布局,适用于1080×1920分辨率,并可通过 `calm` 或 `punchy` 两种模式切换节奏。技能要求使用 OBS 录制的原始素材,在指定项目中运行 `scripts/build.mjs` 进行剪切和 HTML 构建,并依赖本地字体(IBM Plex Sans Arabic、Inter)和 GSAP 动画库。部署前需通过 `hyperframes` 工具进行 lint、渲染和安全性检查,确保敏感内容不泄漏。该技能特别适用于展示 AI 新闻或 OBS 屏幕录制内容的创作者,但明确不适用于讲座剪辑或直接推销类视频。

兼容平台~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 <项目名> [--mode calm|punchy]
node tools/vid.mjs style show amber-grid-newsroom

1. 颜色 = 角色(品牌填充十六进制值)

样式 = 质量、结构与动态。琥珀色是参考——品牌任务从 brand/<名称>.md 中填充这些角色。

角色CSS 令牌(源模板)来自品牌
场--bg(参考中为 #0B0A10)画布——必须是深色;此样式需要深色场
油墨:字幕、英文标题--inktext-strong(在深色背景上)
高亮:阿拉伯文标题行、当前朗读词、结尾强调--hot品牌的暖色/注意力颜色(primary 或 warning)
窗口#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,1 px 白色边框透明度 14%,深阴影)· 字幕位于窗口下方 · 所有内容位于 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 <每个段落起始位置 + 1 秒>——检查每一帧:重帧必须显示语音正在讨论的内容。
  3. npx hyperframes render --quality draft → node tools/vid.mjs judge <草稿.mp4> → 检查 sheet.jpg 和 safe-sheet.jpg。
  4. 安全区域:x 60–960,y 220–1500 · 阿拉伯文正确连写,从右到左,阿拉伯文行内的拉丁数字用 <bdi dir="ltr"> 包裹,绝不按字母拆分,<html> 上不设置 dir="rtl"。
  5. 样式检查:一次只高亮一个词;检查字幕中的模型名称与屏幕中是否匹配;任何裁剪中不得包含私人数据。

应做 / 不应做

  • 应做: 将高亮颜色仅用于屏幕上的一个高亮元素;在讨论该区域的句子处进行重帧;标题保持英文在上、阿拉伯文在下。
  • 不应做: 添加第二种强调色;使用 AI 图像作为产品证据;对视频元素动画化宽度/高度(应移动包装器)。

任务完成后:node tools/vid.mjs style comment amber-grid-newsroom "<哪些地方有效或无效>"。

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

相关技能