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/scripts/emoji.py
View on GitHub#!/usr/bin/env python3
"""从微软 Fluent Emoji(MIT)抓 3D 彩色图标,放进系列的 assets/img/,并登记进 images.json(出处自动显示)。
用法:python3 scripts/emoji.py <系列目录> [--color] "Robot" "Bar chart" "Man office worker" ...
- 默认抓 3D 版(PNG,id emoji-<名>,手账风用);--color 抓扁平彩色版(SVG,id emojic-<名>,Notion 极简风用)。
- 名字就是 fluentui-emoji 仓库 assets/ 下的文件夹名(大小写照抄,例如 "Magnifying glass tilted left")。
- 有肤色变体的(人物、手势)自动取 Default。图片 id 为 emoji-<小写连字符>,例如 emoji-bar-chart。
"""
import json, subprocess, sys, urllib.parse
from pathlib import Path
from PIL import Image
RAW = "https://raw.githubusercontent.com/microsoft/fluentui-emoji/main/assets/"
def fetch(url, out):
r = subprocess.run(["curl", "-sfL", "--max-time", "60", "-o", str(out), url])
return r.returncode == 0 and out.exists() and out.stat().st_size > 1000
def main():
sd = Path(sys.argv[1]); names = [n for n in sys.argv[2:] if n != "--color"]
color = "--color" in sys.argv
img = sd / "assets/img"; img.mkdir(parents=True, exist_ok=True)
led = img / "images.json"
data = json.loads(led.read_text()) if led.exists() else {"images": []}
have = {i["id"] for i in data["images"]}
for n in names:
slug = n.lower().replace(" ", "-").replace("’", "").replace("'", "")
pre, ext, kind = ("emojic", "svg", "Color") if color else ("emoji", "png", "3D")
iid, out = f"{pre}-{slug}", img / f"{pre}-{slug}.{ext}"
snake = n.lower().replace(" ", "_").replace("-", "_")
q = urllib.parse.quote(n)
k = kind.lower()
ok = out.exists() or any(fetch(RAW + p, out) for p in (f"{q}/{kind}/{snake}_{k}.{ext}", f"{q}/Default/{kind}/{snake}_{k}_default.{ext}"))
if not ok:
print(f"✗ {n}(查一下 fluentui-emoji 仓库里的准确文件夹名)"); out.unlink(missing_ok=True); continue
w, h = (256, 256) if color else Image.open(out).size
if iid not in have:
data["images"].append({"id": iid, "file": out.name, "width": w, "height": h, "artist": "Microsoft",
"license": "MIT", "source": "Fluent Emoji(github.com/microsoft/fluentui-emoji)", "credit": "图标:Microsoft Fluent Emoji · MIT"})
have.add(iid)
print(f"✓ {iid} {w}×{h}")
led.write_text(json.dumps(data, ensure_ascii=False, indent=1), encoding="utf-8")
if __name__ == "__main__":
main()
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 |