Communitygithub.com

Remotion-Setup

Richtet ein neues Remotion-Videoprojekt ein, das für Claude Code Agent Skills vorbereitet ist – Node-Prüfung, create-video-Scaffold, Skills-Installation, Ordnerkonventionen, Google Fonts und ein Smoke-Test-Render.

Was ist Remotion-Setup?

Dieses Skill richtet eine vollständige Remotion-Entwicklungsumgebung für die Nutzung mit Claude Code Agent Skills ein. Es überprüft die Node.js-Version (>=16), erstellt ein neues Projekt mit `npx create-video@latest` (empfohlen wird die Blank-Vorlage), installiert die Remotion-Agent-Skills und richtet standardisierte Ordnerstrukturen ein (`src/compositions/`, `public/assets/`). Anschließend wird eine Google-Schriftart (z. B. Inter) über `@remotion/google-fonts` integriert, eine einfache Smoke-Test-Komposition erstellt und gerendert, und schließlich Remotion Studio für die interaktive Vorschau gestartet. Das Skill stellt sicher, dass alle Komponenten korrekt funktionieren, bevor es die Umgebung als bereit erklärt. Es ist für Entwickler und Agenten gedacht, die mit Claude Code Produktvideos oder andere Remotion-basierte Animationen erstellen möchten.

Funktioniert mit✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/SkillMedev/skills/tree/HEAD/skills/remotion-setup

In Ihrer bevorzugten KI fragen

Öffnet einen neuen Chat, in dem dieser Agent-Skill bereits geladen ist.

Dokumentation

Was macht Remotion-Setup?

Sie richten ein neues Remotion-Projekt ein und konfigurieren es so, dass der Rest des Workflows so einfach ist wie "Claude etwas sagen". Dies ist die einmalige Umgebungseinrichtung. Führen Sie dies einmal pro Projekt durch; danach springen remotion-compose und remotion-render direkt in die kreative Schleife.

Reagieren Sie sofort. Wenn der Nutzer etwas sagt über Videos mit Claude erstellen – "Remotion einrichten", "ein Remotion-Projekt erstellen", "Ich möchte mit Claude Produktvideos erstellen", "ein Videoprojekt starten" – führen Sie dieses Skill aus.

Schritt 1 – Werkzeugkette überprüfen

Remotion rendert mit Headless Chromium, also überprüfen Sie Node vor dem Scaffold:

node --version   # benötigt >= 16; bevorzugt eine aktive LTS-Version

Wenn Node älter als 16 ist, brechen Sie ab und fordern Sie den Nutzer auf, zu aktualisieren (nvm: nvm install --lts && nvm use --lts). Überprüfen Sie auch, dass npx verfügbar ist (wird mit npm 5.2+ ausgeliefert).

Schritt 2 – Projekt erstellen

npx create-video@latest

Dies ist interaktiv. Empfehlen Sie die Blank (Hello World)-Vorlage – sie ist die sauberste Basis für Produktvideos. Die CLI fragt nach einem Projektverzeichnis und einem Paketmanager; lassen Sie den Nutzer wählen, dann cd in den neuen Ordner und installieren Sie:

cd <projektname>
npm install

Schritt 3 – Remotion Agent Skills installieren

Damit Claude Code die Remotion-eigenen Skill-Kontexte in diesem Repository zur Verfügung hat:

npx remotion skills add remotion

Dies legt die Agent-Skill-Dateien von Remotion im Projekt ab. Falls der Befehl in der installierten Remotion-Version nicht verfügbar ist, weisen Sie den Nutzer auf eine neuere @remotion/cli hin und fahren Sie fort – es ist eine Annehmlichkeit, keine harte Abhängigkeit.

Schritt 4 – Ordnerkonventionen festlegen

Standardisieren Sie die Struktur, damit spätere Skills immer wissen, wo was hingehört:

src/
  Root.tsx              # registriert jede <Composition> (das Eintragsregister)
  index.ts              # registerRoot(RemotionRoot)
  compositions/         # eine .tsx-Datei pro Video – remotion-compose schreibt hier hinein
public/
  assets/               # Bilder, Logos, Audio – referenziert über staticFile()

Erstellen Sie die Ordner, falls die Vorlage dies nicht getan hat:

mkdir -p src/compositions public/assets

src/Root.tsx ist das Register. Jedes Video ist eine hier registrierte <Composition>:

// src/Root.tsx
import { Composition } from "remotion";
import { HelloWorld } from "./compositions/HelloWorld";

export const RemotionRoot: React.FC = () => {
  return (
    <Composition
      id="HelloWorld"
      component={HelloWorld}
      durationInFrames={90}
      fps={30}
      width={1920}
      height={1080}
    />
  );
};
// src/index.ts
import { registerRoot } from "remotion";
import { RemotionRoot } from "./Root";
registerRoot(RemotionRoot);

Sinnvolle Standardwerte zur Registrierung: 30 fps und 1920x1080 für horizontale Produktvideos (1080x1920 für vertikale soziale Medien), und kurze Dauern – 90 Bilder bei 30 fps sind 3 Sekunden, und die meisten Produkt-Demo-Videos liegen zwischen 15 und 60 Sekunden (450-1800 Bilder).

Schritt 5 – Eine Google-Schriftart laden

Remotion bietet erstklassige Google Fonts, sodass Texte deterministisch gerendert werden. Installieren und laden Sie einmal:

npm install @remotion/google-fonts
// am Anfang einer Kompositionsdatei laden
import { loadFont } from "@remotion/google-fonts/Inter";
const { fontFamily } = loadFont();
// dann verwenden: <div style={{ fontFamily }}>...</div>

loadFont() blockiert den Render, bis die Schriftart bereit ist, sodass Text auf dem Bildschirm niemals in einem ungestylten Fallback erscheint. Wählen Sie die Schriftart, die zur Marke passt – tauschen Sie Inter gegen Poppins, Roboto usw. aus.

Schritt 6 – Smoke-Test-Komposition

Schreiben Sie eine triviale Komposition, um zu beweisen, dass die Umgebung Ende-zu-Ende rendert:

// src/compositions/HelloWorld.tsx
import { AbsoluteFill, useCurrentFrame, interpolate } from "remotion";
import { loadFont } from "@remotion/google-fonts/Inter";

const { fontFamily } = loadFont();

export const HelloWorld: React.FC = () => {
  const frame = useCurrentFrame();
  const opacity = interpolate(frame, [0, 30], [0, 1], {
    extrapolateRight: "clamp",
  });
  return (
    <AbsoluteFill style={{ backgroundColor: "#0B0B0F", justifyContent: "center", alignItems: "center" }}>
      <h1 style={{ fontFamily, color: "white", fontSize: 90, opacity }}>
        It works.
      </h1>
    </AbsoluteFill>
  );
};

Stellen Sie sicher, dass es in src/Root.tsx registriert ist (Schritt 4), und rendern Sie es dann:

npx remotion render src/index.ts HelloWorld out/smoke-test.mp4

Der erste Render lädt Headless Chromium herunter (einige hundert MB – rechnen Sie mit einer einmaligen Wartezeit von einigen Minuten bei normaler Verbindung); danach sollte dieser 90-Bilder-Smoke-Test in deutlich unter einer Minute gerendert werden. Wenn out/smoke-test.mp4 einen einblendenden Titel abspielt, ist die Umgebung in Ordnung. Wenn der Render fehlschlägt, liegt es fast immer an (a) Chromium-Download/Berechtigungen, (b) nicht in Root.tsx registrierter Komposition oder (c) einem Node-Versionsproblem aus Schritt 1.

Schritt 7 – Remotion Studio zur Vorschau starten

Für die interaktive Vorschau (Timeline scruben, Hot-Reload bei Änderungen):

npx remotion studio

Dies stellt das Studio unter http://localhost:3000 bereit. Die create-video-Vorlage verknüpft auch npm run dev mit demselben. Lassen Sie Studio während der Iteration laufen – Änderungen an Kompositionsdateien werden sofort heiß nachgeladen.

Ergebnis

Der Nutzer erhält ein funktionierendes Remotion-Projekt: das erstellte Repository mit der src/compositions/ + public/assets/-Struktur, installierte Remotion-Agent-Skills, eine eingebundene Google-Schriftart, eine registrierte Smoke-Test-Komposition, ein gerendertes out/smoke-test.mp4, das tatsächlich abspielt, und das laufende Remotion Studio zur Vorschau. Nichts ist "eingerichtet", bis das Smoke-Test-MP4 existiert und abspielt.

NICHT

  • Überspringen Sie nicht die Node-Prüfung und führen Sie den Scaffold trotzdem durch – ein Node unter 16 führt tief im Chromium-Render zu einem verwirrenden Fehler, nicht zur Installationszeit.
  • Erklären Sie die Einrichtung nicht für abgeschlossen, ohne den Smoke-Test gerendert zu haben; ein Projekt, das kompiliert, aber noch nie ein MP4 produziert hat, hat die Chromium-Pipeline nicht nachgewiesen.
  • Legen Sie Kompositionen oder Assets nicht an willkürlichen Orten ab – spätere Skills (remotion-compose, remotion-render) verlassen sich auf vorhandene src/compositions/ und public/assets/.
  • Referenzieren Sie Assets nicht über relative Pfade oder URLs; verwenden Sie staticFile() aus public/, sonst funktionieren Render lokal, aber nicht woanders.
  • Verwenden Sie keine System- oder CSS-importierten Schriftarten für Bildschirmtext – ohne loadFont(), das blockiert, kann Text auf der Rendermaschine in einer Fallback-Schriftart erscheinen.
  • Wählen Sie keine funktionsreiche Vorlage für Produktvideos; die Blank-Vorlage vermeidet Demo-Code, den der Nutzer später löschen müsste.

Qualitätskriterien

  • node --version ist >= 16 und wurde vor dem Scaffold überprüft.
  • out/smoke-test.mp4 existiert und zeigt einen einblendenden Titel.
  • Die Ordnerkonventionen existieren genau wie angegeben, und die Smoke-Komposition ist in src/Root.tsx registriert.
  • Text wird über @remotion/google-fonts mit loadFont() gerendert, nicht mit einem System-Fallback.
  • Remotion Studio startet unter localhost:3000 und lädt Änderungen heiß nach.

Übergabe

Sobald der Smoke-Test gerendert wurde und Studio läuft, teilen Sie dem Nutzer mit, dass das Projekt bereit ist, und übergeben Sie: "Die Einrichtung ist abgeschlossen. Beschreiben Sie das gewünschte Video – Dauer, Szenen, Markenfarben – und ich schreibe die Komposition (remotion-compose), rendere und iteriere (remotion-render)."

Individual skills in this repo

This repo contains 19 individual skills — each has its own dedicated page.

SkillMedev/skills

Designs REST API surfaces - resource naming, HTTP method and status-code semantics, error shapes, pagination, and filtering - and delivers an endpoint spec a consumer can build against without asking questions. Use when someone asks "how should I name this endpoint", "what status code should this return", "should this be PUT or PATCH", "how do I paginate this list", or is reviewing an API before it ships to external consumers. Do NOT use for planning breaking-change rollouts and deprecation windows - use api-versioning-strategist instead; for GraphQL type and resolver design - use graphql-schema instead; for generating client SDKs from an existing spec - use api-client-generator instead; for designing inbound webhook endpoints - use webhook-receiver-hardener instead.

SkillMedev/skills

Produce an accurate, properly timed caption track (SRT or WebVTT) from a video's audio - transcribing or aligning to the voiceover script, timing cues to speech, and enforcing line-length and reading-speed rules so captions are readable and in sync. Use when someone says "generate captions", "make subtitles from the audio", "transcribe and caption this", "export an SRT or VTT", "the captions are out of sync", or "the subtitles flash by too fast to read". Do NOT use to burn-in, style, reframe, or position an existing caption track for a platform (9:16, brand styling, safe areas) - that is social-video-formatter; do NOT use to animate text word-by-word as a motion graphic - that is kinetic-typography; do NOT use to write the spoken script in the first place - that is narration-script.

SkillMedev/skills

Turns data and charts into a decision-driving narrative structured as headline finding, trend, implication, and recommended action - with finding-led chart titles, context for every number, annotation guidance, and honest flags on any conclusion the data cannot support. Use when someone says "turn these numbers into a story", "what's the takeaway from this data", "help me present these results to leadership", or has charts but no narrative. Do NOT use for compressing a long document into a one-pager - use executive-summary instead - or for running the analysis that produces the findings - use eda-playbook instead.

SkillMedev/skills

Use when a task needs live or historical money data - "convert USD to EUR", "current/past exchange rate", "FX rate on this date / over this range", or "current price of Bitcoin/Ethereum, market cap, 24h change". Frankfurter (ECB reference rates, no key) is the FX default; CoinGecko's free keyless tier covers crypto. Do NOT use for stock quotes or equities - no keyless stock API survives verification, say so instead of guessing; do NOT use for country economic indicators like GDP or inflation series - use government-open-data instead; if the request is a vague "I need live data", route through public-data-api-picker.

SkillMedev/skills

Builds a driver-based FP&A operating model linking business inputs to P&L, balance sheet, and cash flow outputs. Use when building an annual plan, preparing investor materials, running scenario analysis, or stress-testing the business.

SkillMedev/skills

Use when a task needs live geographic lookups - "geocode this address", "what's at these coordinates" (reverse geocoding), "lat/lon for this city", "which country/state is this ZIP or postal code in", or "country facts: capital, currency, population, flag". Nominatim (OpenStreetMap) is the geocoding default; Zippopotam for postal codes; APICountries for country facts. All keyless. Do NOT use for weather at a location - use weather-climate instead; do NOT use for country-level statistics over time (GDP, population trends) - use government-open-data instead; if the request is a vague "I need live data", route through public-data-api-picker.

SkillMedev/skills

Runs the full Getting Things Done loop - capture, clarify, organize, reflect, engage - building a trusted system of context lists, a projects list with defined next actions, and a weekly review habit. Use when someone says "I'm overwhelmed and things are slipping through the cracks", "set up GTD for me", "help me do a brain dump and organize it", or "my to-do list is a mess". Do NOT use for just running the weekly review ritual itself - use weekly-review instead - or for clearing an email backlog - use inbox-zero.

SkillMedev/skills

Processes any email backlog to zero using the 4Ds - Delete, Delegate, Defer, Do - with a mass-archive strategy for the obvious, a touch-each-email-once discipline, and a keep-it-clear system of batched processing windows, ruthless unsubscribing, filters, and a minimal folder setup. Use when someone says "I have 5,000 unread emails", "help me get to inbox zero", "email is eating my whole day", or treats their inbox as a to-do list. Do NOT use for drafting the reply emails themselves or prioritization rules for an ongoing support queue - use email-triage instead - or for protecting focus time around the email windows - use deep-work-planner instead.

SkillMedev/skills

Write landing-page copy section by section - hero, social proof, features-as-benefits, objections, CTA - leading with one promise and proving it down the page. Use when someone asks "write my landing page", "improve my hero headline", "what should the homepage say", "turn these features into benefits", or is shipping a new page for a launch or campaign. Do NOT use for testing and optimizing an existing page's conversion rate - use landing-page-cro instead; for the one-line claim itself use positioning-statement; for the full message ladder use messaging-hierarchy.

SkillMedev/skills

Improves an existing landing page's conversion rate through evidence-first CRO - audit heatmaps and recordings, write structured hypotheses, prioritize with ICE scoring, and run one-variable tests to statistical significance. Use when someone asks "why isn't my landing page converting", "audit this page before we scale spend", "which A/B test should we run first", or after a CVR drop or ahead of a paid-traffic push. Do NOT use for writing a new landing page from scratch - use landing-page-copy instead. Do NOT use for auditing the ad accounts sending the traffic - use paid-acquisition-audit instead. Do NOT use for reading the results of a finished experiment - use ab-test-analyzer instead.

SkillMedev/skills

Runs structured coaching sessions using values clarification and the GROW model, ending every session with one committed action, a deadline, and an if-then plan for the likely obstacle. Use when someone says "I feel stuck in my life", "help me figure out what I want", "hold me accountable to my goals", or "coach me through this decision". Do NOT use for building a stress toolkit - use stress-management instead - or a journaling practice - use journal-framework; for a standing goal-tracking system, use goals-accountability. Coaching, not therapy: signs of clinical distress route to a licensed professional.

SkillMedev/skills

Adapts English content for a target language and region - swapping idioms, setting the right formality register, replacing cultural references, converting dates, units, and currency - and delivers the localized text with a notes column explaining each adaptation and flagging what needs a native reviewer. Use when someone asks "localize this copy for the Japanese market", "adapt our marketing copy for the Mexican market", "make this translation sound native instead of literal", or a literal translation reads foreign, stiff, or risky. Do NOT use for auditing in-product UI text quality - use ux-writing-audit instead.

SkillMedev/skills

Turns a natural-language video brief into a complete, ready-to-preview Remotion composition - extracts duration, scenes, brand colors, aspect ratio, and real copy; plans the frame budget; and writes data-driven React/TypeScript using useCurrentFrame, interpolate, spring, AbsoluteFill, and Sequence, registered in Root.tsx. Use when someone says "build a 20-second product demo video", "animate a feature walkthrough", "write the Remotion code for this marketing clip", or wants a scene-by-scene composition they can scrub in Studio. Do NOT use for rendering, iterating, or batching the finished MP4 - use remotion-render instead - or for installing and scaffolding the project - use remotion-setup instead.

SkillMedev/skills

Classifies incident severity (SEV1-4) using impact, scope, and urgency signals and decides who to page. Use when an alert fires or a report comes in and a severity call must be made quickly.

SkillMedev/skills

Use the Skill Me catalog from inside any conversation - discover, install, and manage Claude skills through the Skill Me MCP, and load installed skills automatically each session.

SkillMedev/skills

Write one platform-native caption from a topic and brand voice, with a front-loaded hook, native length, and a single earned CTA. Use when the user gives a topic (and optionally brand voice or a described image/video) and asks for an Instagram, LinkedIn, X/Twitter, or TikTok caption. Do NOT use when the user wants a dedicated standalone LinkedIn post - use linkedin-post-writer instead; or a multi-post X thread - use tweet-thread-builder instead; or to adapt one existing piece of content into versions for several channels - use cross-platform-reformatter instead.

SkillMedev/skills

Reframe and export a finished video for social platforms - 9:16 ↔ 16:9 cropping, burned-in captions, a platform-native first frame, loop design, and per-platform specs (aspect, length, safe areas) for TikTok, Reels, Shorts, X, and LinkedIn. Use when someone says "make this vertical", "crop to 9:16", "format for TikTok/Reels/Shorts", "add captions/subtitles", "why is my video cut off on mobile", "resize for Instagram", or "export for social". Do NOT use when the question is about the storyboard or shot order before any video exists (use video-storyboard); the animation craft of how elements move (use motion-design-principles); animated word-by-word caption styling (use kinetic-typography); palette, contrast, or lighting (use motion-color-and-light); directing the product-demo content and screen choreography (use product-demo-director); or scoring, beat-syncing, or audio (use sound-and-music-sync) - this is the craft layer that decides WHAT to format for the feed, then hands a concrete spec to remotion-compo...

SkillMedev/skills

Writes and tunes PySpark jobs - join strategy and broadcast size limits, shuffle-partition sizing, skew diagnosis and salting, UDF avoidance, caching, and output file layout - with concrete size and skew thresholds. Use when someone asks "why is my Spark job slow", "should I broadcast this join", "one task takes forever while the rest finish", "my job OOMs during a join", or is writing a new PySpark ETL job. Do NOT use for Kafka topic, consumer-group, or streaming-pipeline design - use kafka-pipelines instead; do NOT use for single-machine dataframe work that fits in memory - use pandas-expert instead.

SkillMedev/skills

Builds clean, performant, accessible SwiftUI views with correct state ownership, scoped invalidation, and smooth list scrolling, and reviews existing SwiftUI code against a concrete frame-time and re-render budget. Use when someone asks "why does my SwiftUI list stutter", "should this be @State or @Observable", "my whole screen re-renders when one row changes", "how do I animate this transition", or wants a SwiftUI view built or refactored. Do NOT use for cross-platform React Native apps - use react-native-pro instead; do NOT use for Flutter widget trees - use flutter-widget-architect instead; do NOT use for Android Compose UIs - use jetpack-compose-builder instead.

Verwandte Skills