Visual snapshot testing for web renderer components using vitest fixtures.
Works with
Create test fixtures in packages/web-renderer/src/test/fixtures that define a React component, dimensions, frame rate, and duration
Register fixtures in packages/web-renderer/src/test/Root.tsx to enable preview functionality
Write test cases that render stills using renderStillOnWeb() and validate output with testImage() snapshot comparison
Run tests with bunx vitest src/test/video.test.tsx and update docum
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versionweb-renderer-testExecute the skills CLI command in your project's root directory to begin installation:
Fetches web-renderer-test from remotion-dev/remotion and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate web-renderer-test. Access via /web-renderer-test in your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Automate repetitive workflows and reduce manual effort
Example
Generate reports, summarize documents, draft communications
Save 3-5 hours per week on routine tasks
Learn new skills, understand complex topics, get expert guidance
Example
Explain concepts, provide examples, suggest learning resources
Accelerate learning and skill development by 2x
Enhance output quality through reviews, suggestions, and refinements
Example
Review drafts, suggest improvements, catch errors
Improve work quality by 30-40% with less effort
0
total installs
0
this week
42.1K
GitHub stars
0
upvotes
Run in your terminal
0
installs
0
this week
42.1K
stars
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
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'});
});
packages/web-renderer/src/test/fixtures.packages/web-renderer/src/test/Root.tsx to add a way to preview it.packages/web-renderer/src/test.bunx vitest src/test/video.test.tsx to execute the test.packages/docs/docs/client-side-rendering/limitations.mdx to reflect the newly supported property.Prerequisites
Time Estimate
15-45 minutes depending on use case complexity
Steps
Common Pitfalls
✓ Do
✗ Don't
💡 Pro Tips
✓ Use when
Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.
✗ Avoid when
Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.
cexll/myclaude
github/awesome-copilot
github/awesome-copilot
supercent-io/skills-template
emilkowalski/skills
skillcreatorai/ai-agent-skills
web-renderer-test has been reliable in day-to-day use. Documentation quality is above average for community skills.
web-renderer-test has been reliable in day-to-day use. Documentation quality is above average for community skills.
Useful defaults in web-renderer-test — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
Solid pick for teams standardizing on skills: web-renderer-test is focused, and the summary matches what you get after install.
web-renderer-test is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
web-renderer-test reduced setup friction for our internal harness; good balance of opinion and flexibility.
We added web-renderer-test from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
web-renderer-test fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
I recommend web-renderer-test for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
Keeps context tight: web-renderer-test is the kind of skill you can hand to a new teammate without a long onboarding doc.
showing 1-10 of 29