andyhuo520/vibe-knowledge / skills/ai-teardown
ai-teardown
Unverified「AI 拆机课」系列课工作室:输入一个主题(AI 产品、开源项目/书、人物历史、软件教程),产出由浅入深、每句话有出处的中文讲解视频系列 + 每节互动版 + 课程总页。流水线:收集资料 → 确认对象与课时 → 大纲 → 逐节旁白(MiMo 克隆音色 + 逐字对齐)→ scenes.json 画面编排(Notion 极简手绘引擎 / 马卡龙模板引擎,IconPark 图标与插画、Noto 动态 emoji、AntV X6 流程图、像素讲解小人、截图圈注、终端录屏)或 film.js 代码成片(cine 引擎:Three.js、粒子、着色器、真片段叠加、曲库配乐)→ Hyperframes / 无头 GPU 逐帧 1080p 渲染 → Artifact 发布 → 课程总页 + 导学视频。触发:做系列课 / 做课程视频 / 把某本书或某个开源项目做成课 / 科普讲解视频 / 教学视频 / 课程地图 / 导学视频 / 互动课件 / 「拆机课」「上手课」「实战课」「编排课」/ 王炸讲解片 / 用真实会话和成片教人做视频。不用于:单支宣传片(用 promo-video)、单张信息图、纯文章写作。
engine/primitives/floaties.js
View on GitHub/**
* Floaties 漂浮小图标:几枚马卡龙色小圆徽章依次弹出,之后轻轻上下漂、微微摆动,给大标题、开场、收尾添点活气。
* 位置固定,不跟镜头走;render 是纯函数(漂浮相位由序号决定,不用随机数)。
*
* params
* items [{icon, x, y, size=72, color:"m1".."m6", at}]
* out
*/
import { h, setStyle } from "../runtime/dom.js";
import { appear, hz } from "../runtime/spring.js";
import { clamp01, cubicInOut, hash01 } from "../runtime/ease.js";
import { ico, drawIcon } from "../runtime/iconify.js";
const CSS = `
.fl{position:absolute;left:0;top:0;width:0;height:0}
.fl-it{position:absolute;border-radius:50%;display:grid;place-items:center;border-style:solid;box-shadow:var(--shadow)}
`;
const POP = { w: hz(3), z: 0.5 };
export default {
name: "floaties",
create(root, p, ctx) {
ctx.css("pr-floaties", CSS);
const out = p.out ?? Infinity;
const el = h("div", { class: "fl" });
root.append(el);
const its = p.items.map((it, i) => {
const sz = it.size ?? 72;
const c = it.color ?? `m${1 + (i % 6)}`;
const d = h("div", { class: "fl-it", style: { width: `${sz}px`, height: `${sz}px`, left: `${it.x - sz / 2}px`, top: `${it.y - sz / 2}px`,
background: `var(--${c}-t)`, borderColor: `var(--${c})`, borderWidth: `${Math.max(3, Math.round(sz / 22))}px` } });
const svg = ico(it.icon, Math.round(sz * 0.5), { color: `var(--${c}-d)`, stroke: 2, draw: true, tone: c });
d.append(svg);
el.append(d);
return { it, d, svg, ph: hash01(i, 17) * 6.28, per: 2.8 + hash01(i, 23) * 1.6, amp: 7 + hash01(i, 29) * 6, rot: (hash01(i, 31) - 0.5) * 16 };
});
return {
duration: out,
sfx: p.items.map((it) => ({ t: it.at, name: "pop", gain: -25 })),
render(t) {
const o = clamp01((t - out) / 0.3);
setStyle(el, "opacity", (1 - o).toFixed(3));
for (const q of its) {
const a = appear(t, q.it.at, POP);
const vis = t >= q.it.at - 0.02 && o < 1;
setStyle(q.d, "display", vis ? "" : "none");
if (!vis) continue;
const bob = Math.sin((2 * Math.PI * t) / q.per + q.ph);
setStyle(q.d, "transform", `translateY(${(bob * q.amp).toFixed(2)}px) rotate(${(q.rot * bob * 0.5).toFixed(2)}deg) scale(${a.toFixed(4)})`);
setStyle(q.d, "opacity", clamp01(a * 2).toFixed(3));
drawIcon(q.svg, cubicInOut(clamp01((t - q.it.at - 0.1) / 0.6)));
}
},
};
},
};
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |