Communitygithub.com

bassam1998new-ops/hyperframes-students

构建奶油色插入符风格视频(样式卡片 cream-caret-type)——阿拉伯语单词逐字键入,带有彩色插入符,在纯色双页背景(黑夜与纸张在硬切中互换)上进行选择高亮、删除、重新键入,包含扁平轮廓剪影、一个彩色圆点经匹配剪切变为扁平矢量眼睛、透过虹膜的放大效果、一个固定名词搭配每16帧切换的粗体动词、结尾的像素艺术图标以及花押结束卡片——每个事件对应一种音效,中间静音。

hyperframes-students 是什么?

此技能用于创建一种独特的“奶油色插入符类型”(Cream Caret Type)视频风格,特别针对阿拉伯语内容优化。它模拟了一个实时文本编辑器界面:在纯色双页背景(黑夜与纸张色)上,阿拉伯语单词逐字键入并带有彩色插入符,支持选择高亮、删除和重新键入操作。该风格包含一系列动态视觉元素:一个彩色圆点通过匹配剪切变为扁平矢量眼睛,然后放大透过虹膜;一个固定名词搭配每16帧切换一次的粗体动词;一个基于用户头像的扁平轮廓剪影;一个像素艺术图标(如挥手动画);以及一个花押结束卡片。每项操作都配有专门的音效,事件之间保持静音。该技能通过 `node tools/vid.mjs style apply cream-caret-type` 命令应用,默认输出 9:16 竖版格式,专为频道介绍、“我是谁”短片、课程或服务开场钩子、口播前短开场、文字游戏承诺片段或缓冲条设计,不适合全程口播、录屏演示、数据密集型解说或全字幕内容。目前为草稿状态,未经测试。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/bassam1998new-ops/hyperframes-students/tree/HEAD/.claude/skills/style-cream-caret-type

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

风格:奶油色光标打字

“实时文本编辑器”简介:两个平坦色块,一种强调色,阿拉伯语逐字母键入并带有光标,在屏幕上编辑,一个点变为一只眼睛,然后是一个名词搭配交换的粗体动词。文本即是声音;每一次移动都有其细微声响。 卡片:video-projects/_library/styles/cream-caret-type/style.md — 状态草稿(请告知所有者,直至他在看板上批准为止)。此样式尚未构建或渲染。

优先查看(在样式文件夹中):frames/01-typed-word-measure-guides.png(不在公共仓库中) · frames/02-select-highlight-silhouette.png(不在公共仓库中) · frames/03-flat-eye-blur-slide.png(不在公共仓库中) · frames/04-verb-swap-icon-underline.png(不在公共仓库中) · frames/05-bold-word-pixel-icon.png(不在公共仓库中)。这些是其他创作者的参考静帧——仅供查看,切勿将其发送给AI工具,首次构建后请替换为我们的帧。运动:refs/ref-typing-10fps.jpg(不在公共仓库中)、refs/ref-dot-to-eye-matchcut-10fps.jpg(不在公共仓库中)、refs/ref-eye-zoom-through-10fps.jpg(不在公共仓库中);声音:refs/ref-audio-spectrogram.jpg(不在公共仓库中);故事:refs/README.md(不在公共仓库中)。

0. 首先应用卡片

node tools/vid.mjs style apply cream-caret-type <项目> [--mode calm|punchy]
node tools/vid.mjs style show cream-caret-type

复制:埃及阿拉伯语本地书写(切勿翻译参考对象的黎凡特语行);在构建前向所有者展示词句。

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

风格 = 质量、结构与动态。除非品牌指定,切勿使用参考中的海军蓝/奶油色/橙色。

角色CSS令牌测试默认值(参考)来自brand/<名称>.md
夜色背景、剪影、纸上墨色--night#0E1A2B深色画布 / 正文-强调色
纸面、巩膜、夜色墨色--paper#F8F1EC浅色画布
光标、选区(40%)、一个点、虹膜、下划线、图标--accent#FA692C主色——每次一个,占画面≤3%
淡出文字、指引标签--muted#8E93A8弱化色
结尾卡片色块--tile#16233B夜色提亮约5%

2. 进行构建

  • 库优先:node tools/vid.mjs find --portrait --arabic-safe … + director/library.md。最接近的模块(node tools/vid.mjs use <模块> <项目>):
    • mk-hook-title-ar-portrait — 粗体阿拉伯语主打词汇,搭配本地Cairo字体及从右至左安全布局;复用它外壳,将其遮罩显示替换为打字机效果。
    • mk-callout-highlight-9x16 — 单词级跨度由单词计时标量驱动;用于400+700两个字重行以及淡入弱化色保留一个单词的效果。
    • icon-animation-9x16 — Lucide描边绘制图标;交换动词上方的36px强调色图标。
    • yt-camera-move-9x16 — 数字推近配合虚化;剪影上的0.2秒推进(添加运动模糊)。
    • mk-cta-endcard-portrait — 字母组合块结尾卡片的基底(所有者自己的标记,绝不用参考的)。
  • 手动构建(尚未加入库):
    1. 阿拉伯语打字机+光标 — 一个文本节点,el.textContent = clusters.slice(0, n).join(''),通过GSAP代理{n}(支持时间跳转);使用Intl.Segmenter('ar', {granularity: 'grapheme'})分割,使得示达/音符与字母一同键入。库中仅存在面向拉丁字母的模式(位于_library/assets/kits/node-explainer/nx.js的type()中,它会按代码单元切片——不可直接用于阿拉伯语)。光标 = 文本视觉左侧的一个4px强调色条形,打字时实心,单词完成后约0.4秒隐藏(无闪烁)。
    2. 选择→删除→重新键入 — 单词后方40%透明度的强调色框(100毫秒进入,200毫秒保持),然后在单帧内将n重置为0,再键入新词。
    3. 测量指引叠加层(仅首节拍)— 在文本边界框上的1px虚线(全宽/全高),以及根据每次更新getBoundingClientRect()读取的弱化色11px“宽度px / 高度px”标签。
    4. 点→眼睛匹配剪辑 — 单词在0.3秒内淡化为--muted,而一个点(置于字母点上而非字形本身的小型强调色圆形)保持不动;硬切至SVG眼睛,其虹膜中心即该点位置。眼睛:在--night上的--paper杏仁形路径,强调色虹膜+夜色瞳孔+白色高光;眼睑0.2秒张开,向右0.2秒移动并带有3个鬼影副本(透明度0.45/0.25/0.12),然后返回。
    5. 缩放穿越 — 在0.14秒内(expo.in)将眼睛组缩放约12倍至虹膜,并添加模糊,然后硬切至纸面。
    6. 动词交换槽 — 固定名词(400)+动词(700)在同一从右至左行中;每0.533秒(30fps下16帧)在精确帧边界上交换动词文本,图标以back.out(1.7)弹出,步进式下划线(SVG折线)在0.2秒内画在名词下方。
    7. 剪影 — 使用所有者自己的个人照片(阈值+填充--night,可自由在代码中或一次性用ffmpeg处理);绝不生成,绝不使用参考的。
    8. 像素艺术图标 — 由小方块构成的SVG(例如挥手动作),2个波浪周期。
  • 布局9:16(1080×1920): 单个居中的词/行位于y≈918(48%);剪影旁边的侧对齐文本右对齐于x≤960(参考中达到约1005——不要效仿);所有内容位于x 60–960、y 220–1500范围内;底部20%留空。字号:主词约200px(字体重量700),侧词约115px,交换行约85px,小行约55px,字母间距0,仅在文本元素上设置dir="rtl"。
  • 布局16:9: 未构建——没有参考依据。
  • 运动令牌: 卡片中的```json块(主词打字100毫秒/字符,小词60毫秒;交换533毫秒;推进200毫秒;缩放穿越140毫秒;滑入300毫秒带18px模糊;结尾卡片1.7秒)。
  • 字幕: 此样式无字幕栏——屏幕上的文字即为脚本。如果添加所有者语音,请使用arabic-captions技能(先使用Scribe,或本地faster-whisper large-v3对齐脚本;使用后关闭Whisper)将每个键入行与其语音同步,且仅键入关键短语,而非每个单词。
  • 音效: 仅限音效,每个事件一个音效,事件间静音:sfx/el/ui-type.mp3(打字时)· impact-soft.mp3 / impact-tight.mp3(切换时)· impact-deep.mp3 或 sub-drop.mp3(眼睛出现时)· whoosh-reverse.mp3(缩放穿越前)· ui-pop.mp3(每次交换时,音调逐次升高一个半音)· stinger-brand.mp3(结尾卡片下方)。母带−14 LUFS,响度上限−1 dBTP。仅在punchy模式使用音乐且音量较低,音乐来自_library/assets/music(不在公共仓库中)(绝不生成音乐)。

3. 所有者审阅前检查

  1. npx hyperframes lint 在项目内运行 — 0个错误,无远程字体/GSAP。
  2. npx hyperframes snapshot --at <打字中, 选中后, 眼睛, 交换1, 交换3, 结尾> — 逐帧阅读:阿拉伯语在每个打字步骤中正确连接(无孤立示达,无断开形式),光标位于左侧。
  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 · 阿拉伯语从右至左,不使用单词级跨度,不在<html>上设置dir="rtl"。
  5. 样式检查:仅使用两个色块+一个强调色;交换落在帧边界上(逐步检查16帧跨度);每个视觉事件都有对应音效且间隙静音(ffmpeg … showspectrumpic 与 refs/ref-audio-spectrogram.jpg(不在公共仓库中)对比);真实峰值≤−1 dBTP;不包含参考中的任何单词、名称、剪影或标记。

必须 / 禁止

  • 必须: 每个键入行一个想法;按字素簇作为一个字符串增长阿拉伯语;使用所有者自己的剪影和标记;从首轮构建中制作3–6个我们的帧并替换参考静帧;对30fps的打字片段与refs/ref-typing-10fps.jpg(不在公共仓库中)进行对照判断。
  • 禁止: 复制参考的文字或身份;在交换时使用交叉淡化;添加颗粒、渐变或第三种主要颜色;将帧/发送给AI工具;在此样式上花费额度;自行批准卡片。

任务完成后:node tools/vid.mjs style comment cream-caret-type "<哪些有效或无效>"。

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

相关技能