Communitygithub.com

ever-just/agentskills

Remotion 的可複製貼上影片元件。包括開場、文字特效、轉場和完整場景模板。就像 shadcn/ui 但專為影片打造。

agentskills 是什麼?

此技能提供一系列預先建置的影片元件,專為 Remotion 專案設計。它涵蓋了文字特效、轉場、開場/結尾、背景和 UI 模擬等分類,讓開發者能夠快速組裝出專業的動態影片。其核心概念是「複製貼上而非 npm 安裝」,每個元件都是獨立的 React 元件,方便使用者直接複製到專案中進行自訂和修改,而不需要處理複雜的依賴關係。技能文件內附完整的 TypeScript 範例(如文字揭示動畫、瀏覽器模擬框架),並建議最佳實踐,包括自訂色彩、調整時間節奏以及組合不同模板來創造豐富的視覺效果。這個技能支援任何使用 Remotion 的專案,特別適合需要快速產出影片素材的開發者或內容創作者。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/ever-just/agentskills/tree/HEAD/skills/remotion-templates

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

Remotion 模板 — 預先建置的影片特效與動畫

Remotion 的可複製貼上影片元件。包括開場、文字特效、轉場和完整場景模板。就像 shadcn/ui 但專為影片打造。

概述

  • 儲存庫:github.com/reactvideoeditor/remotion-templates(77+ 星標)
  • 元件庫:github.com/reactvideoeditor/clippkit
  • 語言:TypeScript / React
  • 授權:開放原始碼
  • 安裝:將元件複製到你的 Remotion 專案中

使用方法

模板是你可以複製到專案中的 React 元件:

# 克隆模板儲存庫
git clone https://github.com/reactvideoeditor/remotion-templates.git

# 將你想要的元件複製到專案中
cp remotion-templates/src/components/TextReveal.tsx my-video/src/components/

可用的特效分類

文字特效

  • 打字機效果 — 逐字元打字動畫
  • 文字揭示 — 文字向上滑入並淡出
  • 動態字體排版 — 帶彈簧運動的大型文字
  • 分割文字 — 字元個別錯開動畫
  • 故障文字 — 文字上的數位干擾效果
  • 漸層文字 — 文字上的動態漸層顏色

轉場

  • 淡入淡出 — 簡單的不透明度交叉溶解
  • 滑動 — 定向滑動(左、右、上、下)
  • 擦除 — 定向擦除揭示
  • 縮放 — 基於縮放的轉場
  • 變形 — 場景之間的形狀變形
  • 干擾效果 — 數位干擾轉場

開場 / 結尾

  • 標誌揭示 — 動畫標誌入場
  • 標題卡 — 帶副標題的居中標題
  • 下方三分之一 — 姓名/標題列動畫
  • 結束畫面 — 附社群連結的行動呼籲(CTA)

背景

  • 漸層 — 動態顏色漸層
  • 粒子 — 浮動粒子系統
  • 網格 — 動畫網格圖案
  • 噪點 — 柏林噪點紋理
  • 散景 — 模糊光球

UI 模擬

  • 瀏覽器視窗 — Chrome 風格的瀏覽器框架
  • 手機模擬 — iPhone/Android 框架
  • 程式碼編輯器 — VS Code 風格的程式碼顯示
  • 終端機 — 帶打字的終端機視窗

範例:使用文字揭示

import { useCurrentFrame, useVideoConfig, interpolate, spring } from "remotion";

export const TextReveal: React.FC<{ text: string; delay?: number }> = ({
  text,
  delay = 0,
}) => {
  const frame = useCurrentFrame();
  const { fps } = useVideoConfig();

  const words = text.split(" ");

  return (
    <div style={{ display: "flex", flexWrap: "wrap", gap: 8, overflow: "hidden" }}>
      {words.map((word, i) => {
        const wordDelay = delay + i * 4;
        const y = interpolate(frame, [wordDelay, wordDelay + 15], [40, 0], {
          extrapolateLeft: "clamp",
          extrapolateRight: "clamp",
        });
        const opacity = interpolate(frame, [wordDelay, wordDelay + 10], [0, 1], {
          extrapolateLeft: "clamp",
          extrapolateRight: "clamp",
        });
        return (
          <span key={i} style={{ opacity, transform: `translateY(${y}px)`, display: "inline-block" }}>
            {word}
          </span>
        );
      })}
    </div>
  );
};

範例:瀏覽器模擬

export const BrowserMockup: React.FC<{
  url: string;
  children: React.ReactNode;
}> = ({ url, children }) => {
  return (
    <div style={{
      borderRadius: 12,
      overflow: "hidden",
      boxShadow: "0 20px 60px rgba(0,0,0,0.3)",
      background: "#1a1a2e",
    }}>
      {/* 標題列 */}
      <div style={{
        display: "flex",
        alignItems: "center",
        padding: "12px 16px",
        background: "#16213e",
        gap: 8,
      }}>
        <div style={{ display: "flex", gap: 6 }}>
          <div style={{ width: 12, height: 12, borderRadius: "50%", background: "#ff5f57" }} />
          <div style={{ width: 12, height: 12, borderRadius: "50%", background: "#ffbd2e" }} />
          <div style={{ width: 12, height: 12, borderRadius: "50%", background: "#28c840" }} />
        </div>
        <div style={{
          flex: 1,
          background: "#0f3460",
          borderRadius: 6,
          padding: "6px 12px",
          fontSize: 13,
          color: "#8892b0",
          textAlign: "center",
        }}>
          {url}
        </div>
      </div>
      {/* 內容 */}
      <div style={{ padding: 20, minHeight: 300 }}>
        {children}
      </div>
    </div>
  );
};

最佳實務

  1. 複製,不要 npm install — 模板旨在複製後自訂
  2. 自訂色彩以符合你的品牌色板
  3. 調整時間 — 更改影格持續時間以配合影片節奏
  4. 組合模板 — 將背景 + 文字特效 + 轉場結合使用
  5. 保留原始檔 — 在大量修改前先複製到新檔案

來源

  • 模板:github.com/reactvideoeditor/remotion-templates
  • Clippkit(元件庫):github.com/reactvideoeditor/clippkit
  • 視覺瀏覽:reactvideoeditor.com/remotion-templates

Individual skills in this repo

This repo contains 9 individual skills — each has its own dedicated page.

ever-just/agentskills

> Declarative animations for React. Springs, gestures, layout animations, and page transitions. GPU-accelerated, production-ready.

ever-just/agentskills

> Create animated logos, icons, and micro-interactions as lightweight Lottie JSON files. No After Effects needed — build animations entirely in code.

ever-just/agentskills

> A TypeScript library using generators to program animations with a real-time editor. Ideal for explainer videos, code walkthroughs, and educational content.

ever-just/agentskills

> Add animated subtitles and captions to Remotion videos from .SRT files. TikTok-style word-by-word highlights, karaoke effects, and more.

ever-just/agentskills

> Create videos programmatically using React components. The most mature framework for code-driven video production.

ever-just/agentskills

Extract actionable intelligence from video content across YouTube, Vimeo, and company websites. Video reveals what text sources cannot: facility scale, team composition, product demonstrations, signage, event attendance, and operational reality.

ever-just/agentskills

Optimize and embed an existing video as a fast, crisp, autoplaying hero/background/loop on a website. Use when adding or replacing a video on a marketing site and it is too heavy, will not autoplay (especially on mobile/Safari), shows a codec error, or looks soft — to transcode it to web-safe H.264 with the right pixel format, faststart, retina-aware sizing, and a poster frame, then embed and verify it actually plays. This is optimization + embedding of footage you already have, not creating/animating a video (for that use remotion/moviepy/motion-canvas). Use when the user says "add this video to the site", "the hero video is too big / won't play / isn't crisp", "replace the homepage video", or "make this loop on the landing page".

ever-just/agentskills

Full conversion audit for any homepage or landing page. Use when someone asks to "review my homepage," "audit my landing page," "why isn't my page converting," "check my website," or wants feedback on their marketing page. Requires URL or screenshot before proceeding.

ever-just/agentskills

Automatically fetch YouTube video transcripts, generate structured summaries, and send full transcripts to messaging platforms. Detects YouTube URLs and provides metadata, key insights, and downloadable transcripts.

相關技能