Communitygithub.com

瑞士动态卷轴风格

以瑞士网格仪表盘为视觉框架,通过薄HUD、双色块、文字敲击与硬切,精准构建128 BPM节拍驱动的视频。适用于品牌宣传、产品介绍、启动预告等图形与音乐主导的视频。

瑞士动态卷轴风格 是什么?

这是一个专为生成瑞士动态卷轴(Swiss Motion Reel)风格视频设计的AI技能,适用于Claude Code、Coder、Codex和Cursor等平台。它提供了一套精确的风格构建流程:从应用样式卡(`swiss-motion-reel`)开始,然后根据品牌色彩方案(仅用2种颜色+黑色)搭建场景,并通过命令行工具管理字体(Instrument Serif Italic + JetBrains Mono)和运动块(如`mk-scale-pop-portrait`)。核心节奏固定在128 BPM(或平静模式的100-110 BPM),场景长度1.2-2秒,过渡方式包括硬切、形状匹配、色块擦拭和飞出效果。该技能还包含严格的检查流程,包括代码linting、HUD一致性检查、帧渲染审核和阿拉伯语RTL支持。它支持16:9(已测试)和9:16(建设中)两种比例,通过`vid.mjs`工具集成到视频项目中。

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

在你喜欢的 AI 中提问

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

文档

样式:瑞士动态卷轴

一个精准、自信的动态设计卷轴:瑞士网格,每个场景上薄薄一层HUD,2种颜色+墨色,每个场景本身就是运动的微小演示,在节拍上硬切。 卡片:video-projects/_library/styles/swiss-motion-reel/style.md — 已批准 2026-10-02。

先看效果(在样式文件夹中,来自我们复制测试的16:9):frames/01-chart-start.png(不在公共仓库中) · frames/02-race-blur.png(不在公共仓库中) · frames/03-settle-ticks.png(不在公共仓库中)。测试说明:tests/2026-09-27-hyperframes-copy.md(不在公共仓库中)。

0. 先应用卡片

node tools/vid.mjs style apply swiss-motion-reel <project> [--mode calm|punchy]
node tools/vid.mjs style show swiss-motion-reel

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

风格 = 质量、结构和运动。纸色/蓝色/红色是参考——除非品牌指定,否则永远不要直接使用。

角色CSS 令牌(建议)来自 brand/<name>.md
纸色/画布--papercanvas
主色块--primaryprimary (brand)
强调色块(平静模式下最多10%)--accentaccent 或 danger,谨慎使用
墨色--inktext-strong
“良好”数字--oksuccess
屏幕上同时仅显示 2 种颜色 + 墨色。

2. 构建它

  • 起始代码: 一个早期项目(不公开)—— HUD(角括号、品牌 + “MOTION REEL — year”、“NN — SCENE NAME”、时间码 + fps、BPM + 4个节拍方块 + BAR n/8、进度条)和六缓动图表场景。将其复制到项目的 compositions/ 中,并保持 HUD 在每个场景中恒定不变。
  • 块: 运行 node tools/vid.mjs find <term> + director/library.md 首先。有用的有:mk-scale-pop-portrait、mk-ramped-type-portrait、mk-line-mask-portrait(文本);一个 three.js 块(例如 code-particle-assemble)用于点云时刻。通过 node tools/vid.mjs use <block> <project>(将 CDN GSAP/three 替换为本地副本)引入每个块。
  • 字体: Instrument Serif 斜体用于显示——只有常规体(_library/assets/fonts/instrument-serif-latin-400-normal.woff2(不在公共仓库中))已入库;先入库真正的斜体文件(浏览器伪斜体效果更差)。大写字母标签:JetBrains Mono(已入库)。绝不要将字体面部命名为“Serif”——它会回退到无衬线字体(使用“InstSerif”)。
  • 布局 16:9(1920×1080): 按照复制测试(构建于 1280×720)。9:16(1080×1920): 尚未构建——将 HUD 移动到 1080×1920 框架的角落,并保持场景内容在 x 60–960、y 220–1500 内。
  • 节奏: 128 BPM = 每拍 0.469 秒,每小节 1.875 秒;场景 1.2–2 秒(最长 2.5 秒);大变化在小节开始。通过 node video-projects/_library/beat-grid.mjs(不在公共仓库中)<music file> 获取网格。
  • 运动令牌: 进入 expo.out · 退出 power3.in · 强调 back.out(2.6) · 微动 120 ms · 标准 300 ms · 主导 940 ms · 交错 15 ms。
  • 文本动画: 单词敲击(缩放 1.4 → 1,120 ms)· 字母折叠为点 · 斜体衬线副行淡入 · 等宽标签打字上屏。
  • 过渡: 在节拍上硬切 · 形状匹配(一个点变成下一个场景的形状)· 色块擦拭 · 带假运动模糊的飞出(scaleX 按速度拉伸 + 模糊,最大 7 px)和幽灵环。
  • 模式: 平静 = 100–110 BPM,减少闪烁,强调色仅作为小点(轻量 B2B 品牌) · 强力 = 128 BPM,全帧色块,更快的敲击,更多音效。
  • 声音: 电子/极简科技,120–128 BPM,来自 _library/assets/music(不在公共仓库中)(绝不要生成音乐)。音效最多每拍一个:节拍方块上的滴答声(_library/assets/sfx/el/ui-click.mp3(不在公共仓库中)),飞出时的呼啸声(whoosh-fast.mp3),标志上的轻柔打击(impact-soft.mp3)。音乐主导时为 −14 LUFS;有配音时,音乐在配音下方约为 −18 LUFS。

3. 在所有者查看之前的检查

  1. npx hyperframes lint 在项目内 — 0 个错误。
  2. npx hyperframes snapshot --at <mid-scene + exit of each scene> — 读取每一帧:HUD 存在且相同,仅 2 种颜色 + 墨色。
  3. npx hyperframes render --quality draft → node tools/vid.mjs judge <draft.mp4> → 读取 sheet.jpg 和 safe-sheet.jpg。
  4. 安全区域(9:16)x 60–960,y 220–1500 · 阿拉伯语使用几何无衬线字体,连写,从右到左,绝不按字母拆分或按字母敲击,<html> 上不要设置 dir="rtl"。
  5. 样式检查:剪辑落在节拍上(将时间与节拍网格进行比较);仅确定性(种子随机);除非所有者要求 60 fps(渲染时间加倍),否则以 30 fps 渲染。

应该做 / 不应该做

  • 应该做: 保持 HUD 恒定——它将卷轴串联起来;从上一场景的最后一个形状构建每个场景;所有时间从 BPM 计算。
  • 不该做的: 为平静品牌使用参考的亮红色;在点云是主角时用 CSS 伪造 3D(使用 three.js);让退出直接飞走——折叠并汇聚到下一个形状中。

任务完成后:node tools/vid.mjs style comment swiss-motion-reel "<什么有效或无效>"。

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

相关技能