
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-codeInstalls 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 GitHubSponsors
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- Pixijs Scene Gif6.6K
- Pixijs Accessibility6.6K
- Pixijs Migration V86.4K
- Pixijs Html Source5.5K
- Pixijs8K
- Pixijs Performance7.1K
- Pixijs Application7.1K
- Pixijs Scene Graphics7.1K
- Pixijs Core Concepts7.1K
- Pixijs Assets7K
- Pixijs Scene Sprite7K
- Pixijs Events7K
- Pixijs Scene Container7K
- Pixijs Math6.9K
- Pixijs Scene Core Concepts6.9K
- Pixijs Scene Text6.9K
- Pixijs Ticker6.9K
- Pixijs Filters6.9K
- Pixijs Scene Particle Container6.9K
- Pixijs Custom Rendering6.8K
- Pixijs Create6.8K
- Pixijs Color6.8K
- Pixijs Blend Modes6.8K
- Pixijs Scene Dom Container6.7K