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/VisualEffects.tsx

View on GitHub
/**
 * [INPUT]: remotion useCurrentFrame/spring/interpolate, @remotion/paths, @remotion/noise
 * [OUTPUT]: ConfettiBurst, MorphTransition, MotionBlurWrap, ShimmerSweep, PulseGlow, ParticleField
 * [POS]: 高级视觉效果组件, 补充 Animations.tsx 的动效词汇量
 * [PROTOCOL]: 变更时更新此头部,然后检查 AGENTS.md
 */
import React from "react";
import {
  useCurrentFrame,
  useVideoConfig,
  spring,
  interpolate,
  Easing,
} from "remotion";
import { noise2D } from "@remotion/noise";
import { evolvePath } from "@remotion/paths";

// ================================================================
// ConfettiBurst — 庆祝/成就时刻的粒子爆发
// 纯数学粒子, 无外部依赖, frame-deterministic
// ================================================================

interface ConfettiParticle {
  x: number;
  y: number;
  angle: number;
  speed: number;
  size: number;
  color: string;
  rotation: number;
  rotSpeed: number;
  shape: "rect" | "circle";
}

function seededRandom(seed: number): () => number {
  let s = seed;
  return () => {
    s = (s * 16807 + 0) % 2147483647;
    return (s - 1) / 2147483646;
  };
}

function generateParticles(
  count: number,
  colors: string[],
  seed: number,
): ConfettiParticle[] {
  const rng = seededRandom(seed);
  return Array.from({ length: count }, () => ({
    x: 960 + (rng() - 0.5) * 200,
    y: 540,
    angle: -Math.PI / 2 + (rng() - 0.5) * Math.PI * 0.8,
    speed: 8 + rng() * 16,
    size: 6 + rng() * 10,
    color: colors[Math.floor(rng() * colors.length)],
    rotation: rng() * 360,
    rotSpeed: (rng() - 0.5) * 15,
    shape: rng() > 0.5 ? "rect" : "circle",
  }));
}

export const ConfettiBurst: React.FC<{
  colors: string[];
  count?: number;
  delay?: number;
  duration?: number;
  gravity?: number;
  originX?: number;
  originY?: number;
  seed?: number;
}> = ({
  colors,
  count = 60,
  delay = 0,
  duration = 90,
  gravity = 0.3,
  originX = 960,
  originY = 540,
  seed = 42,
}) => {
  const frame = useCurrentFrame();
  const elapsed = frame - delay;
  const particles = generateParticles(count, colors, seed);

  if (elapsed < 0 || elapsed > duration) return null;

  const fadeOut = interpolate(elapsed, [duration * 0.6, duration], [1, 0], {
    extrapolateLeft: "clamp",
    extrapolateRight: "clamp",
  });

  return (
    <div style={{ position: "absolute", inset: 0, pointerEvents: "none", overflow: "hidden" }}>
      {particles.map((p, i) => {
        const t = elapsed / 30;
        const px = (p.x - 960 + originX) + Math.cos(p.angle) * p.speed * t * 30;
        const py = (p.y - 540 + originY) + Math.sin(p.angle) * p.speed * t * 30 + gravity * t * t * 900;
        const rot = p.rotation + p.rotSpeed * elapsed;

        return (
          <div
            key={i}
            style={{
              position: "absolute",
              left: px,
              top: py,
              width: p.size,
              height: p.shape === "rect" ? p.size * 0.6 : p.size,
              backgroundColor: p.color,
              borderRadius: p.shape === "circle" ? "50%" : 2,
              transform: `rotate(${rot}deg)`,
              opacity: fadeOut,
            }}
          />
        );
      })}
    </div>
  );
};

// ================================================================
// MorphTransition — SVG 路径形态变形
// 输入两个 SVG path d 属性, 在 startFrame → endFrame 之间平滑过渡
// ================================================================
export const MorphTransition: React.FC<{
  pathFrom: string;
  pathTo: string;
  startFrame?: number;
  endFrame?: number;
  fill?: string;
  stroke?: string;
  strokeWidth?: number;
  width?: number;
  height?: number;
  viewBox?: string;
}> = ({
  pathFrom,
  pathTo,
  startFrame = 0,
  endFrame = 60,
  fill = "none",
  stroke = "currentColor",
  strokeWidth = 2,
  width = 200,
  height = 200,
  viewBox = "0 0 24 24",
}) => {
  const frame = useCurrentFrame();
  const progress = interpolate(frame, [startFrame, endFrame], [0, 1], {
    extrapolateLeft: "clamp",
    extrapolateRight: "clamp",
    easing: Easing.out(Easing.cubic),
  });

  // We do not depend on flubber here.
  // The component animates the source path and snaps to the target path at completion.
  const visiblePath = progress < 1 ? pathFrom : pathTo;
  const drawState = evolvePath(progress, visiblePath);

  return (
    <svg width={width} height={height} viewBox={viewBox}>
      <path
        d={visiblePath}
        style={drawState}
        fill={fill}
        stroke={stroke}
        strokeWidth={strokeWidth}
        strokeLinecap="round"
        strokeLinejoin="round"
      />
    </svg>
  );
};

// ================================================================
// PathDraw — SVG 路径绘制动画 (线条逐渐出现)
// ================================================================
export const PathDraw: React.FC<{
  d: string;
  delay?: number;
  duration?: number;
  stroke?: string;
  strokeWidth?: number;
  width?: number;
  height?: number;
  viewBox?: string;
}> = ({
  d,
  delay = 0,
  duration = 60,
  stroke = "currentColor",
  strokeWidth = 2,
  width = 400,
  height = 300,
  viewBox = "0 0 400 300",
}) => {
  const frame = useCurrentFrame();
  const progress = interpolate(frame - delay, [0, duration], [0, 1], {
    extrapolateLeft: "clamp",
    extrapolateRight: "clamp",
    easing: Easing.out(Easing.cubic),
  });

  const drawState = evolvePath(progress, d);

  return (
    <svg width={width} height={height} viewBox={viewBox}>
      <path
        d={d}
        style={drawState}
        fill="none"
        stroke={stroke}
        strokeWidth={strokeWidth}
        strokeLinecap="round"
      />
    </svg>
  );
};

// ================================================================
// ShimmerSweep — 横向光泽扫过效果 (CTA、Logo)
// ================================================================
export const ShimmerSweep: React.FC<{
  children: React.ReactNode;
  delay?: number;
  duration?: number;
  color?: string;
  width?: number;
}> = ({
  children,
  delay = 0,
  duration = 40,
  color = "rgba(255,255,255,0.15)",
  width: sweepWidth = 120,
}) => {
  const frame = useCurrentFrame();
  const progress = interpolate(frame - delay, [0, duration], [-sweepWidth, 1920 + sweepWidth], {
    extrapolateLeft: "clamp",
    extrapolateRight: "clamp",
    easing: Easing.inOut(Easing.cubic),
  });

  return (
    <div style={{ position: "relative", overflow: "hidden", display: "inline-block" }}>
      {children}
      {frame >= delay && frame <= delay + duration && (
        <div
          style={{
            position: "absolute",
            top: 0,
            left: progress,
            width: sweepWidth,
            height: "100%",
            background: `linear-gradient(90deg, transparent, ${color}, transparent)`,
            pointerEvents: "none",
          }}
        />
      )}
    </div>
  );
};

// ================================================================
// PulseGlow — 呼吸脉冲光晕 (Logo 背景, 强调元素)
// ================================================================
export const PulseGlow: React.FC<{
  color: string;
  size?: number;
  speed?: number;
  minOpacity?: number;
  maxOpacity?: number;
}> = ({
  color,
  size = 400,
  speed = 80,
  minOpacity = 0.03,
  maxOpacity = 0.12,
}) => {
  const frame = useCurrentFrame();
  const pulse = interpolate(
    Math.sin(frame / speed * Math.PI * 2),
    [-1, 1],
    [minOpacity, maxOpacity],
  );

  return (
    <div
      style={{
        position: "absolute",
        left: "50%",
        top: "50%",
        width: size,
        height: size,
        transform: "translate(-50%, -50%)",
        borderRadius: "50%",
        background: `radial-gradient(circle, ${color} 0%, transparent 70%)`,
        opacity: pulse,
        pointerEvents: "none",
        filter: "blur(40px)",
      }}
    />
  );
};

// ================================================================
// ParticleField — Perlin noise 驱动的有机粒子场
// 用于: 背景氛围, 科技感, 数据流可视化
// ================================================================
export const ParticleField: React.FC<{
  count?: number;
  color?: string;
  speed?: number;
  size?: number;
  spread?: number;
  seed?: string;
}> = ({
  count = 30,
  color = "rgba(255,255,255,0.3)",
  speed = 100,
  size = 4,
  spread = 800,
  seed = "particles",
}) => {
  const frame = useCurrentFrame();

  const particles = React.useMemo(() => {
    return Array.from({ length: count }, (_, i) => ({
      id: i,
      seedX: `${seed}-x-${i}`,
      seedY: `${seed}-y-${i}`,
      baseSize: size * (0.5 + (i % 3) * 0.3),
    }));
  }, [count, seed, size]);

  return (
    <div style={{ position: "absolute", inset: 0, pointerEvents: "none", overflow: "hidden" }}>
      {particles.map((p) => {
        const x = 960 + noise2D(p.seedX, frame / speed, 0) * spread;
        const y = 540 + noise2D(p.seedY, 0, frame / speed) * (spread * 0.6);
        const opacity = interpolate(
          noise2D(`${p.seedX}-o`, frame / (speed * 2), 0),
          [-1, 1],
          [0.1, 0.6],
        );

        return (
          <div
            key={p.id}
            style={{
              position: "absolute",
              left: x,
              top: y,
              width: p.baseSize,
              height: p.baseSize,
              borderRadius: "50%",
              backgroundColor: color,
              opacity,
            }}
          />
        );
      })}
    </div>
  );
};

// ================================================================
// StaggerReveal — 子元素依次入场的容器 (替代手动 map+delay)
// ================================================================
export const StaggerReveal: React.FC<{
  children: React.ReactNode[];
  delay?: number;
  gap?: number;
  direction?: "up" | "down" | "left" | "right";
  distance?: number;
  style?: React.CSSProperties;
}> = ({
  children,
  delay = 0,
  gap = 6,
  direction = "up",
  distance = 24,
  style,
}) => {
  const frame = useCurrentFrame();
  const { fps } = useVideoConfig();

  return (
    <div style={style}>
      {React.Children.map(children, (child, i) => {
        const childDelay = delay + i * gap;
        const progress = spring({
          frame: frame - childDelay,
          fps,
          config: { damping: 20, stiffness: 100 },
        });

        const transforms = {
          up: `translateY(${(1 - progress) * distance}px)`,
          down: `translateY(${(1 - progress) * -distance}px)`,
          left: `translateX(${(1 - progress) * distance}px)`,
          right: `translateX(${(1 - progress) * -distance}px)`,
        };

        return (
          <div style={{ opacity: progress, transform: transforms[direction] }}>
            {child}
          </div>
        );
      })}
    </div>
  );
};
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