360 Secure SkillHub
360 安全技能中心

add-expert

该 Skill 指导在 Remotion 文档与推广页仓库中新增专家:放置正方形头像、编辑 experts-data.tsx 条目,并在 packages/docs 运行 bun render-cards 生成及上传专家卡片;需要 R2 凭据。

分类:开发
remotion-dev
热度 33.13
最近更新 2026-10-29 05:21:10

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add remotion-dev/remotion/add-expert
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
add-expert
description
Add a new expert to the Remotion experts page

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.

  2. Add an entry to the experts array in packages/promo-pages/src/components/experts/experts-data.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 ])
  3. Render the expert card by running in packages/docs:

    bun render-cards
    

    This renders and uploads https://remotion.media/docs/generated/experts-<slug>.png using R2 credentials from the environment. Verify it says "Uploaded". For an existing card, pass --overwrite=experts-<slug>. Local generated PNGs are ignored and must stay out of Git.