remotion-com-skills
AGENTS.md105 starsChanged 6 months agoMITView on GitHub
This file provides guidance to Codex (Codex.ai/code) when working with code in this repository. This is a professional Remotion video component library for creating tech tutorial videos with Apple-style aesthetics and FilmStorm-level quality. Goal: Build a reusable component library for AI tech content creators, featuring: - Apple-style minimal design (#000000 background + #007AFF accent) - Organic, non-mechanical animations - Professional SVG icons (no emoji) - Code demonstrations with syntax highlighting - Data visualization and metrics tokens.ts - Centralized design constants:…
- Installs packages
In this repository3 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- remotion-componentsSkill
- tts-voiceoverSkill
The file
We split this AGENTS.md into the rules it gives an agent
10 rules. About 0 are common, 3 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 56
All new components go here.
- Very specific: line 85
Important: Never use emoji. Always use icons from Icons.tsx.
- Very specific: line 139
Use useCurrentFrame() for all animations
- Very specific: line 140
Use spring() for natural motion
- Very specific: line 141
Use interpolate() with easing functions
- Distinctive: line 148
Avoid mechanical timing (use organic easing)
- Very specific: line 253
Fix: Add explicit height parameter:
- Distinctive: line 260
Fix: Ensure all animated values derive from frame
- Very specific: line 263
Policy: Use SVG icons from Icons.tsx instead
- Distinctive: line 266
Fix: Import IconProps and use proper typing:
≈ “Common” is an estimate: at least 1 in 5 of the 16,597 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AGENTS.md
This file provides guidance to Codex (Codex.ai/code) when working with code in this repository.
Project Overview
This is a professional Remotion video component library for creating tech tutorial videos with Apple-style aesthetics and FilmStorm-level quality.
Goal: Build a reusable component library for AI tech content creators, featuring:
- Apple-style minimal design (#000000 background + #007AFF accent)
- Organic, non-mechanical animations
- Professional SVG icons (no emoji)
- Code demonstrations with syntax highlighting
- Data visualization and metrics
Development Commands
# Start Remotion Studio (live preview at http://localhost:3000)
npm run dev
# Run linting (ESLint + TypeScript)
npm run lint
# Bundle for rendering
npm run build
# Render specific composition
npx remotion render src/index.ts <CompositionID> out/video.mp4
# Upgrade Remotion
npm run upgradeArchitecture
Design System (src/design-system/)
tokens.ts - Centralized design constants:
- Colors: Apple-style palette (#000000 bg, #007AFF primary)
- Fonts: SF Pro Display/Text, JetBrains Mono
- Sizes: Large typography (hero: 120px, h1: 88px)
- Spacing, radius, animation durations
animations.ts - Animation presets:
- Spring presets: smooth, snappy, bouncy, heavy, playful
- Entrance animations: fade, slideUp, slideLeft, scale
- Decorative: lineExpand, glowSweep, breathe
Component Library (src/components/new/)
All new components go here. Import via src/components/new/index.ts.
Core Components
| Component | Purpose | Key Features |
| HeroTitle | Opening titles | Reveal animation, glow sweep, tags |
| SectionTitle | Chapter headers | Section number, progress bar, left indicator |
| CodeTerminal | Code display | macOS terminal style, line-by-line typing, syntax highlight |
| AnimatedList | Feature lists | Staggered entrance, icons, check animations |
| FeatureCard | Feature showcases | Icon + title + description, grid layout |
| MetricCard | Data metrics | Animated number counting, large typography |
| Transitions | Scene transitions | Fade, Slide, LightSweep, ZoomBlur, CurtainReveal |
Icon Library (src/components/new/Icons.tsx)
50+ SVG icons based on Heroicons (MIT) and Lucide (ISC) - free for commercial use.
Common icons:
- Tech: Computer, Bot, Terminal, Code, Database, Network
- Actions: Check, Plus, Minus, Close, ArrowRight, Download
- General: User, File, Folder, Calendar, Clock, Settings
Usage:
import { Zap, Lock, Computer } from '../components/new/Icons';
<Zap size={24} color="#007AFF" strokeWidth={2} />Important: Never use emoji. Always use icons from Icons.tsx. AI 生成的文案如果需要图标,禁止使用 emoji,必须优先使用 SVG 图标或开源组件库中的高质感图标。
Component Usage Patterns
HeroTitle
<HeroTitle
title="OpenClaw"
subtitle="完全新手指南"
tags={["AI 编码助手", "开源免费", "自托管部署"]}
/>CodeTerminal
<CodeTerminal
code={`npm install -g openclaw`}
language="bash"
filename="install.sh"
typingSpeed={1}
showLineNumbers={true}
/>AnimatedList (with icons)
<AnimatedList
items={[
{ title: '...', description: '...', icon: 'computer' },
{ title: '...', description: '...', icon: 'bot' },
]}
variant="card"
/>FeatureGrid (with icons)
<FeatureGrid
features={[
{ icon: 'zap', title: '极速响应', description: '...' },
{ icon: 'lock', title: '隐私安全', description: '...' },
]}
columns={3}
/>Animation Guidelines
Do's
- Use
useCurrentFrame()for all animations - Use
spring()for natural motion - Use
interpolate()with easing functions - Stagger list items with frame delays
Don'ts
- Never use CSS animations (they won't render)
- Never use Tailwind animation classes
- Never use emoji (use SVG icons instead)
- Avoid mechanical timing (use organic easing)
Example Pattern
const frame = useCurrentFrame();
const { fps } = useVideoConfig();
// Spring animation
const scale = spring({
frame,
fps,
config: { damping: 25, stiffness: 100 },
});
// Interpolation with easing
const opacity = interpolate(frame, [0, 20], [0, 1], {
extrapolateLeft: 'clamp',
easing: Easing.out(Easing.quad),
});Styling Guidelines
Grid Backgrounds
- 竖屏 composition 必须使用
PortraitGridBackground,16:9 composition 必须使用LandscapeGridBackground或兼容别名GridBackground。 - 背景组件要放在根级
AbsoluteFill内、所有Sequence和内容层之前,作为整条片子的共享背景层。 - 业务 composition 禁止直接导入或使用底层
VerticalBackground,也禁止手写 SVG/CSS 网格;需要调参时给PortraitGridBackground/LandscapeGridBackground传 props。 - 不要把标准网格调到几乎不可见。竖屏默认用
PortraitGridBackground默认参数;特殊场景的gridOpacity不低于0.14,除非用户明确要求无网格或极暗背景。
Colors (from tokens.ts)
import { COLORS } from '../design-system/tokens';
// Background: COLORS.background (#000000)
// Primary: COLORS.primary (#007AFF)
// Text: COLORS.text (#FFFFFF)
// Secondary: COLORS.textSecondary (#8E8E93)Fonts
import { FONTS } from '../design-system/tokens';
// Display: FONTS.display (SF Pro Display)
// Text: FONTS.text (SF Pro Text)
// Mono: FONTS.mono (JetBrains Mono)Typography Scale
- hero: 120px (main titles)
- h1: 88px (section titles)
- h2: 56px (subsections)
- h3: 40px (card titles)
- h4: 28px (small headers)
- body: 20px (descriptions)
File Structure
src/
├── design-system/ # Design tokens and animation utilities
│ ├── tokens.ts
│ └── animations.ts
├── components/new/ # New component library
│ ├── index.ts # Exports
│ ├── HeroTitle.tsx
│ ├── SectionTitle.tsx
│ ├── CodeTerminal.tsx
│ ├── AnimatedList.tsx
│ ├── FeatureCard.tsx
│ ├── MetricCard.tsx
│ ├── Transitions.tsx
│ └── Icons.tsx # 50+ SVG icons
├── scenes/demo/ # Demo compositions
│ └── DemoScenes.tsx
├── Root.tsx # Composition definitions
└── index.ts # Entry pointDependencies
Key packages:
remotion@ 4.0.434 - Video generation@remotion/transitions- Scene transitionstailwindcss@ 4.0.0 - Styling- React @ 19.2.3
TTS / Voiceover
User plans to implement Alibaba Cloud TTS as a Skill.
- Skip Edge TTS / ElevenLabs for now
- Voiceover sync system not yet implemented
Common Issues & Solutions
1. LightSweep shows transparency at bottom
Fix: Add explicit height parameter:
<LightSweep duration={30} height={1080} />2. Flickering animation warning
Cause: Animation not purely driven by useCurrentFrame()
Fix: Ensure all animated values derive from frame
3. Emoji not rendering
Policy: Use SVG icons from Icons.tsx instead
4. Type errors with icons
Fix: Import IconProps and use proper typing:
import { Zap, IconProps } from './Icons';
const iconMap: Record<string, React.FC<IconProps>> = { zap: Zap };Next Steps (Roadmap)
- AudioWaveform component (audio visualization)
- Chart components (BarChart, LineChart)
- TypewriterText effect
- Voiceover sync system
- TransitionSeries scene orchestration
- @remotion/light-leaks integration
Contact
For questions about this component library, refer to:
src/components/new/- Component implementationssrc/design-system/- Design tokens
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

