Skip to content

AI video skill for Claude Code & Codex — cinematic, editable product promos with Remotion: 124 shot recipe cards, 150 motion previews, beat sync, sound design, Motion Workbench & JianYing (CapCut CN) export.

1.5 KB
Raw Blame
import type { CardDef } from "./types";
import { textBasicCard } from "./text-basic";
import { titleCardCard } from "./inkpress/title-card";
import { captionStripCard } from "./inkpress/caption-strip";
import { flashCutCard } from "./inkpress/flash-cut";
import { audioClipCard, imageClipCard, videoClipCard } from "./media-cards";
import { BG_CARDS } from "./background-cards";
import { DEMO_CARDS } from "./demoCards";
import { PROJECT_CARDS } from "./projectCards";
import { LEGACY_CARDS } from "./legacyCards";
import { buildCardRegistry } from "./buildRegistry";

/** 注册表(同 id 先到先得):
 *  - 工作台原生卡:通用文字 / Ink Press 字卡 / 解说条 / 闪白转场(全部 schema 参数化)
 *  - 媒体卡:音频 / 视频 / 图片(成片工程 public/ 与仓库音效库都走它们)
 *  - 背景卡
 *  - 成片单元卡:已链接成片工程 workbench.ts 清单里的镜头 / 转场 / 字幕 / 叠加层
 *  - 动效库:demos/ 150 个 demo 组件(gen-index 静态索引)
 *  - 旧工程兼容卡:只进入 CARDS,不进入素材库 / Studio 使用的 CARD_LIST */
const ALL: CardDef[] = [
  textBasicCard,
  titleCardCard,
  captionStripCard,
  flashCutCard,
  audioClipCard,
  videoClipCard,
  imageClipCard,
  ...BG_CARDS,
  ...PROJECT_CARDS,
  ...DEMO_CARDS,
];

const registry = buildCardRegistry(ALL, LEGACY_CARDS);
export const CARD_LIST: CardDef[] = registry.cardList;
export const CARDS: Record<string, CardDef> = registry.cards;