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

View on GitHub
/**
 * [INPUT]: remotion useCurrentFrame/interpolate; theme 色值由调用方注入
 * [OUTPUT]: Atmosphere (合成氛围底座) + VolumetricLight / GridHorizon / DriftParticles 独立原语
 * [POS]: rules/composition.md Law 1 (零真空法) 的默认实现; MainVideo 根级常驻, 各 act 可单独调参或取用子原语
 * [PROTOCOL]: 变更时更新此头部,然后检查 AGENTS.md
 */
import React from "react";
import { useCurrentFrame } from "remotion";

// ================================================================
// 确定性工具 — 禁 Math.random(), 同帧必须像素一致
// ================================================================
const hash = (n: number) => {
  const x = Math.sin(n * 99.13) * 43758.5453;
  return x - Math.floor(x);
};

const alphaHex = (o: number) =>
  Math.round(Math.max(0, Math.min(1, o)) * 255)
    .toString(16)
    .padStart(2, "0");

// ================================================================
// VolumetricLight — 多层径向体积光, 光有来源和方向, 不是均匀辉光
// ================================================================
export const VolumetricLight: React.FC<{
  primary: string;
  accent?: string;
  /** 0-1, 默认 0.5 */
  intensity?: number;
  /** 主光源位置 (%), 默认下中 — 像地平线后透出的光 */
  x?: number;
  y?: number;
}> = ({ primary, accent, intensity = 0.5, x = 50, y = 78 }) => {
  const frame = useCurrentFrame();
  // 心跳禁令 (taste.md): 亮度只许恒定, 生命感交给位移漂移
  const breathe = 1;
  const driftX = Math.sin(frame / 140) * 6;
  const driftY = Math.cos(frame / 180) * 4;
  const second = accent || primary;
  const a = (base: number) => alphaHex(base * intensity * breathe);

  return (
    <div
      style={{
        position: "absolute",
        inset: 0,
        pointerEvents: "none",
        background: `
          radial-gradient(ellipse 90% 55% at ${x + driftX}% ${y}%, ${primary}${a(0.34)} 0%, ${primary}${a(0.12)} 42%, transparent 72%),
          radial-gradient(ellipse 55% 40% at ${x + driftX}% ${y - 6}%, ${primary}${a(0.22)} 0%, transparent 60%),
          radial-gradient(ellipse 70% 45% at ${(x + 42) % 100}% ${Math.max(0, y - 66)}%, ${second}${a(0.1)} 0%, transparent 65%)
        `,
      }}
    />
  );
};

// ================================================================
// GridHorizon — 等距线框网格地平线, 给画面一个"地面"和"世界"
// ================================================================
export const GridHorizon: React.FC<{
  color: string;
  /** 0-1 网格整体透明度, 默认 0.4 */
  opacity?: number;
  /** 地平线距底部的画面高度占比, 默认 0.42 */
  height?: number;
  /** 网格单元 px, 默认 90 */
  cell?: number;
  /** 网格向观众滚动的速度 (px/frame), 0 = 静止 */
  scroll?: number;
}> = ({ color, opacity = 0.4, height = 0.42, cell = 90, scroll = 0.35 }) => {
  const frame = useCurrentFrame();
  const offset = (frame * scroll) % cell;
  const line = `${color}${alphaHex(0.5)}`;

  return (
    <div
      style={{
        position: "absolute",
        left: 0,
        right: 0,
        bottom: 0,
        height: `${height * 100}%`,
        pointerEvents: "none",
        opacity,
        overflow: "hidden",
      }}
    >
      {/* 透视地板: rotateX 后的双向线框, 顶部 mask 渐隐进地平线 */}
      <div
        style={{
          position: "absolute",
          left: "-60%",
          right: "-60%",
          top: 0,
          bottom: "-120%",
          background: `
            repeating-linear-gradient(0deg, ${line} 0px, ${line} 1px, transparent 1px, transparent ${cell}px),
            repeating-linear-gradient(90deg, ${line} 0px, ${line} 1px, transparent 1px, transparent ${cell}px)
          `,
          backgroundPosition: `0px ${offset}px, 0px 0px`,
          transform: "perspective(900px) rotateX(62deg)",
          transformOrigin: "center top",
          maskImage: "linear-gradient(180deg, transparent 0%, black 26%, black 100%)",
          WebkitMaskImage: "linear-gradient(180deg, transparent 0%, black 26%, black 100%)",
        }}
      />
      {/* 地平线光缝 */}
      <div
        style={{
          position: "absolute",
          left: 0,
          right: 0,
          top: 0,
          height: 2,
          background: `linear-gradient(90deg, transparent 8%, ${color}${alphaHex(0.55)} 50%, transparent 92%)`,
          filter: "blur(1px)",
        }}
      />
    </div>
  );
};

// ================================================================
// DriftParticles — 慢漂浮粒子, 是空气不是彩带; 位置/相位全由 hash 播种
// ================================================================
export const DriftParticles: React.FC<{
  color: string;
  /** 粒子数, 默认 26 */
  count?: number;
  /** 0-1 整体透明度, 默认 0.5 */
  opacity?: number;
  seed?: number;
}> = ({ color, count = 26, opacity = 0.5, seed = 0 }) => {
  const frame = useCurrentFrame();

  return (
    <div style={{ position: "absolute", inset: 0, pointerEvents: "none", opacity }}>
      {Array.from({ length: count }, (_, i) => {
        const k = seed * 131 + i;
        const baseX = hash(k + 1) * 100;
        const baseY = hash(k + 2) * 100;
        const size = 1.5 + hash(k + 3) * 3.5;
        const phase = hash(k + 4) * Math.PI * 2;
        const rate = 0.006 + hash(k + 5) * 0.008;
        const dx = Math.sin(frame * rate + phase) * 26;
        const dy = Math.cos(frame * rate * 0.8 + phase * 1.7) * 18;
        const twinkle = 0.45; // 心跳禁令: 粒子不闪烁, 只漂移

        return (
          <div
            key={i}
            style={{
              position: "absolute",
              left: `${baseX}%`,
              top: `${baseY}%`,
              width: size,
              height: size,
              borderRadius: "50%",
              background: color,
              opacity: twinkle,
              transform: `translate(${dx}px, ${dy}px)`,
              filter: size > 3.5 ? "blur(0.5px)" : undefined,
            }}
          />
        );
      })}
    </div>
  );
};

// ================================================================
// Atmosphere — 合成底座: 体积光 + 网格地平线 + 粒子 (+ 可选 grain)
//
// 默认强度即可用; 各 act 想换气质就调层参数, 绝不许退回裸色底.
// grain 默认 0: MainVideo 根级已叠 FilmGrain, 避免双重噪点.
// ================================================================
export const Atmosphere: React.FC<{
  primary: string;
  accent?: string;
  /** 体积光强度 0-1, 0 关闭 */
  glow?: number;
  /** 光源位置 (%) */
  glowX?: number;
  glowY?: number;
  /** 地平线透明度 0-1, 0 关闭 */
  horizon?: number;
  /** 地平线高度占比 */
  horizonHeight?: number;
  /** 粒子数, 0 关闭 */
  particles?: number;
  /** 噪点透明度, 默认 0 (根级已有 FilmGrain 时勿开) */
  grain?: number;
  seed?: number;
}> = ({
  primary,
  accent,
  glow = 0.5,
  glowX = 50,
  glowY = 78,
  horizon = 0.35,
  horizonHeight = 0.42,
  particles = 26,
  grain = 0,
  seed = 0,
}) => {
  const frame = useCurrentFrame();
  const grainSeed = Math.floor(frame * 1.7);
  const noiseUrl = `url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' seed='${grainSeed}'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E")`;

  return (
    <div style={{ position: "absolute", inset: 0, pointerEvents: "none", overflow: "hidden" }}>
      {horizon > 0 && (
        <GridHorizon color={primary} opacity={horizon} height={horizonHeight} />
      )}
      {glow > 0 && (
        <VolumetricLight primary={primary} accent={accent} intensity={glow} x={glowX} y={glowY} />
      )}
      {particles > 0 && <DriftParticles color={primary} count={particles} seed={seed} />}
      {grain > 0 && (
        <div
          style={{
            position: "absolute",
            inset: 0,
            background: `${noiseUrl} 0 0 / 256px 256px repeat`,
            opacity: grain,
            mixBlendMode: "overlay",
          }}
        />
      )}
    </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