Token导航 LogoToken导航TokenDH.com
前端设计权限需确认github未标认证来源可访问许可证需确认审计通过

remotion-component-genRemotion component 生成

Agent Skill

用于辅助视频生成、动画合成、脚本化剪辑或 Remotion 等视频项目开发。它适合让 Agent 组织镜头、生成素材说明、维护合成代码或排查渲染问题。使用时需要确认分辨率、时长、素材路径和导出格式;涉及外部素材、人物肖像或商业发布时,应先核对版权授权和内容审核要求。

总安装

1,953

周安装

79

GitHub Stars

18

下载量

613
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:remotion-component-gen(Remotion component 生成)
来源仓库:https://github.com/ncklrs/startup-os-skills
仓库路径:skills/remotion-component-gen
安装命令:
npx skills add https://github.com/ncklrs/startup-os-skills --skill remotion-component-gen
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/ncklrs/startup-os-skills --skill remotion-component-gen

简介

用于辅助视频生成、动画合成和脚本化剪辑。

  • 适合组织镜头、生成素材说明或维护 Remotion 项目代码。
  • 通过 npx skills add 命令从指定仓库安装并使用。
  • 需确认分辨率、时长和素材路径,涉及版权时注意授权要求。
  • remotion-component-gen 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Remotion Component Gen

Generates production-ready Remotion scene component implementations from visual direction and animation specifications. This skill focuses on creating complete, working scene components.

What This Skill Does

Generates scene component code for:

  1. Scene components — Complete TSX implementation for individual scenes
  2. Animation integration — Applies spring/interpolate from animation configs
  3. Visual layout — Implements positioning, sizing, layout logic
  4. Asset integration — StaticFile imports and asset usage
  5. TypeScript types — Props interfaces for scene components

Scope Boundaries

IN SCOPE:

  • Complete scene component TSX code
  • Animation implementation (springs, interpolate)
  • Layout and visual styling
  • Asset imports and usage
  • Component-level logic

OUT OF SCOPE:

  • Animation config definitions (use /remotion-animation)
  • Composition sequence layout (use /remotion-composition)
  • Project scaffolding (use /remotion-scaffold)
  • Asset sourcing (use /remotion-asset-coordinator)

Input/Output Formats

Input Format: Visual Direction for Scene

Accepts scene description with visual and animation details:

From Motion Spec:

## Scene 1: Logo Reveal (0s - 5s)

**Visual Description:**
- Centered logo on dark background
- Logo scales from 0.8 to 1.0 with smooth spring
- Subtitle text fades in below logo
- Background: #0A0A0A (Black)
- Logo color: #FF6B35 (Primary)

**Animation Details:**
- Logo entrance: Frames 0-30
  - Spring config: smooth (damping: 200)
  - Scale: 0.8 → 1.0
  - Opacity: 0 → 1
- Subtitle reveal: Frames 20-50
  - Fade in with slight upward movement
  - TranslateY: 20px → 0
  - Opacity: 0 → 1

**Assets:**
- Logo: public/images/logo.svg

From Natural Language:

Create Scene1Intro with centered logo that springs in from 0.8 scale to 1.0.
Add subtitle text below that fades in after logo.
Use smooth spring animation for logo, linear fade for text.

Output Format: SCENE_COMPONENT.md

Generates complete scene component implementation:

# Scene Component: Scene1Intro

## Status
✅ Component implementation complete
⏳ Ready for integration into composition

## Component Code

File: `scenes/Scene1Intro.tsx`

import { AbsoluteFill, spring, interpolate, useCurrentFrame, useVideoConfig, Img, staticFile, } from "remotion"; import { COLORS, SPRING_CONFIGS } from "../constants";

export function Scene1Intro() { const frame = useCurrentFrame(); const { fps, width, height } = useVideoConfig();

// Logo entrance animation (frames 0-30) const logoProgress = spring({ frame, fps, config: SPRING_CONFIGS.smooth, });

const logoScale = interpolate(logoProgress, [0, 1], [0.8, 1]); const logoOpacity = logoProgress;

// Subtitle reveal animation (frames 20-50) const subtitleProgress = interpolate( frame, [20, 50], [0, 1], { extrapolateLeft: 'clamp', extrapolateRight: 'clamp', } );

const subtitleTranslateY = interpolate(subtitleProgress, [0, 1], [20, 0]); const subtitleOpacity = subtitleProgress;

return ( <AbsoluteFill style={{ backgroundColor: COLORS.background, justifyContent: "center", alignItems: "center", }} > {/* Logo */} <div style={{ transform: scale(${logoScale}), opacity: logoOpacity, }} > <Img src={staticFile("images/logo.svg")} style={{ width: 400, height: 400, }} /> </div>

{/* Subtitle */} <div style={{ position: "absolute", top: height / 2 + 250, transform: translateY(${subtitleTranslateY}px), opacity: subtitleOpacity, }} > <h2 style={{ color: COLORS.text, fontSize: 48, fontWeight: 600, margin: 0, }} > Innovation in Motion </h2> </div> </AbsoluteFill> ); }


## Component Props (if needed)

export interface Scene1IntroProps { // Add props here if scene needs customization }

// Update component: export function Scene1Intro({}: Scene1IntroProps) { // ... }


## Usage in Composition

import { Scene1Intro } from "./scenes/Scene1Intro";

// In main composition: <Sequence from={SCENE_TIMING.intro.start} durationInFrames={SCENE_TIMING.intro.duration}

<Scene1Intro /> </Sequence>


## Assets Required

- Logo image: `public/images/logo.svg` (400x400)

## Animation Summary

- **Logo entrance:** Smooth spring scale + fade (0-30 frames)
- **Subtitle reveal:** Linear fade + slide up (20-50 frames)

## Next Steps

1. **Add logo asset** to public/images/logo.svg
2. **Test in preview** to verify timing and animation feel
3. **Adjust constants** if needed (scale values, timing)
4. **Move to next scene** via another `/remotion-component-gen` call

## Checklist

- Component implemented
- Animation logic integrated
- Asset imports configured
- TypeScript types defined
- Asset added to project
- Tested in preview

Component Implementation Patterns

Pattern 1: Simple Entrance Animation

Basic spring-based entrance with scale and fade:

export function Scene() {
  const frame = useCurrentFrame();
  const { fps } = useVideoConfig();

  const progress = spring({
    frame,
    fps,
    config: SPRING_CONFIGS.smooth,
  });

  const scale = interpolate(progress, [0, 1], [0.8, 1]);

  return (
    <AbsoluteFill
      style={{
        transform: `scale(${scale})`,
        opacity: progress,
      }}
    >
      {/* Content */}
    </AbsoluteFill>
  );
}

Pattern 2: Staggered Elements

Multiple elements with delayed animations:

export function Scene() {
  const frame = useCurrentFrame();
  const { fps } = useVideoConfig();

  const items = ['Feature 1', 'Feature 2', 'Feature 3'];
  const STAGGER_DELAY = 10;

  return (
    <AbsoluteFill>
      {items.map((item, index) => {
        const itemProgress = spring({
          frame: frame - (index * STAGGER_DELAY),
          fps,
          config: SPRING_CONFIGS.snappy,
        });

        const translateX = interpolate(itemProgress, [0, 1], [-50, 0]);

        return (
          <div
            key={index}
            style={{
              transform: `translateX(${translateX}px)`,
              opacity: itemProgress,
              marginBottom: 20,
            }}
          >
            <h3>{item}</h3>
          </div>
        );
      })}
    </AbsoluteFill>
  );
}

Pattern 3: Text Reveal

Character-by-character or word-by-word reveal:

export function Scene() {
  const frame = useCurrentFrame();
  const text = "Hello World";
  const CHARS_PER_FRAME = 2;

  const charsToShow = Math.min(
    text.length,
    Math.floor(frame / CHARS_PER_FRAME)
  );

  return (
    <AbsoluteFill>
      <h1 style={{ fontSize: 72 }}>
        {text.slice(0, charsToShow)}
        {charsToShow < text.length && (
          <span style={{ opacity: Math.sin(frame * 0.3) * 0.5 + 0.5 }}>
            |
          </span>
        )}
      </h1>
    </AbsoluteFill>
  );
}

Integration Workflow

  1. Receive visual direction → Input to this skill
  2. Generate scene component → SCENE_COMPONENT.md
  3. Create scene file in scenes/ folder
  4. Add assets as specified
  5. Test in preview
  6. Adjust timing/styling if needed
  7. Move to next scene

Integration with Other Skills

This skill works within the pipeline:

remotion-component-gen (this skill)
    ↓ outputs: SCENE_COMPONENT.md (per scene)
    ↓ uses: ANIMATION_CONFIG.md (from remotion-animation)
    ↓ uses: COMPOSITION_STRUCTURE.md (for timing context)

Works with:

  • /motion-designer — Visual direction from design specs
  • /remotion-animation — Uses spring configs and timing from this skill
  • /remotion-composition — Scene fits within timing structure from this skill
  • /remotion-scaffold — Components added to scaffolded project
  • /remotion-asset-coordinator — Assets sourced and prepared for import
  • /remotion-spec-translator — Orchestrated by this skill for full translation

This skill generates production-ready scene component implementations that bring motion design specs to life in Remotion.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.25%
按下载量换算228

Claude

29.68%
按下载量换算182

Cursor

19.16%
按下载量换算117

Gemini CLI

9.9%
按下载量换算61

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

权限需确认

当前来源未能明确判断权限范围,默认进入异常复核队列。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills