[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7E64SW4Q3HQSFYGTTVRQ7PR":3,"skill-same:01M7E64SW4Q3HQSFYGTTVRQ7PR":57},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":14,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M7E64SW4Q3HQSFYGTTVRQ7PR","pixijs-application",null,"Use this skill when creating and configuring a PixiJS v8 Application. Covers new Application() + async app.init() options (width, height, background, antialias, resolution, autoDensity, preference, resizeTo, autoStart, sharedTicker, canvas, useBackBuffer, powerPreference, eventFeatures, accessibilityOptions, gcActive, bezierSmoothness, webgl\u002Fwebgpu\u002FcanvasOptions per-renderer overrides), app.stage\u002Frenderer\u002Fcanvas\u002Fscreen\u002FdomContainerRoot access, ResizePlugin, TickerPlugin, CullerPlugin (cullable, cullArea), custom ApplicationPlugin via ExtensionType.Application, start\u002Fstop lifecycle, and app.destroy() with releaseGlobalResources. Triggers on (in PixiJS code): PixiJS Application, app.init, app.stage, app.renderer, app.canvas, app.screen, app.domContainerRoot, ApplicationOptions, ApplicationPlugin, ExtensionType.Application, resizeTo, sharedTicker, skipExtensionImports, preferWebGLVersion, preserveDrawingBuffer, cullable, CullerPlugin, app.start, app.stop, app.destroy, releaseGlobalResources.","w0rxbend\u002Fdot-agents","w0rxbend","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F8176996?v=4","01M7E4XY3Y871Z2NFBXF3H3T8F","Oleksandr B.","01M7E4XY51E6NSG05FXR36H9RV",0,"MIT","https:\u002F\u002Fgithub.com\u002Fw0rxbend\u002Fdot-agents\u002Fblob\u002Fmain\u002Fskills\u002Fpixi\u002Fpixijs-application\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fw0rxbend\u002Fdot-agents\u002Fblob\u002Fmain\u002Fskills\u002Fpixi\u002Fpixijs-application\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: pixijs-application\ndescription: \"Use this skill when creating and configuring a PixiJS v8 Application. Covers new Application() + async app.init() options (width, height, background, antialias, resolution, autoDensity, preference, resizeTo, autoStart, sharedTicker, canvas, useBackBuffer, powerPreference, eventFeatures, accessibilityOptions, gcActive, bezierSmoothness, webgl\u002Fwebgpu\u002FcanvasOptions per-renderer overrides), app.stage\u002Frenderer\u002Fcanvas\u002Fscreen\u002FdomContainerRoot access, ResizePlugin, TickerPlugin, CullerPlugin (cullable, cullArea), custom ApplicationPlugin via ExtensionType.Application, start\u002Fstop lifecycle, and app.destroy() with releaseGlobalResources. Triggers on (in PixiJS code): PixiJS Application, app.init, app.stage, app.renderer, app.canvas, app.screen, app.domContainerRoot, ApplicationOptions, ApplicationPlugin, ExtensionType.Application, resizeTo, sharedTicker, skipExtensionImports, preferWebGLVersion, preserveDrawingBuffer, cullable, CullerPlugin, app.start, app.stop, app.destroy, releaseGlobalResources.\"\nlicense: MIT\n---\n\n`Application`: convenience wrapper owning renderer, root `stage` Container, canvas, Ticker\u002FResize plugins. All configuration goes to async `app.init()`, which creates renderer via `autoDetectRenderer`.\n\n## Quick Start\n\n```ts\nimport { Application } from \"pixi.js\";\n\nconst app = new Application();\n\nawait app.init({\n  resizeTo: window,\n  background: \"#1099bb\",\n  antialias: true,\n  preference: \"webgl\",\n  autoDensity: true,\n  resolution: window.devicePixelRatio,\n});\n\ndocument.body.appendChild(app.canvas);\n```\n\n**Related skills:** `pixijs-core-concepts` (renderers, render pipeline), `pixijs-ticker` (render loop detail), `pixijs-scene-container` (working with `app.stage`). Non-browser setups (Web Worker, SSR, strict CSP) summarized in `pixijs-core-concepts` (Decision guide).\n\n## Core Patterns\n\n### Lifecycle: construct, init, render, destroy\n\n```ts\nimport { Application } from \"pixi.js\";\n\nconst app = new Application();\n\nawait app.init({ width: 800, height: 600 });\ndocument.body.appendChild(app.canvas);\n\n\u002F\u002F ... run scene, ticker drives app.render() automatically ...\n\napp.destroy(\n  { removeView: true, releaseGlobalResources: true },\n  { children: true, texture: true, textureSource: true },\n);\n```\n\n- `new Application()` allocates instance but creates nothing.\n- `app.init(options)` is async. Builds renderer, wires plugins.\n- TickerPlugin calls `app.render()` every frame once init resolves (unless `autoStart: false`).\n- `app.destroy(rendererDestroyOptions, stageDestroyOptions)` — first argument forwards to `renderer.destroy()`. Pass `true` or `{ removeView: true }` to remove canvas from DOM. Add `releaseGlobalResources: true` to drain global pools (batches, texture caches) when re-creating app in same tab. Omitting it usually causes flickering and stale textures after re-init (see `pixijs-performance`).\n\n### Key init options\n\n```ts\nawait app.init({\n  width: 800,\n  height: 600,\n  background: 0x1099bb,\n  backgroundAlpha: 1,\n\n  antialias: true,\n  resolution: window.devicePixelRatio,\n  autoDensity: true,\n\n  preference: \"webgpu\",\n\n  autoStart: true,\n  sharedTicker: false,\n\n  resizeTo: window,\n\n  canvas: document.querySelector(\"#game-canvas\") as HTMLCanvasElement,\n});\n```\n\nFull option list in [references\u002Fapplication-options.md](references\u002Fapplication-options.md): view\u002Fcanvas, background, renderer preference (including array form), ticker, resize, culler, events, accessibility, WebGL\u002FWebGPU context flags, Graphics bezier smoothness, GC, and per-renderer overrides (`webgl` \u002F `webgpu` \u002F `canvasOptions`).\n\n### Application properties\n\n```ts\napp.stage; \u002F\u002F root Container; add all display objects here\napp.renderer; \u002F\u002F the WebGL\u002FWebGPU\u002FCanvas renderer instance\napp.canvas; \u002F\u002F the HTMLCanvasElement (insert it into the DOM yourself)\napp.screen; \u002F\u002F Rectangle describing the visible area in CSS pixels\napp.domContainerRoot; \u002F\u002F HTMLDivElement that holds DOMContainer overlays\n```\n\n`app.stage` is plain `Container`. Scene graph detail (transforms, addChild, destroy): see `pixijs-scene-container`. Renderer-level operations (extract, generateTexture, custom systems): see `pixijs-core-concepts`. Custom render pipes not covered by these skills; see [RenderPipe API](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Frendering.RenderPipe.html.md). Append `app.domContainerRoot` next to `app.canvas` to pin DOM elements to scene nodes (see [DOMContainer API](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Fscene.DOMContainer.html.md); requires `import 'pixi.js\u002Fdom'`).\n\n### ResizePlugin\n\nSet `resizeTo` at init (or reassign `app.resizeTo` later). Plugin then listens for `resize` event and calls `renderer.resize()` with target element's client size. Combine with `autoDensity: true` and `resolution: window.devicePixelRatio` for high-DPI output.\n\n```ts\nawait app.init({ resizeTo: window });\n\napp.resizeTo = document.querySelector(\"#game-container\") as HTMLElement;\n\napp.resize(); \u002F\u002F immediate resize to the target's current size\napp.queueResize(); \u002F\u002F defer the resize to the next animation frame\napp.cancelResize(); \u002F\u002F drop a pending queueResize\n```\n\nPlugin keeps canvas matched to target; `app.screen` and `app.canvas.width\u002Fheight` update in response. Read them after resize to place UI.\n\n- `app.queueResize()` — coalesces rapid calls by deferring to next frame. `window.resize` listener uses it internally to skip redundant work.\n- `app.cancelResize()` — cancels queued resize. Call before tearing down own layout code that triggered `queueResize`.\n\n### Ticker basics\n\nTickerPlugin creates `app.ticker` and registers `app.render()` on it at `UPDATE_PRIORITY.LOW`. Control loop with `app.start()`\u002F`app.stop()`. Add callbacks with `app.ticker.add` \u002F `app.ticker.addOnce`:\n\n```ts\napp.ticker.add((ticker) => {\n  sprite.rotation += 0.01 * ticker.deltaTime;\n});\n\napp.ticker.addOnce(() => {\n  console.log(\"runs once on the next frame, then removes itself\");\n});\n\napp.stop(); \u002F\u002F pause the render loop (e.g. tab hidden)\napp.start(); \u002F\u002F resume\n```\n\nCallback receives `Ticker` instance. Read `ticker.deltaTime` for frame-rate-independent multiplier (~1.0 at 60fps), `ticker.deltaMS` for real milliseconds, `ticker.FPS` for current frame rate. See `pixijs-ticker` for priorities, FPS capping, `onRender`, shared vs private tickers, and v8 callback signature change.\n\n### Manual render loop\n\n```ts\nawait app.init({ autoStart: false, width: 800, height: 600 });\ndocument.body.appendChild(app.canvas);\n\nfunction frame() {\n  updateScene();\n  app.render();\n  requestAnimationFrame(frame);\n}\nframe();\n```\n\n`autoStart: false` keeps TickerPlugin from auto-starting ticker. Call `app.render()` yourself (or `app.renderer.render({ container: app.stage })`, same effect). For registered ticker callbacks to fire, call `app.ticker.update()` in loop. TickerPlugin's registered callback already renders stage, so then omit separate `app.render()` call.\n\n### CullerPlugin (opt-in)\n\nCullerPlugin skips rendering containers outside `app.renderer.screen`. Not registered by default. Add it before creating app:\n\n```ts\nimport {\n  Application,\n  Container,\n  Sprite,\n  extensions,\n  CullerPlugin,\n  Rectangle,\n} from \"pixi.js\";\n\nextensions.add(CullerPlugin);\n\nconst app = new Application();\nawait app.init({ width: 800, height: 600 });\n\nconst world = new Container();\nworld.cullable = true; \u002F\u002F this container is culled when its bounds leave the screen\nworld.cullableChildren = true; \u002F\u002F default; set `false` to skip recursing into children\n\nconst tile = Sprite.from(\"tile.png\");\ntile.cullable = true;\nworld.addChild(tile);\napp.stage.addChild(world);\n```\n\nContainers not culled unless `cullable` set. Override default bounds check with `container.cullArea = new Rectangle(x, y, w, h)` when child bounds are expensive to compute. Plugin wraps `app.render()` so `Culler.shared.cull(app.stage, app.renderer.screen)` runs before every frame. See `pixijs-performance` for when culling pays off.\n\n### Custom Application plugins\n\nExtend `Application` by registering class with `static init`, `static destroy`, and `static extension = ExtensionType.Application`. Both run with `this` bound to Application instance, so `this.renderer` and `this.stage` are available.\n\n```ts\nimport {\n  Application,\n  ExtensionType,\n  extensions,\n  type ApplicationOptions,\n} from \"pixi.js\";\n\nclass FpsOverlay {\n  public static extension = ExtensionType.Application;\n\n  public static init(this: Application, options: Partial\u003CApplicationOptions>) {\n    \u002F\u002F runs inside app.init() after the renderer is created\n    \u002F\u002F attach props\u002Fmethods to `this` to expose them on the app\n  }\n\n  public static destroy(this: Application) {\n    \u002F\u002F runs inside app.destroy() — tear down anything you attached\n  }\n}\n\nextensions.add(FpsOverlay);\n```\n\nPlugins initialize in registration order, destroy in reverse. For typed plugin options, extend `PixiMixins.ApplicationOptions`:\n\n```ts\ndeclare global {\n  namespace PixiMixins {\n    interface ApplicationOptions {\n      fpsOverlay?: { visible?: boolean };\n    }\n  }\n}\n\nawait app.init({ fpsOverlay: { visible: true } });\n```\n\nBuilt-in `ResizePlugin`, `TickerPlugin`, and opt-in `CullerPlugin` use same contract. With `skipExtensionImports: true`, register needed built-ins yourself (`extensions.add(ResizePlugin, TickerPlugin)`).\n\n## Common Mistakes\n\n### [CRITICAL] Passing options to the constructor\n\nWrong:\n\n```ts\nconst app = new Application({ width: 800, height: 600 });\ndocument.body.appendChild(app.canvas);\n```\n\nCorrect:\n\n```ts\nconst app = new Application();\nawait app.init({ width: 800, height: 600 });\ndocument.body.appendChild(app.canvas);\n```\n\nIn v8 `Application` constructor takes no arguments. Options passed there are ignored and log deprecation warning. Renderer is only created inside async `init()` call.\n\n\n### [HIGH] Using app.view instead of app.canvas\n\nWrong:\n\n```ts\ndocument.body.appendChild(app.view);\n```\n\nCorrect:\n\n```ts\ndocument.body.appendChild(app.canvas);\n```\n\n`app.view` renamed to `app.canvas` in v8. Old getter still works but emits deprecation warning.\n\n\n### [MEDIUM] Touching app.canvas or app.renderer before init resolves\n\nWrong:\n\n```ts\nconst app = new Application();\ndocument.body.appendChild(app.canvas);\napp.init({ width: 800, height: 600 });\n```\n\nCorrect:\n\n```ts\nconst app = new Application();\nawait app.init({ width: 800, height: 600 });\ndocument.body.appendChild(app.canvas);\n```\n\n`app.renderer`, `app.canvas`, and `app.screen` only usable once `init()` promise resolves. Before that, `app.renderer` is `undefined`. `app.canvas` \u002F `app.screen` getters throw `TypeError` because they read from missing renderer.\n\n\n## API Reference\n\n- [Application](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Fapp.Application.html.md)\n- [ApplicationOptions](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Fapp.ApplicationOptions.html.md)\n- [ApplicationPlugin](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Fapp.ApplicationPlugin.html.md)\n- [ResizePlugin](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Fapp.ResizePlugin.html.md)\n- [ResizePluginOptions](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Fapp.ResizePluginOptions.html.md)\n- [TickerPlugin](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Fapp.TickerPlugin.html.md)\n- [TickerPluginOptions](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Fapp.TickerPluginOptions.html.md)\n- [CullerPlugin](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Fapp.CullerPlugin.html.md)\n- [autoDetectRenderer](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Frendering.autoDetectRenderer.html.md)\n","`Application`: convenience wrapper owning renderer, root `stage` Container, canvas, Ticker\u002FResize plugins. All configuration goes to async `app.init()`, which creates renderer via `autoDetectRenderer`.\n\n## Quick Start\n\n```ts\nimport { Application } from \"pixi.js\";\n\nconst app = new Application();\n\nawait app.init({\n  resizeTo: window,\n  background: \"#1099bb\",\n  antialias: true,\n  preference: \"webgl\",\n  autoDensity: true,\n  resolution: window.devicePixelRatio,\n});\n\ndocument.body.appendChild(app.canvas);\n```\n\n**Related skills:** `pixijs-core-concepts` (renderers, render pipeline), `pixijs-ticker` (render loop detail), `pixijs-scene-container` (working with `app.stage`). Non-browser setups (Web Worker, SSR, strict CSP) summarized in `pixijs-core-concepts` (Decision guide).\n\n## Core Patterns\n\n### Lifecycle: construct, init, render, destroy\n\n```ts\nimport { Application } from \"pixi.js\";\n\nconst app = new Application();\n\nawait app.init({ width: 800, height: 600 });\ndocument.body.appendChild(app.canvas);\n\n\u002F\u002F ... run scene, ticker drives app.render() automatically ...\n\napp.destroy(\n  { removeView: true, releaseGlobalResources: true },\n  { children: true, texture: true, textureSource: true },\n);\n```\n\n- `new Application()` allocates instance but creates nothing.\n- `app.init(options)` is async. Builds renderer, wires plugins.\n- TickerPlugin calls `app.render()` every frame once init resolves (unless `autoStart: false`).\n- `app.destroy(rendererDestroyOptions, stageDestroyOptions)` — first argument forwards to `renderer.destroy()`. Pass `true` or `{ removeView: true }` to remove canvas from DOM. Add `releaseGlobalResources: true` to drain global pools (batches, texture caches) when re-creating app in same tab. Omitting it usually causes flickering and stale textures after re-init (see `pixijs-performance`).\n\n### Key init options\n\n```ts\nawait app.init({\n  width: 800,\n  height: 600,\n  background: 0x1099bb,\n  backgroundAlpha: 1,\n\n  antialias: true,\n  resolution: window.devicePixelRatio,\n  autoDensity: true,\n\n  preference: \"webgpu\",\n\n  autoStart: true,\n  sharedTicker: false,\n\n  resizeTo: window,\n\n  canvas: document.querySelector(\"#game-canvas\") as HTMLCanvasElement,\n});\n```\n\nFull option list in [references\u002Fapplication-options.md](references\u002Fapplication-options.md): view\u002Fcanvas, background, renderer preference (including array form), ticker, resize, culler, events, accessibility, WebGL\u002FWebGPU context flags, Graphics bezier smoothness, GC, and per-renderer overrides (`webgl` \u002F `webgpu` \u002F `canvasOptions`).\n\n### Application properties\n\n```ts\napp.stage; \u002F\u002F root Container; add all display objects here\napp.renderer; \u002F\u002F the WebGL\u002FWebGPU\u002FCanvas renderer instance\napp.canvas; \u002F\u002F the HTMLCanvasElement (insert it into the DOM yourself)\napp.screen; \u002F\u002F Rectangle describing the visible area in CSS pixels\napp.domContainerRoot; \u002F\u002F HTMLDivElement that holds DOMContainer overlays\n```\n\n`app.stage` is plain `Container`. Scene graph detail (transforms, addChild, destroy): see `pixijs-scene-container`. Renderer-level operations (extract, generateTexture, custom systems): see `pixijs-core-concepts`. Custom render pipes not covered by these skills; see [RenderPipe API](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Frendering.RenderPipe.html.md). Append `app.domContainerRoot` next to `app.canvas` to pin DOM elements to scene nodes (see [DOMContainer API](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Fscene.DOMContainer.html.md); requires `import 'pixi.js\u002Fdom'`).\n\n### ResizePlugin\n\nSet `resizeTo` at init (or reassign `app.resizeTo` later). Plugin then listens for `resize` event and calls `renderer.resize()` with target element's client size. Combine with `autoDensity: true` and `resolution: window.devicePixelRatio` for high-DPI output.\n\n```ts\nawait app.init({ resizeTo: window });\n\napp.resizeTo = document.querySelector(\"#game-container\") as HTMLElement;\n\napp.resize(); \u002F\u002F immediate resize to the target's current size\napp.queueResize(); \u002F\u002F defer the resize to the next animation frame\napp.cancelResize(); \u002F\u002F drop a pending queueResize\n```\n\nPlugin keeps canvas matched to target; `app.screen` and `app.canvas.width\u002Fheight` update in response. Read them after resize to place UI.\n\n- `app.queueResize()` — coalesces rapid calls by deferring to next frame. `window.resize` listener uses it internally to skip redundant work.\n- `app.cancelResize()` — cancels queued resize. Call before tearing down own layout code that triggered `queueResize`.\n\n### Ticker basics\n\nTickerPlugin creates `app.ticker` and registers `app.render()` on it at `UPDATE_PRIORITY.LOW`. Control loop with `app.start()`\u002F`app.stop()`. Add callbacks with `app.ticker.add` \u002F `app.ticker.addOnce`:\n\n```ts\napp.ticker.add((ticker) => {\n  sprite.rotation += 0.01 * ticker.deltaTime;\n});\n\napp.ticker.addOnce(() => {\n  console.log(\"runs once on the next frame, then removes itself\");\n});\n\napp.stop(); \u002F\u002F pause the render loop (e.g. tab hidden)\napp.start(); \u002F\u002F resume\n```\n\nCallback receives `Ticker` instance. Read `ticker.deltaTime` for frame-rate-independent multiplier (~1.0 at 60fps), `ticker.deltaMS` for real milliseconds, `ticker.FPS` for current frame rate. See `pixijs-ticker` for priorities, FPS capping, `onRender`, shared vs private tickers, and v8 callback signature change.\n\n### Manual render loop\n\n```ts\nawait app.init({ autoStart: false, width: 800, height: 600 });\ndocument.body.appendChild(app.canvas);\n\nfunction frame() {\n  updateScene();\n  app.render();\n  requestAnimationFrame(frame);\n}\nframe();\n```\n\n`autoStart: false` keeps TickerPlugin from auto-starting ticker. Call `app.render()` yourself (or `app.renderer.render({ container: app.stage })`, same effect). For registered ticker callbacks to fire, call `app.ticker.update()` in loop. TickerPlugin's registered callback already renders stage, so then omit separate `app.render()` call.\n\n### CullerPlugin (opt-in)\n\nCullerPlugin skips rendering containers outside `app.renderer.screen`. Not registered by default. Add it before creating app:\n\n```ts\nimport {\n  Application,\n  Container,\n  Sprite,\n  extensions,\n  CullerPlugin,\n  Rectangle,\n} from \"pixi.js\";\n\nextensions.add(CullerPlugin);\n\nconst app = new Application();\nawait app.init({ width: 800, height: 600 });\n\nconst world = new Container();\nworld.cullable = true; \u002F\u002F this container is culled when its bounds leave the screen\nworld.cullableChildren = true; \u002F\u002F default; set `false` to skip recursing into children\n\nconst tile = Sprite.from(\"tile.png\");\ntile.cullable = true;\nworld.addChild(tile);\napp.stage.addChild(world);\n```\n\nContainers not culled unless `cullable` set. Override default bounds check with `container.cullArea = new Rectangle(x, y, w, h)` when child bounds are expensive to compute. Plugin wraps `app.render()` so `Culler.shared.cull(app.stage, app.renderer.screen)` runs before every frame. See `pixijs-performance` for when culling pays off.\n\n### Custom Application plugins\n\nExtend `Application` by registering class with `static init`, `static destroy`, and `static extension = ExtensionType.Application`. Both run with `this` bound to Application instance, so `this.renderer` and `this.stage` are available.\n\n```ts\nimport {\n  Application,\n  ExtensionType,\n  extensions,\n  type ApplicationOptions,\n} from \"pixi.js\";\n\nclass FpsOverlay {\n  public static extension = ExtensionType.Application;\n\n  public static init(this: Application, options: Partial\u003CApplicationOptions>) {\n    \u002F\u002F runs inside app.init() after the renderer is created\n    \u002F\u002F attach props\u002Fmethods to `this` to expose them on the app\n  }\n\n  public static destroy(this: Application) {\n    \u002F\u002F runs inside app.destroy() — tear down anything you attached\n  }\n}\n\nextensions.add(FpsOverlay);\n```\n\nPlugins initialize in registration order, destroy in reverse. For typed plugin options, extend `PixiMixins.ApplicationOptions`:\n\n```ts\ndeclare global {\n  namespace PixiMixins {\n    interface ApplicationOptions {\n      fpsOverlay?: { visible?: boolean };\n    }\n  }\n}\n\nawait app.init({ fpsOverlay: { visible: true } });\n```\n\nBuilt-in `ResizePlugin`, `TickerPlugin`, and opt-in `CullerPlugin` use same contract. With `skipExtensionImports: true`, register needed built-ins yourself (`extensions.add(ResizePlugin, TickerPlugin)`).\n\n## Common Mistakes\n\n### [CRITICAL] Passing options to the constructor\n\nWrong:\n\n```ts\nconst app = new Application({ width: 800, height: 600 });\ndocument.body.appendChild(app.canvas);\n```\n\nCorrect:\n\n```ts\nconst app = new Application();\nawait app.init({ width: 800, height: 600 });\ndocument.body.appendChild(app.canvas);\n```\n\nIn v8 `Application` constructor takes no arguments. Options passed there are ignored and log deprecation warning. Renderer is only created inside async `init()` call.\n\n\n### [HIGH] Using app.view instead of app.canvas\n\nWrong:\n\n```ts\ndocument.body.appendChild(app.view);\n```\n\nCorrect:\n\n```ts\ndocument.body.appendChild(app.canvas);\n```\n\n`app.view` renamed to `app.canvas` in v8. Old getter still works but emits deprecation warning.\n\n\n### [MEDIUM] Touching app.canvas or app.renderer before init resolves\n\nWrong:\n\n```ts\nconst app = new Application();\ndocument.body.appendChild(app.canvas);\napp.init({ width: 800, height: 600 });\n```\n\nCorrect:\n\n```ts\nconst app = new Application();\nawait app.init({ width: 800, height: 600 });\ndocument.body.appendChild(app.canvas);\n```\n\n`app.renderer`, `app.canvas`, and `app.screen` only usable once `init()` promise resolves. Before that, `app.renderer` is `undefined`. `app.canvas` \u002F `app.screen` getters throw `TypeError` because they read from missing renderer.\n\n\n## API Reference\n\n- [Application](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Fapp.Application.html.md)\n- [ApplicationOptions](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Fapp.ApplicationOptions.html.md)\n- [ApplicationPlugin](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Fapp.ApplicationPlugin.html.md)\n- [ResizePlugin](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Fapp.ResizePlugin.html.md)\n- [ResizePluginOptions](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Fapp.ResizePluginOptions.html.md)\n- [TickerPlugin](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Fapp.TickerPlugin.html.md)\n- [TickerPluginOptions](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Fapp.TickerPluginOptions.html.md)\n- [CullerPlugin](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Fapp.CullerPlugin.html.md)\n- [autoDetectRenderer](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Frendering.autoDetectRenderer.html.md)\n",{"name":5,"license":15,"description":7},"main","101d0f67250256ca5d80dc3f95767cad7b541457","skills\u002Fpixi\u002Fpixijs-application","https:\u002F\u002Fgithub.com\u002Fw0rxbend\u002Fdot-agents","https:\u002F\u002Fgithub.com\u002Fw0rxbend","https:\u002F\u002Freadme.worxbend.com\u002F","Fluent in Backend-ese (microservices, distributed systems, you know the drill)\r\nFunctional Programming Fanatic...","2026-11-14 14:44:12",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add w0rxbend\u002Fdot-agents --skill pixijs-application",{"tool":39,"command":40},"bunx","bunx skills add w0rxbend\u002Fdot-agents --skill pixijs-application",{"tool":42,"command":43},"pnpm","pnpm dlx skills add w0rxbend\u002Fdot-agents --skill pixijs-application","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fw0rxbend\u002Fdot-agents\u002Fblob\u002Fmain\u002Fskills\u002Fpixi\u002Fpixijs-application\u002FSKILL.md",true,[47,51],{"path":48,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":16},"LICENSE","许可证",1063,{"path":52,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":55,"sourceHtmlUrl":56},"references\u002Fapplication-options.md","REFERENCE","参考文档",13233,"https:\u002F\u002Fgithub.com\u002Fw0rxbend\u002Fdot-agents\u002Fblob\u002Fmain\u002Fskills\u002Fpixi\u002Fpixijs-application\u002Freferences\u002Fapplication-options.md",[58,65,72,80,87,94],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":20},"01M7E6TS1SW1ZSXN748N0RBGHT","wiki-builder","Create and maintain a local Markdown research wiki (sources with provenance, compiled concept\u002Fsource pages, index, maintenance log) driven by a per-wiki config. Use when the user wants to start a wiki or knowledge base, ingest sources into one, or query and update it; use wiki-page-writer for a single code deep-dive page.","https:\u002F\u002Fgithub.com\u002Fw0rxbend\u002Fdot-agents\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow\u002Fwiki-builder\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":20},"01M7E6S8ARS0VQR85H4FEC390B","refactoring-guru","Diagnose a named code smell and apply the smallest behavior-preserving refactoring, with verification before and after and an explicit stop condition. Use for structural refactors (extract, move, consolidate, change ownership), not for feature or bug work; for readability cleanup of recent changes use code-simplification.","https:\u002F\u002Fgithub.com\u002Fw0rxbend\u002Fdot-agents\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow\u002Frefactoring-guru\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":76,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":20},"01M7E6RRXCYGSHA0ZBFX3YZP7Y","legacy-seams","When changing untested legacy code, pin the observed results with characterization tests and open the smallest seam that substitutes only the blocking dependency, separate from any later logic change. Use when a clock, random source, I\u002FO, global, or hidden constructor blocks a test or a safe edit. Use test-driven-development for a new behavior or a bug, refactoring-guru for one named structural refactor after the seam exists, and code-refactoring-tech-debt to choose which legacy to replace.","https:\u002F\u002Fgithub.com\u002Fw0rxbend\u002Fdot-agents\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow\u002Flegacy-seams\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fw0rxbend\u002Fdot-agents\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow\u002Flegacy-seams\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":20},"01M7E6QZ11XWSNHCBGYK8HH97C","idea-refine","Refine a raw idea into a one-page brief (problem statement, recommended direction, assumptions to validate, MVP scope, not-doing list) through divergent then convergent thinking. Use when an idea is still vague or you want options and a stress test before committing; use interview-me when the goal itself is unclear and spec-driven-development once the direction is chosen.","https:\u002F\u002Fgithub.com\u002Fw0rxbend\u002Fdot-agents\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow\u002Fidea-refine\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":20},"01M7E6N2N7BYW7BA5XGM0QD3B4","code-review-and-quality","Review rubric and approval standard for any change before merge, including code written by you, another agent, or a human: five axes (correctness, readability, architecture, security, performance), change sizing, structural remedies, severity labels, and feedback technique. Use to judge whether a change is fit to merge; use code-review to run a PR or diff review end to end.","https:\u002F\u002Fgithub.com\u002Fw0rxbend\u002Fdot-agents\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow\u002Fcode-review-and-quality\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":98,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":20},"01M7E6MNCZPTRD77Z419X755HQ","code-perfection","Smell and style gate for code you write or change. Bans known code smells (long method, large class, primitive obsession, long parameter list, data clumps, duplicate code, dead code, feature envy, shotgun surgery, flag arguments, message chains) and enforces behavior-preserving structure. On Scala files, enforces worxbend style. Use while implementing, reviewing a diff for smells, or when a smell or style violation is suspected. Routine construction stays with code-complete. SOLID and DRY stay with clean-code-guard. One named structural refactor stays with refactoring-guru.","https:\u002F\u002Fgithub.com\u002Fw0rxbend\u002Fdot-agents\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow\u002Fcode-perfection\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fw0rxbend\u002Fdot-agents\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow\u002Fcode-perfection\u002FSKILL.md",[],[]]