pixijs avatar

Pixijs Environments

If you're running PixiJS v8 outside a normal browser tab (Web Workers, server-side rendering, strict CSP environments), this skill covers the DOMAdapter system that lets you swap out all the DOM dependencies. The quick start shows WebWorkerAdapter with OffscreenCanvas, the CSP section explains the confusingly named `pixi.js/unsafe-eval` import that actually removes eval usage, and the custom adapter example walks through building your own for Node or headless testing. The critical mistakes section is worth scanning: setting the adapter after app.init() silently fails, and the old settings.ADAPTER pattern doesn't work in v8. Good reference when you're trying to render outside the main thread or need to pre-render on a server.

skills.sh installs
6.7K
GitHub stars
365
last updated
Aug 21, 2026

Install

$ npx -y skills add pixijs/pixijs-skills --skill pixijs-environments --agent claude-code

Installs into .claude/skills of the current project.

Files

If you're running PixiJS v8 outside a normal browser tab (Web Workers, server-side rendering, strict CSP environments), this skill covers the DOMAdapter system that lets you swap out all the DOM dependencies. The quick start shows WebWorkerAdapter with OffscreenCanvas, the CSP section explains the confusingly named `pixi.js/unsafe-eval` import that actually removes eval usage, and the custom adapter example walks through building your own for Node or headless testing. The critical mistakes section is worth scanning: setting the adapter after app.init() silently fails, and the old settings.ADAPTER pattern doesn't work in v8. Good reference when you're trying to render outside the main thread or need to pre-render on a server.

Browse the repository on GitHub

Sponsors

Details

Repository
github.com/pixijs/pixijs-skills
Categories
Frontend Development, Backend & APIs, Automation & Workflows, Rust, Game Development
First seen
May 16, 2026

More from pixijs/pixijs-skills

All 26
1figma avatarfigma-generate-designfigma/mcp-server-guideUse this skill alongside figma-use when the task involves translating an application page, view, or multi-section layout into Figma. Triggers: 'write to Figma',6.4Kskills.sh installs
2testdino-hq avatarplaywright-skilltestdino-hq/playwright-skillBattle-tested Playwright patterns for writing, debugging, and scaling reliable test suites. Use when you need guidance for E2E, API, component, visual, accessib6.2Kskills.sh installs
3forcedotcom avatarplatform-custom-lightning-type-generateforcedotcom/sf-skillsUse this skill when users need to create Custom Lightning Types (CLTs) for Einstein Agent actions or structured input/output schemas. Trigger when users mention5.8Kskills.sh installs
4affaan-m avatarsecurity-scanaffaan-m/eccScan your Claude Code configuration (.claude/ directory) for security vulnerabilities, misconfigurations, and injection risks using AgentShield. Checks CLAUDE.m5.8Kskills.sh installs
5composiohq avatarwebapp-testingcomposiohq/awesome-claude-skillsToolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing br4.9Kskills.sh installs
6raphaelsalaja avataruserinterface-wikiraphaelsalaja/userinterface-wikiUI/UX best practices for web interfaces. Use when reviewing animations, CSS, audio, typography, UX patterns, prefetching, or icon implementations. Covers 11 cat4.7Kskills.sh installs