remotion-component-gen
БесплатноБез исполняемых скриптовНе проверенGenerates individual Remotion scene components from visual direction. Input is visual/animation description for a specific scene. Output is SCENE_COMPONENT.md…
от ncklrs★ 58 звёзд на GitHubОб этом скилле
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:
- Scene components — Complete TSX implementation for individual scenes
- Animation integration — Applies spring/interpolate from animation configs
- Visual layout — Implements positioning, sizing, layout logic
- Asset integration — StaticFile imports and asset usage
- 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`
```typescript
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
- Add logo asset to public/images/logo.svg
- Test in preview to verify timing and animation feel
- Adjust constants if needed (scale values, timing)
- **Move to next
Установить remotion-component-gen в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл remotion-component-gen?
Generates individual Remotion scene components from visual direction. Input is visual/animation description for a specific scene. Output is SCENE_COMPONENT.md with complete TSX implementation. Use when implementing scenes or when asked to "create a scene component", "implement scene from spec", "build Scene1Intro".
Как установить скилл remotion-component-gen?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл remotion-component-gen запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic