Skip to content

norahe0304-art/30x-video / cli/skill

30x-web-to-video

Flagged

Use when a user gives a brand URL and wants a premium launch, demo, or marketing video. Zero-manual workflow — Claude runs the V2 orchestrator itself (scrapes brand evidence, auto-installs missing tools, generates the first-cut Remotion project). User only sees the URL and the Studio preview.

FileKindSize
.gitignoreother103 B
AGENTS.mdmarkdown2.5 KB
FUSION-REPORT.mdmarkdown12.3 KB
README.mdmarkdown3.6 KB
SKILL.mdskill md30.7 KB
benchmarks/AGENTS.mdmarkdown773 B
benchmarks/README.mdmarkdown2.8 KB
benchmarks/manifest.jsonconfig5.9 KB
examples/INDEX.mdmarkdown1.8 KB
examples/caylent/MainVideo.tsxother6.0 KB
examples/caylent/scenes-v2/Act1V2.tsxother1.9 KB
examples/caylent/scenes-v2/Act2V2.tsxother2.5 KB
examples/caylent/scenes-v2/Act3V2.tsxother11.3 KB
examples/caylent/scenes-v2/Act4V2.tsxother8.6 KB
examples/caylent/scenes-v2/Act5V2.tsxother1.0 KB
examples/caylent/scenes/Act1.tsxother6.0 KB
examples/caylent/scenes/Act2.tsxother2.5 KB
examples/caylent/scenes/Act3.tsxother7.4 KB
examples/caylent/scenes/Act4.tsxother7.1 KB
examples/caylent/scenes/Act5.tsxother2.2 KB
examples/caylent/theme.tsscript1.2 KB
examples/cofounder/MainVideo.tsxother5.5 KB
examples/cofounder/scenes/AGENTS.mdmarkdown1.4 KB
examples/cofounder/scenes/Act1.tsxother2.3 KB
examples/cofounder/scenes/Act2.tsxother2.4 KB
examples/cofounder/scenes/Act3a.tsxother6.7 KB
examples/cofounder/scenes/Act3b.tsxother8.5 KB
examples/cofounder/scenes/Act3c.tsxother6.8 KB
examples/cofounder/scenes/Act4.tsxother4.4 KB
examples/cofounder/scenes/Act5.tsxother3.3 KB
examples/cofounder/scenes/World.tsxother4.0 KB
examples/cofounder/theme.tsscript1.5 KB
examples/happy-model/MainVideo.tsxother6.8 KB
examples/happy-model/scenes/AGENTS.mdmarkdown1.7 KB
examples/happy-model/scenes/Act1.tsxother7.9 KB
examples/happy-model/scenes/Act2.tsxother10.2 KB
examples/happy-model/scenes/Act3.tsxother15.6 KB
examples/happy-model/scenes/Act4.tsxother16.9 KB
examples/happy-model/scenes/Act5.tsxother9.0 KB
examples/happy-model/scenes/copy.tsscript588 B
examples/happy-model/theme.tsscript1.2 KB
examples/mana/MainVideo.tsxother4.9 KB
examples/mana/scenes/AGENTS.mdmarkdown926 B
examples/mana/scenes/Act1Open.tsxother2.8 KB
examples/mana/scenes/Act2Hero.tsxother3.3 KB
examples/mana/scenes/Act3Flavors.tsxother9.0 KB
examples/mana/scenes/Act4Label.tsxother7.3 KB
examples/mana/scenes/Act5Close.tsxother4.7 KB
examples/mana/scenes/World.tsxother7.2 KB
examples/mana/theme.tsscript2.6 KB
examples/parker/MainVideo.tsxother6.2 KB
examples/parker/scenes/AGENTS.mdmarkdown1.1 KB
examples/parker/scenes/Act1Hook.tsxother3.2 KB
examples/parker/scenes/Act2Meet.tsxother2.3 KB
examples/parker/scenes/Act2Problem.tsxother3.6 KB
examples/parker/scenes/Act3Steps.tsxother4.7 KB
examples/parker/scenes/Act4Proof.tsxother3.2 KB
examples/parker/scenes/Act5Close.tsxother2.6 KB
examples/parker/scenes/PaperWorld.tsxother6.8 KB
examples/parker/theme.tsscript1.6 KB
examples/perplexity-pc/MainVideo.tsxother4.5 KB
examples/perplexity-pc/scenes/Act1.tsxother2.1 KB
examples/perplexity-pc/scenes/Act2.tsxother2.7 KB
examples/perplexity-pc/scenes/Act3.tsxother3.1 KB
examples/perplexity-pc/scenes/Act4.tsxother1.6 KB
examples/perplexity-pc/scenes/Act5.tsxother2.0 KB
examples/perplexity-pc/theme.tsscript2.5 KB
references/AGENTS.mdmarkdown767 B
references/animations.mdmarkdown15.1 KB
references/audio.mdmarkdown8.6 KB
references/components.mdmarkdown9.5 KB
references/lottie.mdmarkdown5.1 KB
references/visual-effects.mdmarkdown5.0 KB
rules/AGENTS.mdmarkdown3.0 KB
rules/archetypes.mdmarkdown6.0 KB
rules/artifact-catalog.mdmarkdown10.8 KB
rules/beat-sync.mdmarkdown5.7 KB
rules/cards.mdmarkdown2.5 KB
rules/cinematic.mdmarkdown6.7 KB
rules/color.mdmarkdown2.2 KB
rules/composition.mdmarkdown13.2 KB
rules/creative-moves.mdmarkdown3.8 KB
rules/data-viz.mdmarkdown1.9 KB
rules/finish-gate.mdmarkdown5.2 KB
rules/layout.mdmarkdown6.6 KB
rules/media-resolve.mdmarkdown7.1 KB
rules/motion.mdmarkdown9.5 KB
rules/narration-sync.mdmarkdown5.5 KB
rules/narrative-templates.mdmarkdown10.4 KB
rules/narrative.mdmarkdown7.3 KB
rules/qc-gates.mdmarkdown11.3 KB
rules/taste.mdmarkdown12.6 KB
rules/transitions.mdmarkdown2.7 KB
rules/typography.mdmarkdown4.1 KB
rules/ui-mockups.mdmarkdown5.6 KB
rules/workflow.mdmarkdown53.2 KB
scaffold/.prettierrcother66 B
scaffold/AGENTS.mdmarkdown1.1 KB
scaffold/eslint.config.mjsscript79 B
scaffold/package-lock.jsonmanifest186.3 KB
scaffold/package.jsonmanifest1.5 KB
scaffold/remotion.config.tsscript219 B
scaffold/src/AGENTS.mdmarkdown831 B
scaffold/src/MainVideo.tsxother41.7 KB
scaffold/src/Root.tsxother2.3 KB
scaffold/src/components/AGENTS.mdmarkdown1.5 KB
scaffold/src/components/Animations.tsxother6.8 KB
scaffold/src/components/Atmosphere.tsxother8.1 KB
scaffold/src/components/Background.tsxother4.5 KB
scaffold/src/components/Captions.tsxother6.4 KB
scaffold/src/components/LogoEntrance.tsxother15.2 KB
scaffold/src/components/MockupTemplates.tsxother19.0 KB
scaffold/src/components/PhoneFrame.tsxother3.6 KB
scaffold/src/components/ShaderFX.tsxother5.3 KB
scaffold/src/components/Transitions.tsxother8.4 KB
scaffold/src/components/UI.tsxother3.0 KB
scaffold/src/components/VisualEffects.tsxother10.7 KB
scaffold/src/generated/AGENTS.mdmarkdown508 B
scaffold/src/generated/beat-map.tsscript1.1 KB
scaffold/src/generated/project-data.tsscript5.2 KB
scaffold/src/index.cssother576 B
scaffold/src/index.tsscript400 B
scaffold/src/lib/AGENTS.mdmarkdown411 B
scaffold/src/lib/fonts.tsscript867 B
scaffold/src/lib/modes.tsscript2.2 KB
scaffold/src/lib/utils.tsscript352 B
scaffold/src/theme.tsscript2.5 KB
scaffold/tsconfig.jsonconfig333 B
scripts/AGENTS.mdmarkdown2.4 KB
scripts/analyze-audiomap.pyscript13.3 KB
scripts/beat-sync.tsscript12.1 KB
scripts/benchmark-suite.tsscript17.8 KB
scripts/critique-scenes.tsscript10.1 KB
scripts/evidence-model.tsscript9.4 KB
scripts/generate-bgm.pyscript10.5 KB
scripts/iterate.tsscript4.0 KB
scripts/project-blueprint.tsscript12.1 KB
scripts/regenerate-scene.tsscript7.4 KB
scripts/render-qa.tsscript9.0 KB
scripts/scene-constitution.tsscript13.4 KB
scripts/timing-audit.tsscript9.5 KB
scripts/url-to-video.tsscript68.6 KB
scripts/visual-audit.tsscript26.5 KB

scaffold/src/components/Transitions.tsx

View on GitHub
/**
 * [INPUT]: @remotion/transitions 自定义 presentation API, React
 * [OUTPUT]: 7 个转场家族 — whipPan / maskWipe / push / zoomPunch / blurDissolve / flashThrough / glitchCut
 * [POS]: scaffold 组件库的转场层; 还"全片 fade"的债 (对标 hyperframes transitions-* 12 家族的高频子集)
 * [PROTOCOL]: 变更时更新此头部,然后检查 AGENTS.md
 *
 * 用法 (与 fade() 同位替换):
 *   <TransitionSeries.Transition presentation={whipPan({ direction: "left" })} timing={linearTiming({ durationInFrames: 10 })} />
 * 选型指南:
 *   fade         — 默认呼吸 (慢, 稳)                whipPan   — 高能量段落切换 (8-12f, 踩拍)
 *   maskWipe     — 章节感 (12-16f)                  push      — 平移叙事/并列关系 (10-14f)
 *   zoomPunch    — 落重点/reveal (10-14f)           blurDissolve — 梦境/时间流逝 (16-24f)
 *   flashThrough — keynote 大厂闪切 (6-10f)          glitchCut — 科技/故障语义 (6-8f, 慎用)
 */
import React, { useMemo } from "react";
import { AbsoluteFill } from "remotion";
import type {
  TransitionPresentation,
  TransitionPresentationComponentProps,
} from "@remotion/transitions";

type Dir = "left" | "right" | "up" | "down";
const VEC: Record<Dir, [number, number]> = {
  left: [-1, 0],
  right: [1, 0],
  up: [0, -1],
  down: [0, 1],
};

// 进出双方共用的包装 — progress ∈ [0,1], entering 从 1-p 侧进, exiting 向 p 侧出
const wrap = (style: React.CSSProperties, children: React.ReactNode) => (
  <AbsoluteFill style={style}>{children}</AbsoluteFill>
);

// ── 1. whipPan — 快速甩镜: 平移 + 方向模糊, 高能量切换 ──────────────
type WhipProps = { direction?: Dir };
const WhipComp: React.FC<TransitionPresentationComponentProps<WhipProps>> = ({
  children,
  presentationDirection,
  presentationProgress,
  passedProps,
}) => {
  const [dx, dy] = VEC[passedProps.direction ?? "left"];
  const p = presentationProgress;
  const isIn = presentationDirection === "entering";
  const shift = isIn ? (1 - p) * -100 : p * 100;
  // 模糊在中段最强 — 甩动感
  const blur = Math.sin(p * Math.PI) * 26;
  return wrap(
    {
      transform: `translate(${dx * shift}%, ${dy * shift}%)`,
      filter: `blur(${Math.abs(dx) * blur}px) blur(${Math.abs(dy) * blur}px)`,
    },
    children,
  );
};
export const whipPan = (props: WhipProps = {}): TransitionPresentation<WhipProps> => ({
  component: WhipComp,
  props,
});

// ── 2. maskWipe — 定向遮罩揭示: 章节切换的仪式感 ────────────────────
type WipeProps = { direction?: Dir; softEdgePx?: number };
const WipeComp: React.FC<TransitionPresentationComponentProps<WipeProps>> = ({
  children,
  presentationDirection,
  presentationProgress,
  passedProps,
}) => {
  if (presentationDirection === "exiting") return wrap({}, children);
  const d = passedProps.direction ?? "left";
  const p = presentationProgress * 100;
  const inset =
    d === "left" ? `0 ${100 - p}% 0 0` :
    d === "right" ? `0 0 0 ${100 - p}%` :
    d === "up" ? `0 0 ${100 - p}% 0` :
    `${100 - p}% 0 0 0`;
  return wrap({ clipPath: `inset(${inset})` }, children);
};
export const maskWipe = (props: WipeProps = {}): TransitionPresentation<WipeProps> => ({
  component: WipeComp,
  props,
});

// ── 3. push — 新画面推走旧画面: 并列叙事 ────────────────────────────
type PushProps = { direction?: Dir };
const PushComp: React.FC<TransitionPresentationComponentProps<PushProps>> = ({
  children,
  presentationDirection,
  presentationProgress,
  passedProps,
}) => {
  const [dx, dy] = VEC[passedProps.direction ?? "left"];
  const p = presentationProgress;
  const isIn = presentationDirection === "entering";
  const shift = isIn ? (1 - p) * -100 : p * 100;
  return wrap({ transform: `translate(${-dx * shift}%, ${-dy * shift}%)` }, children);
};
export const push = (props: PushProps = {}): TransitionPresentation<PushProps> => ({
  component: PushComp,
  props,
});

// ── 4. zoomPunch — 冲镜: 旧画面放大穿过, 新画面从深处落定 ───────────
type ZoomProps = { intensity?: number };
const ZoomComp: React.FC<TransitionPresentationComponentProps<ZoomProps>> = ({
  children,
  presentationDirection,
  presentationProgress,
  passedProps,
}) => {
  const k = passedProps.intensity ?? 1;
  const p = presentationProgress;
  const isIn = presentationDirection === "entering";
  const scale = isIn ? 0.86 + p * 0.14 : 1 + p * 0.18 * k;
  const opacity = isIn ? Math.min(1, p * 1.6) : 1 - p * p;
  const blur = isIn ? (1 - p) * 8 : p * 14 * k;
  return wrap({ transform: `scale(${scale})`, opacity, filter: `blur(${blur}px)` }, children);
};
export const zoomPunch = (props: ZoomProps = {}): TransitionPresentation<ZoomProps> => ({
  component: ZoomComp,
  props,
});

// ── 5. blurDissolve — 焦外溶解: 时间流逝/柔和章节 ──────────────────
type BlurProps = { maxBlurPx?: number };
const BlurComp: React.FC<TransitionPresentationComponentProps<BlurProps>> = ({
  children,
  presentationDirection,
  presentationProgress,
  passedProps,
}) => {
  const m = passedProps.maxBlurPx ?? 22;
  const p = presentationProgress;
  const isIn = presentationDirection === "entering";
  return wrap(
    {
      opacity: isIn ? p : 1 - p,
      filter: `blur(${(isIn ? 1 - p : p) * m}px)`,
    },
    children,
  );
};
export const blurDissolve = (props: BlurProps = {}): TransitionPresentation<BlurProps> => ({
  component: BlurComp,
  props,
});

// ── 6. flashThrough — 闪白/闪品牌色穿越: keynote 式硬切 ─────────────
type FlashProps = { color?: string };
const FlashComp: React.FC<TransitionPresentationComponentProps<FlashProps>> = ({
  children,
  presentationDirection,
  presentationProgress,
  passedProps,
}) => {
  const p = presentationProgress;
  const isIn = presentationDirection === "entering";
  // 闪光钟形: 中点最亮 — 只在 entering 层画一次, 覆盖双方
  const flash = Math.pow(Math.sin(p * Math.PI), 2.2);
  return (
    <AbsoluteFill style={{ opacity: isIn ? (p > 0.5 ? 1 : 0) : p > 0.5 ? 0 : 1 }}>
      {children}
      {isIn ? (
        <AbsoluteFill style={{ background: passedProps.color ?? "#FFFFFF", opacity: flash * 0.92, pointerEvents: "none" }} />
      ) : null}
    </AbsoluteFill>
  );
};
export const flashThrough = (props: FlashProps = {}): TransitionPresentation<FlashProps> => ({
  component: FlashComp,
  props,
});

// ── 7. glitchCut — RGB 通道错位数帧: 科技/故障语义, 慎用 ────────────
type GlitchProps = { amountPx?: number };
const GlitchComp: React.FC<TransitionPresentationComponentProps<GlitchProps>> = ({
  children,
  presentationDirection,
  presentationProgress,
  passedProps,
}) => {
  const amt = passedProps.amountPx ?? 14;
  const p = presentationProgress;
  const isIn = presentationDirection === "entering";
  if (!isIn) return wrap({ opacity: p > 0.5 ? 0 : 1 }, children);
  const energy = Math.sin(p * Math.PI); // 中段错位最猛
  // 确定性抖动 — 由 progress 离散档驱动, 无随机
  const step = Math.floor(p * 7);
  const jx = ((step * 37) % 5) - 2;
  const off = energy * amt;
  return (
    <AbsoluteFill style={{ opacity: p > 0.5 ? 1 : 0 }}>
      <AbsoluteFill style={{ transform: `translateX(${jx - off}px)`, mixBlendMode: "screen", filter: "url(#glitch-r)" }}>
        {children}
      </AbsoluteFill>
      <AbsoluteFill style={{ transform: `translateX(${jx + off}px)`, mixBlendMode: "screen", filter: "url(#glitch-b)" }}>
        {children}
      </AbsoluteFill>
      <svg width={0} height={0} style={{ position: "absolute" }}>
        <defs>
          <filter id="glitch-r">
            <feColorMatrix type="matrix" values="1 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 1 0" />
          </filter>
          <filter id="glitch-b">
            <feColorMatrix type="matrix" values="0 0 0 0 0  0 1 0 0 0  0 0 1 0 0  0 0 0 1 0" />
          </filter>
        </defs>
      </svg>
    </AbsoluteFill>
  );
};
export const glitchCut = (props: GlitchProps = {}): TransitionPresentation<GlitchProps> => ({
  component: GlitchComp,
  props,
});

// 便捷索引 — 设计时翻这张表选型
export const TRANSITION_FAMILIES = [
  "fade (remotion 内置)",
  "whipPan",
  "maskWipe",
  "push",
  "zoomPunch",
  "blurDissolve",
  "flashThrough",
  "glitchCut",
] as const;
void useMemo;
planning-and-task-breakdownaddyosmani/agent-skillsBreaks work into ordered tasks. Use when you have a spec or clear requirements and need to break work into implementable tasks. Use when a task feels too large to start, when you need to estimate scope, or when parallel work is possible.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
screenpipethedotmack/claude-memSearch screen and audio history recorded by Screenpipe and optionally save selected context into claude-mem. Use when the user asks to recall desktop activity, a meeting, or something seen in another app through Screenpipe.Stars: 118kUpdated Claude CodeCodexVerifiedInstall
contact-widgetnexu-io/open-designSelf-contained floating chat widget with welcome screen, social links, meeting button, and message input. Single HTML file, zero dependencies.Stars: 108kUpdated Claude CodeCodexVerifiedInstall
meeting-notesnexu-io/open-designMeeting notes page — title bar with attendees, agenda checklist, decisions block, action items table with owners + dates, and a "next meeting" footer. Use when the brief mentions "meeting notes", "minutes", "1:1 notes", "all-hands recap", or "会议纪要".Stars: 108kUpdated Claude CodeCodexVerifiedInstall