Pixijs application
Skill Xopoko/plug-n-skills/plugins/pixijs/skills/pixijs-application
Ready-to-install skills and plugins for Codex, Claude Code, and AI coding agents: practical workflows for app delivery, architecture, research, design, and agent tooling.
npx -y skills add Xopoko/plug-n-skills --skill pixijs-applicationAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 8 stars8 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Use for PixiJS v8 Application setup, app.init, renderer/canvas/screen/stage, resizeTo, ticker/sharedTicker, CullerPlugin, app.start/stop/destroy, releaseGlobalResources.
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
1.9 KB, 397 tokens by cl100k_base, as published. Nobody here has run it
Use this for creating, configuring, resizing, starting, stopping, or destroying a PixiJS Application.
Fast Path
import { Application } from 'pixi.js';
const app = new Application();
await app.init({ width: 800, height: 600, background: 0x1099bb });
document.body.appendChild(app.canvas);
Rules
- v8 requires
new Application()plus asyncawait app.init(options). Do not pass options to the constructor. - Use
app.canvas, notapp.view; useapp.stage,app.renderer, andapp.screenfor the main scene. - Use
resizeTofor browser/container resizing, then rely on the resize plugin instead of manual canvas CSS hacks. - Use
app.ticker.add((ticker) => ...); readticker.deltaTime,ticker.deltaMS, orticker.FPS. - Use
app.destroy(rendererDestroyOptions, stageDestroyOptions). For same-tab re-init leaks or stale textures, includereleaseGlobalResources: truewhere appropriate. CullerPluginonly helps when containers are markedcullable; addcullAreawhen bounds are expensive.app.domContainerRootbelongs next toapp.canvaswhen usingDOMContaineroverlays.
Related Reads
- Deep application details: references/details.md
- Full
ApplicationOptions: references/application-options.md - Render loop:
pixijs-ticker - Stage and children:
pixijs-scene-container - Non-browser runtime:
pixijs-environments
Common Fixes
- Constructor options in v7 style: move them into
await app.init(...). - Missing canvas: append
app.canvasafter init. - Recreated app flickers: destroy renderer/stage resources before creating the next app.
What ships with it: 2 files
33.4 KB alongside SKILL.md
references/
- application-options.md23.0 KB
- details.md10.4 KB