remotion-dev/remotion

add-expert

Add a new expert to the Remotion experts page

Quelltext ansehen

Verwendung

  1. Installationsbefehl kopieren und das Quellpaket vor der Installation in der eigenen Agentenumgebung prüfen.
  2. Benötigte Werkzeuge, Zugangsdaten und Hosts im Original prüfen.
  3. Eingabe und gewünschtes Ergebnis beschreiben und die Ausgabe mit den Quellen abgleichen.
npx skills add https://github.com/remotion-dev/remotion --skill add-expert

Vor dem Start

  • Die Installation umfasst weder Modellabo noch API-Kontingent oder Dateizugriffsrechte.
  • Sterne und Installationen zeigen Aktivität, keine unabhängige Qualitäts- oder Sicherheitsprüfung.
Originales Skill-Dokument

Aus dem Quell-Repository gerendert; Überschriften, Beispiele, Code, Tabellen, Links und Bilder bleiben erhalten.

Steps

  1. Add the expert's photo to both:
  • packages/docs/static/img/freelancers/<firstname>.png
  • packages/promo-pages/public/img/freelancers/<firstname>.png

The image should be a square headshot (PNG format). Both paths must have the same file.

  1. Add an entry to the experts array in packages/promo-pages/src/components/experts/experts-data.tsx:
tsx
   {
       slug: 'firstname-lastname',
       name: 'First Last',
       image: '/img/freelancers/<firstname>.png',
       website: 'https://example.com' | null,
       x: 'twitter_handle' | null,
       github: 'github_username' | null,
       linkedin: 'in/linkedin-slug/' | null,
       email: 'email@example.com' | null,
       videocall: 'https://cal.com/...' | null,
       since: new Date('YYYY-MM-DD').getTime(),
       description: (
           <div>
               A short description of the expert's work and specialties.
               Links to projects can be included with <a> tags.
           </div>
       ),
   },
  • since should be set to today's date
  • slug must be lowercase, hyphenated version of the name
  • Set unused social fields to null
  • The entry goes at the end of the experts array (before the closing ])
  1. Render the expert card by running in packages/docs:
   bun render-cards

This generates packages/docs/static/generated/experts-<slug>.png. Verify it says "Rendered experts-\<slug\>" (not "Existed").

Verwandte Aufgaben

aus demselben Repository

Weitere Skills

Alle Skills