skia-gpu-build

Configure and validate Skia Graphite and Dawn GPU rendering pipelines for Pulp builds.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill resolves common build-time issues where Pulp defaults to a CPU-only rendering path due to missing or misconfigured Skia/Dawn GPU libraries.

Core Features & Use Cases

  • Environment Validation: Identifies if your build is correctly linked against Skia Graphite/Dawn or silently falling back to CPU rasterization.
  • Dependency Management: Provides guidance on reusing cached Skia libraries across worktrees to avoid slow rebuilds.
  • Troubleshooting: Offers specific diagnostic steps for common pitfalls like the fresh-worktree headers-only trap, rpath dylib issues, and architecture mismatches.

Quick Start

Ask the skill to verify if your current build directory is correctly configured for GPU rendering and to provide the necessary CMake flags if it is not.

Frequently Asked Questions about skia-gpu-build

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

FAQPage Schema
Why does my Pulp build default to CPU rasterization instead of using Skia GPU rendering?

Your Pulp build defaults to CPU rasterization when Skia/Dawn GPU libraries are missing or misconfigured in the build environment. This skill validates the build directory to identify if the linking is incorrect and provides the necessary CMake flags to enable GPU rendering.

How do I configure CMake flags for Skia Graphite and Dawn GPU rendering pipelines?

To configure Skia Graphite and Dawn GPU rendering pipelines, you must set specific CMake flags that ensure correct library path resolution and binary verification. This skill diagnoses your current setup and outputs the exact CMake configuration needed for high-performance UI rendering.

How do I resolve rpath dylib conflicts and architecture mismatches in Skia GPU builds?

Resolving rpath dylib conflicts and architecture mismatches in Skia GPU builds involves troubleshooting symlink errors and verifying cross-platform binary targets. This skill offers specific diagnostic steps to fix these common build-system linking conflicts on macOS.

Can I reuse cached Skia libraries across worktrees to avoid slow rebuilds?

You can reuse cached Skia libraries across worktrees to avoid slow rebuilds by managing dependency paths correctly. This skill provides guidance on library reuse, while warning against the fresh-worktree headers-only trap where cached dependencies are incorrectly resolved.

Does this Skia GPU build configuration support cross-platform targets beyond macOS?

Yes, the Skia GPU build configuration supports both macOS and cross-platform targets. It validates build-time environment setup and ensures correct linking of Skia and Dawn dependencies across different architectures to maintain high-performance UI rendering.