engine

Switch the JavaScript engine backend for Pulp projects via CMake.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill centralizes choosing, recommending, and switching the JavaScript engine backend used by Pulp so developers know which engine best fits a workload and how to safely reconfigure builds.

Core Features & Use Cases

  • Engine discovery and status: Inspect build configuration to report the current PULP_JS_ENGINE and which engines are available on the current platform.
  • Workload-based recommendations: Recommend V8 for heavy Three.js scenes, QuickJS for cross-platform plugin UIs, and JavaScriptCore for Apple-only shipping, with warnings when an engine is unavailable.
  • Safe switch workflow: Guide availability checks, confirm with the user before changing, run CMake reconfigure and rebuild, and run targeted tests to verify the change.

Quick Start

Use the engine skill to recommend or switch the project's JS engine to v8 for best performance with large Three.js scenes.

Frequently Asked Questions about engine

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

FAQPage Schema
How do I switch the JavaScript engine backend for a Pulp project?

To switch the JavaScript engine backend for a Pulp project, the skill guides you through availability checks, confirms the change, runs CMake reconfigure and rebuild commands, and executes post-build test verification to ensure stability.

Which JavaScript engine should I use for heavy Three.js scenes in Pulp?

V8 is recommended for heavy Three.js scenes in Pulp to achieve best performance. QuickJS is better suited for cross-platform plugin UIs, while JavaScriptCore is ideal for Apple-only shipping builds.

Can I check which JavaScript engines are available on my platform before reconfiguring CMake?

Yes, the engine skill inspects your current build configuration to report the active PULP_JS_ENGINE and checks the availability of QuickJS, JavaScriptCore, and V8 on your current platform before applying any changes.

What is the best way to configure V8 for Pulp CMake builds?

The best way to configure V8 for Pulp CMake builds is to use the engine skill's safe switch workflow, which handles CMake reconfiguration and targeted testing automatically to verify the new engine backend.

Does switching the PULP_JS_ENGINE require running tests afterward?

Yes, switching the PULP_JS_ENGINE requires running targeted post-build tests. The safe switch workflow enforces this verification step to confirm the newly selected JavaScript engine functions correctly within your project.