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

examples/mana/scenes/Act3Flavors.tsx

View on GitHub
/**
 * [INPUT]: 官方四张 flavor 棚拍图 (边缘色已采样进 theme), World 基元, audio-sync 词级时间
 * [OUTPUT]: Act3Flavors — 口味房间轮播: 整屏色彩房间逐口味切换 (官网 flavor carousel 的视频化)
 * [POS]: 第 3 幕; 家族 "flavor-color-room-carousel" (新家族 — 饮料世界的原生 artifact)
 * [PROTOCOL]: 变更时更新此头部,然后检查 AGENTS.md
 *
 * Claim→World: "四种口味各有性格" → 饮料从业者看的是货架与包装色 →
 * 把每个口味做成一间全出血色彩房间 (官网 carousel 每换口味整页换色, 这是站方自己的语汇)。
 * 构图系统 (Law 5): sequenced full-screen singles + 巨字排, 房间之间 push 平移 (carousel 语义)。
 * VO 锚点: intro f314 / melon f400 / blackberry f488 / tropical f582 / grapefruit f672 (全局)。
 */
import React from "react";
import {
  AbsoluteFill,
  Img,
  spring,
  staticFile,
  useCurrentFrame,
  useVideoConfig,
} from "remotion";
import { TransitionSeries, linearTiming } from "@remotion/transitions";
import { push } from "../components/Transitions";
import { theme } from "../theme";
import { PaperAtmosphere, SparklePop, riseIn } from "./World";
import { downbeatPulse, ACT_BOUNDS } from "../generated/audio-sync";

// 本幕全局起帧 (TransitionSeries 12f 转场, 提前 6f 进场)
const LOCAL0 = ACT_BOUNDS.act3 - 6;

// 房间边界 (全局帧 → 本地): intro→400, melon→488, blackberry→582, tropical→672
const B = { melon: 400 - LOCAL0, blackberry: 488 - LOCAL0, tropical: 582 - LOCAL0, grapefruit: 672 - LOCAL0 };
const TOTAL = 449;
const T = 8; // 内部 push 转场帧数

type Room = {
  id: string;
  photo: string;
  bg: string;
  lines: [string, string];
  textColor: string;
  counterColor: string;
};

const ROOMS: Room[] = [
  {
    id: "melon",
    photo: "brand/lifestyle/eie-1.jpg",
    bg: theme.color.flavorGreen,
    lines: ["MELON", "& MINT"],
    textColor: "#FFFFFF",
    counterColor: "rgba(255,255,255,0.72)",
  },
  {
    id: "blackberry",
    photo: "brand/flavors/mures-1.jpg",
    bg: theme.color.flavorBlue,
    lines: ["BLACKBERRY", "& HIBISCUS"],
    textColor: "#FFFFFF",
    counterColor: "rgba(255,255,255,0.72)",
  },
  {
    id: "tropical",
    photo: "brand/flavors/tropical-1.jpg",
    bg: theme.color.flavorPink,
    lines: ["TROPICAL", ""],
    textColor: "#FFFFFF",
    counterColor: "rgba(255,255,255,0.75)",
  },
  {
    id: "grapefruit",
    photo: "brand/flavors/pamplemousse-1.jpg",
    bg: theme.color.flavorYellow,
    lines: ["GRAPEFRUIT", ""],
    textColor: theme.color.ink,
    counterColor: "rgba(20,20,20,0.6)",
  },
];

// ---------- intro beat: 官网自己的 "F l a v o r s" 段落标题 ----------
const FlavorsIntro: React.FC = () => {
  const frame = useCurrentFrame();
  const letters = "FLAVORS".split("");
  return (
    <AbsoluteFill style={{ overflow: "hidden" }}>
      <PaperAtmosphere />
      <AbsoluteFill style={{ display: "flex", alignItems: "center", justifyContent: "center" }}>
        <div style={{ display: "flex", gap: 58 }}>
          {letters.map((ch, i) => {
            const p = riseIn(frame, 8 + i * 3, 16);
            return (
              <span
                key={i}
                style={{
                  fontFamily: theme.font.heading,
                  fontWeight: 500,
                  fontSize: 224,
                  lineHeight: 1,
                  color: theme.color.ink,
                  opacity: p,
                  display: "inline-block",
                  transform: `translateY(${(1 - p) * 90}px)`,
                }}
              >
                {ch}
              </span>
            );
          })}
        </div>
      </AbsoluteFill>
      {/* 四个口味色 chip — 即将进入的房间预告, 底部一排细条 */}
      <div style={{ position: "absolute", left: 0, right: 0, bottom: 0, display: "flex", height: 18 }}>
        {ROOMS.map((r, i) => {
          const p = riseIn(frame, 30 + i * 4, 14);
          return <div key={r.id} style={{ flex: 1, background: r.bg, transform: `scaleY(${p})`, transformOrigin: "bottom" }} />;
        })}
      </div>
      <SparklePop x={330} y={270} size={48} delay={26} />
      <SparklePop x={1544} y={640} size={58} delay={32} />
    </AbsoluteFill>
  );
};

// ---------- 一间口味房间 ----------
const FlavorRoom: React.FC<{ room: Room; index: number }> = ({ room, index }) => {
  const frame = useCurrentFrame();
  const { fps } = useVideoConfig();

  // 照片从右滑入 + 定格微倾
  const slide = spring({ frame: frame - 2, fps, config: { damping: 19, stiffness: 95, mass: 1.0 } });
  const photoX = (1 - slide) * 420;

  // downbeat 微呼吸 (96BPM 有节奏网格)
  const pulse = downbeatPulse(frame + LOCAL0 + index); // 全局帧对齐 BGM
  const photoScale = 1.001 + pulse * 0.008;

  const counter = `${String(index + 1).padStart(2, "0")} — 04`;

  return (
    <AbsoluteFill style={{ background: room.bg, overflow: "hidden" }}>
      {/* 官方棚拍图 — 右侧满高, 左缘用房间色羽化到无缝 */}
      <div
        style={{
          position: "absolute",
          top: 0,
          right: 0,
          width: 940,
          height: "100%",
          transform: `translateX(${photoX}px) scale(${photoScale})`,
          transformOrigin: "center center",
        }}
      >
        <Img
          src={staticFile(room.photo)}
          style={{ width: "100%", height: "100%", objectFit: "cover", objectPosition: "center center" }}
        />
        <div
          style={{
            position: "absolute",
            inset: 0,
            background: `linear-gradient(90deg, ${room.bg} 2%, rgba(0,0,0,0) 46%)`,
          }}
        />
      </div>

      {/* 房间光 — 罩在整帧之上 (含照片), 平面侧与照片侧同调, 不留接缝 */}
      <AbsoluteFill
        style={{
          background: "radial-gradient(ellipse 120% 85% at 50% -10%, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 55%)",
          pointerEvents: "none",
        }}
      />

      {/* 巨字口味名 — 左半 编辑部字排 */}
      <div
        style={{
          position: "absolute",
          left: 108,
          top: 0,
          bottom: 0,
          display: "flex",
          flexDirection: "column",
          justifyContent: "center",
          gap: 8,
        }}
      >
        {room.lines.filter(Boolean).map((line, li) => {
          const p = riseIn(frame, 6 + li * 5, 16);
          const oneLine = room.lines[1] === "";
          return (
            <div
              key={line}
              style={{
                fontFamily: theme.font.heading,
                fontWeight: 500,
                fontSize: oneLine ? 176 : 150,
                lineHeight: 0.98,
                letterSpacing: "-0.01em",
                color: room.textColor,
                opacity: p,
                transform: `translateY(${(1 - p) * 70}px)`,
                whiteSpace: "nowrap",
              }}
            >
              {line}
            </div>
          );
        })}
        <div
          style={{
            marginTop: 34,
            fontFamily: theme.font.body,
            fontWeight: 450,
            fontSize: 28,
            letterSpacing: "0.24em",
            color: room.counterColor,
            opacity: riseIn(frame, 18, 16),
          }}
        >
          {counter}
        </div>
      </div>
    </AbsoluteFill>
  );
};

// ---------- Act 3 编排 — 内部 TransitionSeries, push 平移 = carousel 语义 ----------
export const Act3Flavors: React.FC = () => {
  // 时长: midpoint 对齐 VO onset (audio-sync), s_i 见推导
  const s1 = B.melon + T / 2; // 96
  const s2 = B.blackberry - B.melon + T; // 96
  const s3 = B.tropical - B.blackberry + T; // 102
  const s4 = B.grapefruit - B.tropical + T; // 98
  const s5 = TOTAL - B.grapefruit + T / 2; // 89

  return (
    <AbsoluteFill>
      <TransitionSeries>
        <TransitionSeries.Sequence durationInFrames={s1}>
          <FlavorsIntro />
        </TransitionSeries.Sequence>
        <TransitionSeries.Transition presentation={push({ direction: "left" })} timing={linearTiming({ durationInFrames: T })} />
        <TransitionSeries.Sequence durationInFrames={s2}>
          <FlavorRoom room={ROOMS[0]} index={0} />
        </TransitionSeries.Sequence>
        <TransitionSeries.Transition presentation={push({ direction: "left" })} timing={linearTiming({ durationInFrames: T })} />
        <TransitionSeries.Sequence durationInFrames={s3}>
          <FlavorRoom room={ROOMS[1]} index={1} />
        </TransitionSeries.Sequence>
        <TransitionSeries.Transition presentation={push({ direction: "left" })} timing={linearTiming({ durationInFrames: T })} />
        <TransitionSeries.Sequence durationInFrames={s4}>
          <FlavorRoom room={ROOMS[2]} index={2} />
        </TransitionSeries.Sequence>
        <TransitionSeries.Transition presentation={push({ direction: "left" })} timing={linearTiming({ durationInFrames: T })} />
        <TransitionSeries.Sequence durationInFrames={s5}>
          <FlavorRoom room={ROOMS[3]} index={3} />
        </TransitionSeries.Sequence>
      </TransitionSeries>
    </AbsoluteFill>
  );
};
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