screenshot

Capture and validate headless Pulp UI renders against reference images.

13|1|Updated Apr 6, 2026
One-click install
npx skills add https://github.com/Generous-Corp/pulp --skill screenshot-generous-corp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: screenshot
Source: https://github.com/Generous-Corp/pulp/tree/main/.agents/skills/screenshot
Command: npx skills add https://github.com/Generous-Corp/pulp --skill screenshot-generous-corp

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill solves the challenge of capturing faithful, headless screenshots of complex Pulp UI view trees, ensuring that GPU-rendered content, native overlays, and asset-heavy designs are rendered accurately without silent failures or blank frames.

Core Features & Use Cases

  • Intelligent Backend Selection: Automatically chooses between CPU raster, GPU-accelerated surfaces, or native snapshots based on the view tree composition.
  • Fidelity Validation: Provides tools to compare rendered output against reference images, including heatmap generation and worst-offending region analysis.
  • Use Case: Use this skill to automate visual regression testing for imported Figma designs, ensuring that gradients, images, and layout constraints match the source of truth across different rendering backends.

Quick Start

Use the screenshot skill to capture the current UI view tree to a PNG file using the skia backend for maximum fidelity.

Frequently Asked Questions about screenshot

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I capture headless screenshots of complex UI view trees?

To capture headless screenshots of complex UI view trees, this skill selects optimal rendering backends for GPU and native content, managing reconciliation and asset compositing to output pixel-perfect PNG files.

What is visual regression testing for imported Figma designs?

Visual regression testing for imported Figma designs is the process of validating that rendered gradients, images, and layouts match the source of truth by comparing headless UI renders against reference images using pixel-perfect fidelity auditing.

Can I validate headless UI renders against reference images?

Yes, you can validate headless UI renders against reference images by generating heatmaps and analyzing worst-offending regions to audit visual fidelity and ensure complex components match the expected output.

Does the screenshot skill support GPU-accelerated surfaces and native overlays?

Yes, the skill supports GPU-accelerated surfaces and native overlays through intelligent backend selection, automatically choosing between CPU raster, GPU surfaces, or native snapshots based on the view tree composition.

Why do my headless screenshots result in blank frames or silent failures?

Blank frames or silent failures during headless screenshot capture occur when rendering backends are mismatched to view tree composition; this skill prevents them by managing headless surface synchronization and selecting optimal rendering backends.