mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-04-10 11:23:32 +08:00
New skill: - remotion-video-creation: 29 domain-specific Remotion rules covering 3D/Three.js, animations, audio, captions, charts, compositions, fonts, GIFs, Lottie, measuring, sequencing, tailwind, text animations, timing, transitions, trimming, and video embedding. Ported from personal skills. Restored: - autonomous-agent-harness/SKILL.md (was in commit but missing from worktree) - lead-intelligence/ (full directory restored from branch commit) Updated: - manifests/install-modules.json: added remotion-video-creation to media-generation - README.md + AGENTS.md: synced counts to 139 skills Catalog validates: 30 agents, 60 commands, 139 skills.
29 lines
790 B
Markdown
29 lines
790 B
Markdown
---
|
|
name: animations
|
|
description: Fundamental animation skills for Remotion
|
|
metadata:
|
|
tags: animations, transitions, frames, useCurrentFrame
|
|
---
|
|
|
|
All animations MUST be driven by the `useCurrentFrame()` hook.
|
|
Write animations in seconds and multiply them by the `fps` value from `useVideoConfig()`.
|
|
|
|
```tsx
|
|
import { useCurrentFrame } from "remotion";
|
|
|
|
export const FadeIn = () => {
|
|
const frame = useCurrentFrame();
|
|
const { fps } = useVideoConfig();
|
|
|
|
const opacity = interpolate(frame, [0, 2 * fps], [0, 1], {
|
|
extrapolateRight: 'clamp',
|
|
});
|
|
|
|
return (
|
|
<div style={{ opacity }}>Hello World!</div>
|
|
);
|
|
};
|
|
```
|
|
|
|
CSS transitions or animations are FORBIDDEN - they will not render correctly.
|
|
Tailwind animation class names are FORBIDDEN - they will not render correctly. |