remotion-markup
यह क्या करती है
यह स्किल Remotion में React कोड लिखने के लिए मार्गदर्शन देती है। Remotion कोड से वीडियो बनाने का एक टूल है। यह उन डेवलपर्स के लिए है जो एनिमेटेड वीडियो बनाते हैं और चाहते हैं कि कोड सही रेंडर हो।
कब इस्तेमाल करें
- ✓जब आप एजेंट से Remotion वीडियो में एनिमेटेड शीर्षक या दृश्य बनाने को कहते हैं।
- ✓जब CSS transitions या animations से बनी गति रेंडर किए गए वीडियो में नहीं दिखती।
- ✓जब आप चाहते हैं कि Remotion कॉम्पोनेंट समय के साथ फ़ेड, स्लाइड या स्केल हो।
Skill का लिंक
https://github.com/remotion-dev/remotion/blob/main/packages/codex-plugin/skills/remotion-markup/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे Remotion वीडियो का शीर्षक पहले दो सेकंड में फ़ेड-इन होकर ऊपर स्लाइड करे।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
स्किल एजेंट से कहती है कि गति को वर्तमान frame नंबर और interpolation से चलाए, जो Remotion वीडियो के लिए ज़रूरी तरीका है। यह अपनाने योग्य कोड पैटर्न भी दिखाती है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
This is guidance for writing Remotion React Markup. If this is not relevant, load Remotion Best Practices instead.
Preserve user changes
Users may make edits in the code outside of the conversation.
If you detect a surprising change made in the meanwhile, don't overwrite it, assume it was intentional or ask for confirmation.
General rules
Drive animations using useCurrentFrame() and interpolate().
CSS transition or animation will not render correctly, they need to refactored.
Tailwind animation class will not render correctly, they need to be refactored.
Use Easing.bezier() and Easing.spring() to customize timing.
Structure your markup according to Remotion Interactivity Best Practices
import { useCurrentFrame, Easing, interpolate, Interactive } from "remotion";
export const FadeIn = () => {
const frame = useCurrentFrame();
return (
<Interactive.Div
name="Title"
style={{
opacity: interpolate(frame, [0, 2 * fps], [0, 1], {
extrapolateRight: "clamp",
extrapolateLeft: "clamp",
easing: Easing.bezier(0.16, 1, 0.3, 1),
}),
}}
>
Hello World!
</Interactive.Div>
);
};
Keep the interpolate() call inline in the style prop.
Use scale, translate, rotate CSS properties over transform.
// 👍 Inline editable keyframes and transform shorthands
style={{
scale: interpolate(frame, [0, 100], [0, 1], {
extrapolateLeft: 'clamp',
extrapolateRight: 'clamp',
easing: Easing.spring({damping: 200}),
output: 'perceptual-scale' // For `scale` animations, use "output: 'perceptual-scale'"
}),
translate: interpolate(frame, [0, 100], ["0px 0px", "100px 100px"], {
extrapolateLeft: 'clamp',
extrapolateRight: 'clamp',
easing: Easing.spring({damping: 200}),
}),
rotate: interpolate(frame, [0, 100], ["20deg", "90deg"], {
extrapolateLeft: 'clamp',
extrapolateRight: 'clamp',
easing: Easing.spring({damping: 200}),
}),
}}
// 👎 Non-inline values and transform strings become harder to edit in Studio
const scale = interpolate(frame, [0, 100], [0, 1]);
style={{
transform: `scale(${scale})`,
}}
Assets
Place assets in the public/ folder at your project root.
Use staticFile() to reference files from the public/ folder.
Media components
Add video and audio using <Video> and <Audio> from @remotion/media.
Add images using the <CanvasImage> component.
Add animated GIFs, APNG, WebP or AVIF images using <AnimatedImage>, use @remotion/gif if not using Chrome.
Use staticFile() for files in public/ or pass a remote URL directly:
import { Audio, Video } from "@remotion/media";
import { staticFile, CanvasImage, AnimatedImage } from "remotion";
export const MyComposition = () => {
return (
<>
<Video src={staticFile("video.mp4")} style={{ opacity: 0.5 }} />
<Audio src={staticFile("audio.mp3")} />
<CanvasImage
src={staticFile("logo.png")}
style={{ width: 100, height: 100 }}
/>
<Video src="https://remotion.media/video.mp4" />
<AnimatedImage src={staticFile('nyancat.gif')} />
</>
);
};
Example scene
import {
AbsoluteFill,
Easing,
Interactive,
interpolate,
useCurrentFrame,
useVideoConfig
} from "remotion";
export const Empty = () => {
const {fps} = useVideoConfig();
const frame = useCurrentFrame();
return (
<AbsoluteFill
name="Scene"
style={{
display: 'flex',
justifyContent: 'center',
alignItems: 'center',
backgroundColor: 'white'
}}
>
<Interactive.Div
name="Title"
style={{
opacity: interpolate(frame, [1 * fps, 2 * fps], [0, 1], {
extrapolateRight: "clamp",
extrapolateLeft: "clamp",
easing: Easing.bezier(0.16, 1, 0.3, 1),
}),
fontSize: 88
}}
>
Title
</Interactive.Div>
<Interactive.Div
name="Subtitle"
style={{
opacity: interpolate(frame, [2 * fps, 3 * fps, 8 * fps, 10 * fps], [0, 1, 1, 0], {
extrapolateRight: "clamp",
extrapolateLeft: "clamp",
easing: [Easing.bezier(0.16, 1, 0.3, 1), Easing.linear, Easing.bezier(0.16, 1, 0.3, 1)],
}),
fontSize: 32
}}
>
Subtitle
</Interactive.D
अक्सर पूछे जाने वाले सवाल
क्या इसे इस्तेमाल करने के लिए React जानना ज़रूरी है?
Remotion वीडियो React में लिखे जाते हैं, इसलिए थोड़ी जानकारी मदद करती है। आपका एजेंट आपके सादे अनुरोध से ज़्यादातर कोड लिख देता है।
यहाँ सामान्य CSS animations क्यों नहीं इस्तेमाल हो सकतीं?
CSS transitions और animations Remotion वीडियो में सही रेंडर नहीं होतीं। स्किल एजेंट को frame-आधारित गति की ओर ले जाती है।
क्या यह स्किल मेरे लिए वीडियो बना देती है?
यह आपके एजेंट द्वारा Remotion प्रोजेक्ट के लिए लिखे कोड का मार्गदर्शन करती है। वीडियो रेंडर करने के लिए आपका Remotion प्रोजेक्ट सेट होना ज़रूरी है।
जानकारी
लोकप्रियता
- GitHub स्टार
- 70k
- रैंकिंग में स्थान
- #3150
- लाइसेंस
- —
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
fix-root-cause
70kयह आपके एजेंट को किसी बग को उस जगह तक ट्रेस करना सिखाती है जहाँ चीज़ें पहली बार गलत हुईं, और वहीं ठीक करना, न कि वर्कअराउंड से लक्षण छिपाना।
gh-stack
70kयह आपके एजेंट को बड़े काम को जुड़ी हुई ब्रांच और pull requests की श्रृंखला में बाँटना दिखाती है, ताकि समीक्षक एक बार में बदलाव की एक छोटी परत देखें।
issue-management
70kयह आपके एजेंट को GitHub CLI से GitHub issues को parent, sub-issue और blocker के रूप में जोड़ने में मदद करती है, ताकि प्रोजेक्ट का काम साफ़ व्यवस्थित रहे।
no-comments
70kयह आपके एजेंट को सिर्फ़ टीम के अपने कोड का वर्णन करने वाली कोड टिप्पणियाँ हटाने में मदद करती है, और ब्राउज़र, लाइब्रेरी या प्लेटफ़ॉर्म की खासियतों वाली टिप्पणियाँ रखती है।
मिलती-जुलती skills
angular-developer
280kआपके एजेंट को Angular code बनाने और प्रोजेक्ट स्ट्रक्चर पर सलाह देने में मदद करता है। नए प्रोजेक्ट शुरू करने, code के हिस्से बनाने, या performance और accessibility सुधारने में उपयोगी है।
frontend-a11y
280kआपके एजेंट को web interfaces को सबके लिए accessible बनाने में मदद करता है। यह सुनिश्चित करता है कि websites और apps screen readers और keyboard navigation के साथ अच्छे से काम करें।
frontend-patterns
280kआपके एजेंट को React और Next.js में frontend development के modern patterns लागू करने में मदद करता है। यह performance optimize करता है, state manage करता है और best practices फॉलो करवाता है।