webview-ui

Community

Rapidly build and validate Pulp WebView UIs

Authordanielraffel
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Pulp's WebView UI layer requires careful coordination between native hosts, embedded or development assets, and a JavaScript bridge; this Skill reduces the friction of iterating, validating, and packaging those WebView-driven panels and tools so developers can prove functionality without misconfiguring the platform or bundler.

Core Features & Use Cases

  • Loading modes: guidance for simple inline HTML, embedded bundled assets for offline distribution, and directory-backed dev assets for rapid iteration.
  • Bridge contract & runtime: documents the window.pulp messaging patterns, native message handlers, asynchronous JS evaluation, and AssetManager usage to register embedded resources.
  • Monaco integration: prescribes an ESM bundling workflow, worker file handling, and how to point Monaco worker URLs so editor features and CSS load correctly.
  • Platform notes & validation: explains the PULP_BUILD_WEBVIEW opt-in, platform-specific requirements for macOS, Windows, and Linux, and focused test/build targets for validation.
  • Use case: quickly iterate a Monaco-based in-app editor during development using directory-backed assets, then produce an embedded, offline-ready bundle for shipping.

Quick Start

Build the WebView test target with PULP_BUILD_WEBVIEW=ON, run the focused pulp-test-webview test, and inspect the native host bridge messages to confirm the page reaches editor ready.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: webview-ui
Download link: https://github.com/danielraffel/pulp/archive/main.zip#webview-ui

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.