- name
SKILL.md
技能檔案保留在發布者的儲存庫中。
在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add blixvip/html-anime --skill html-anime-render -a cursor -y在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add blixvip/html-anime --skill html-anime-render -a claude-code -y在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add blixvip/html-anime --skill html-anime-render -a codex -y在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add blixvip/html-anime --skill html-anime-render -a grok -y在 Grok Bot 聊天中傳送複製的訊息。Bot 會從 GitHub 取得這個 SKILL.md,並加入你所有 Bot 共用的技能中。
Install this skill: https://github.com/blixvip/html-anime/tree/HEAD/skills/html-anime-render來自發布者
The film is one HTML file. HyperFrames seeks it. Same file, same frame.
films/<slug>/index.html
Root element:
<div
id="root"
data-composition-id="film"
data-start="0"
data-duration="8"
data-width="1920"
data-height="1080"
></div>
data-duration is the runtime on the sheet. Clips inside use data-start, data-duration, and data-track-index. Same-track clips do not overlap. data-track-index is not z-order. z-index is CSS.
A short under 30 seconds stays one file. Do not split shots into sub-compositions unless a shot is reused.
const tl = gsap.timeline({ paused: true });
window.__timelines = window.__timelines || {};
window.__timelines["film"] = tl;
async, setTimeout, or Promise.https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js.visibility or display.play() on media. No repeat: -1. A looping rain field uses a finite repeat that covers the runtime.Math.random(), Date.now(), or reading the clock. If you need variation, write the values out.tl.set is allowed at a clip's start time or later. Do not gsap.set a later shot's elements before that shot exists.Characters do not fade up. The cut is a color dip. This replaces the motion-graphics habit of fading every element in.
Straddle the cut by about a quarter second on each side. The outgoing shot is still fully drawn when the dip covers it. The incoming shot is already in its hero-frame CSS underneath.
tl.set("#dip", { opacity: 0 }, 0);
tl.to("#dip", { opacity: 1, duration: 0.25, ease: "power2.in" }, cut - 0.25);
tl.to("#dip", { opacity: 0, duration: 0.35, ease: "power2.out" }, cut + 0.05);
#dip is a full-frame element on a higher track, filled with accent or ink. Scene content does not animate out, except the button shot's last 8 frames to ink.
Drawing changes inside a shot are tl.set opacity swaps, on frame boundaries.
Prefer a font shipped as a .woff2 next to the file, with @font-face. A render must not depend on a stylesheet fetched at capture time. One family is enough for the line.
From the film directory:
npx hyperframes lint
npx hyperframes validate
Both pass. Then watch it (npx hyperframes preview) before you call the film finished. If a HyperFrames skill is also installed, it covers engine details this file does not. When it wants a fade-in on a character, this file wins.
Author an html-anime film as a deterministic HyperFrames HTML composition — timeline registration, a color-dip cut, drawing swaps, and the lint gate. Use when writing or fixing the HTML for a code-dra
---name: html-anime-renderdescription: Author an html-anime film as a deterministic HyperFrames HTML composition — timeline registration, a color-dip…---# skills/html-anime-render/SKILL.md總覽
Author an html-anime film as a deterministic HyperFrames HTML composition — timeline registration, a color-dip cut, drawing swaps, and the lint gate. Use when writing or fixing the HTML for a code-drawn anime short.
常見問題
從發布者下載 skills/html-anime-render/SKILL.md,或複製路徑後開啟儲存庫。PlugMCP 只收錄這項技能,不代管檔案。
發布者將它存放在 https://github.com/blixvip/html-anime。
Claude、Cursor、Codex 和 Grok Build 可以讀取你從發布者儲存庫加入的 SKILL.md。在聊天中傳送技能的 GitHub 資料夾連結,Grok Bot 就會安裝它。