Source profileQuality 73/100

MoizIbnYousaf/marketing-cli/skills/remotion-best-practices/references/upstream-internal/skills/web-renderer-test/SKILL.md

web-renderer-test

Add a test case to the web renderer

Source repository stars
27
Declared platforms
0
Static risk flags
0
Last source update
2026-07-28
Source checked
2026-07-28

Decision brief

What it does—and where it fits

Each test is powered by a fixture in packages/web-renderer/src/test/fixtures. A fixture looks like this for example:

Best for

    Not for

    • Tasks that require unconfirmed production actions or broad system permissions.
    • Environments where the pinned source and install steps cannot be inspected.

    Compatibility matrix

    Platform support, with evidence labels

    PlatformStatusEvidenceWhat to check
    CodexNot declaredNo explicit evidencePortability before use
    Claude CodeNot declaredNo explicit evidencePortability before use
    CursorNot declaredNo explicit evidencePortability before use
    Gemini CLINot declaredNo explicit evidencePortability before use
    Open the compatibility checker

    Installation

    Inspect first. Install second.

    The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

    Source-detected install commandSource
    npx skills add https://github.com/MoizIbnYousaf/marketing-cli --skill "skills/remotion-best-practices/references/upstream-internal/skills/web-renderer-test"
    Safe inspection promptEditorial

    Inspect the Agent Skill "web-renderer-test" from https://github.com/MoizIbnYousaf/marketing-cli/blob/f12fbcbe4929584697b309b9096c9427b0cfce8e/skills/remotion-best-practices/references/upstream-internal/skills/web-renderer-test/SKILL.md at commit f12fbcbe4929584697b309b9096c9427b0cfce8e. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.

    Workflow

    What the source asks the agent to do

    1. 01

      Example

      Each test is powered by a fixture in packages/web-renderer/src/test/fixtures. A fixture looks like this for example:

      Each test is powered by a fixture in packages/web-renderer/src/test/fixtures. A fixture looks like this for example:The corresponding test looks like this:
    2. 02

      Adding a new test

      1. Add a new fixture in packages/web-renderer/src/test/fixtures. 2. Important: Add the fixture to packages/web-renderer/src/test/Root.tsx to add a way to preview it. 3. Add a new test in packages/web-renderer/src/test. 4. Run bunx vitest src/test/video.test.tsx to execute the te…

      Add a new fixture in packages/web-renderer/src/test/fixtures.Important: Add the fixture to packages/web-renderer/src/test/Root.tsx to add a way to preview it.Add a new test in packages/web-renderer/src/test.

    Permission review

    Static risk signals and limitations

    No configured static risk pattern was detected

    This is not proof of safety. Runtime behavior, indirect dependencies, and hidden external systems are outside the static scan.

    Evidence record

    Why each signal appears

    EvidenceSourceComputedTestedEditorial
    SignalValueEvidence typeMeaning
    Quality score73/100ComputedDocumentation, specificity, maintenance, and trust rules
    Repository stars27SourceRepository attention, not individual Skill quality
    Compatibility0 platformsSourceDeclared in the catalog source record
    Usage guideautomated source guideEditorialGenerated or reviewed according to the visible evidence level

    Pinned source

    Provenance and original SKILL.md

    Repository
    MoizIbnYousaf/marketing-cli
    Skill path
    skills/remotion-best-practices/references/upstream-internal/skills/web-renderer-test/SKILL.md
    Commit
    f12fbcbe4929584697b309b9096c9427b0cfce8e
    License
    MIT
    Collected
    2026-07-28
    Default branch
    main
    View the original SKILL.md

    The web renderer is in packages/web-renderer and the test suite is in packages/web-renderer/src/test.

    It uses visual snapshot testing using vitest. A test file can for example be executed using:

    bunx vitest src/test/video.test.tsx
    

    Example

    Each test is powered by a fixture in packages/web-renderer/src/test/fixtures. A fixture looks like this for example:

    import {AbsoluteFill} from 'remotion';
    
    const Component: React.FC = () => {
      return (
        <AbsoluteFill
          style={{
            justifyContent: 'center',
            alignItems: 'center',
          }}
        >
          <div
            style={{
              backgroundColor: 'red',
              width: 100,
              height: 100,
              borderRadius: 20,
            }}
          />
        </AbsoluteFill>
      );
    };
    
    export const backgroundColor = {
      component: Component,
      id: 'background-color',
      width: 200,
      height: 200,
      fps: 25,
      durationInFrames: 1,
    } as const;
    

    The corresponding test looks like this:

    import {test} from 'vitest';
    import {renderStillOnWeb} from '../render-still-on-web';
    import {backgroundColor} from './fixtures/background-color';
    import {testImage} from './utils';
    
    test('should render background-color', async () => {
      const blob = await renderStillOnWeb({
        licenseKey: 'free-license',
        composition: backgroundColor,
        frame: 0,
        inputProps: {},
        imageFormat: 'png',
      });
    
      await testImage({blob, testId: 'background-color'});
    });
    

    Adding a new test

    1. Add a new fixture in packages/web-renderer/src/test/fixtures.
    2. Important: Add the fixture to packages/web-renderer/src/test/Root.tsx to add a way to preview it.
    3. Add a new test in packages/web-renderer/src/test.
    4. Run bunx vitest src/test/video.test.tsx to execute the test.
    5. Important: Update packages/docs/docs/client-side-rendering/limitations.mdx to reflect the newly supported property.

    Alternatives

    Compare before choosing