[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7FBAPQN9F4E9YVMJ4093CHW":3,"skill-same:01M7FBAPQN9F4E9YVMJ4093CHW":56},{"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":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":31,"updatedAt":32,"install":33,"resources":45},"01M7FBAPQN9F4E9YVMJ4093CHW","pixijs-core-concepts",null,"Use this skill when understanding how PixiJS v8 renders frames: the systems-and-pipes renderer, the render loop, and how the library adapts to different environments. Covers WebGLRenderer\u002FWebGPURenderer\u002FCanvasRenderer selection, renderer.render() pipeline, environment detection, and pointers to per-topic deep dives. Triggers on: renderer, WebGL, WebGPU, Canvas, render loop, render pipeline, systems, environments, autoDetectRenderer.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fpixijs-core-concepts\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: pixijs-core-concepts\ndescription: \"Use this skill when understanding how PixiJS v8 renders frames: the systems-and-pipes renderer, the render loop, and how the library adapts to different environments. Covers WebGLRenderer\u002FWebGPURenderer\u002FCanvasRenderer selection, renderer.render() pipeline, environment detection, and pointers to per-topic deep dives. Triggers on: renderer, WebGL, WebGPU, Canvas, render loop, render pipeline, systems, environments, autoDetectRenderer.\"\nlicense: MIT\ndisable-model-invocation: true\n---\n\nFoundational model for how PixiJS v8 gets pixels on the screen: the renderer decides which GPU backend to use, the render loop drives per-frame work, and the environment layer adapts the library to browser, Web Worker, or SSR contexts. For the scene graph itself (Containers, transforms, destroy), see `pixijs-scene-core-concepts`.\n\n## Quick Start\n\n```ts\nconsole.log(app.renderer.name); \u002F\u002F 'webgl' | 'webgpu' | 'canvas'\n\napp.ticker.add((ticker) => {\n  sprite.rotation += 0.01 * ticker.deltaTime;\n});\n\nconst tex = app.renderer.extract.texture({ target: app.stage });\n\napp.renderer.render({ container: app.stage });\n```\n\n`app.renderer` is the `WebGLRenderer`, `WebGPURenderer`, or `CanvasRenderer` chosen by `autoDetectRenderer`. The TickerPlugin drives `renderer.render()` automatically; call it manually only with `autoStart: false`. Backend selection happens in `Application.init({ preference })`; see `pixijs-application` for setup.\n\n**Related skills:** `pixijs-application` (Application construction and lifecycle), `pixijs-ticker` (per-frame logic, priorities, FPS capping), `pixijs-environments` (Web Worker, SSR, strict CSP), `pixijs-custom-rendering` (writing a RenderPipe), `pixijs-scene-core-concepts` (scene graph basics).\n\n## Topics\n\n| Topic               | Reference                                              | When                                                      |\n| ------------------- | ------------------------------------------------------ | --------------------------------------------------------- |\n| Choosing a backend  | [references\u002Frenderers.md](references\u002Frenderers.md)     | Preference forms, per-renderer options, systems and pipes |\n| Per-frame execution | [references\u002Frender-loop.md](references\u002Frender-loop.md) | Priority order, time units, manual rendering              |\n\nFor deep dives into any single topic, open the corresponding reference file. Non-browser targets (`DOMAdapter`, `WebWorkerAdapter`, custom adapters, strict CSP) are covered in the `pixijs-environments` skill.\n\n## Decision guide\n\n- **Setting up an Application?** Start with `pixijs-application`. This skill explains what the renderer does under the hood.\n- **Choosing between WebGL and WebGPU?** Use `['webgpu', 'webgl']` as your preference array. WebGPU is fastest where available; WebGL is the reliable fallback. See `references\u002Frenderers.md`.\n- **Running in a Web Worker?** Set `DOMAdapter.set(WebWorkerAdapter)` before `app.init`. See the `pixijs-environments` skill for complete setup.\n- **Need manual control over when rendering happens?** Set `autoStart: false` and call `app.renderer.render(app.stage)` from your own loop. See `references\u002Frender-loop.md`.\n- **Integrating with a physics library?** Add your update at `UPDATE_PRIORITY.HIGH` so physics runs before the render at `LOW`. See `references\u002Frender-loop.md`.\n- **Writing a custom renderable?** Implement a `RenderPipe`. See `pixijs-custom-rendering` skill.\n- **Running under strict CSP?** Import `'pixi.js\u002Funsafe-eval'`. See the `pixijs-environments` skill.\n\n## Quick concepts\n\n### Renderer = systems + pipes\n\nEach renderer is composed of `Systems` (lifecycle services: textures, buffers, state, filters, masks) and `RenderPipes` (per-renderable instruction builders: sprite, graphics, mesh, particle, text, tiling). Writing a custom renderable means implementing a `RenderPipe` and registering it via extensions.\n\n### The render loop\n\n`app.ticker.add(fn)` registers a callback that runs every frame. The `TickerPlugin` registers `app.render()` at `UPDATE_PRIORITY.LOW`, so ticker callbacks at `NORMAL` or `HIGH` run before the draw. Disable the plugin with `autoStart: false` for manual control.\n\n### Environments\n\n`DOMAdapter` abstracts every DOM call PixiJS makes (canvas creation, image loading, fetch, XML parsing). Swap with `DOMAdapter.set(WebWorkerAdapter)` for Workers or implement a custom `Adapter` for Node\u002FSSR. Must be done before `Application.init`.\n\n## Common Mistakes\n\n### [HIGH] Accessing app.renderer before init() resolves\n\nWrong:\n\n```ts\nconst app = new Application();\napp.init({ width: 800, height: 600 });\nconsole.log(app.renderer.name); \u002F\u002F undefined — init() is async\n```\n\nCorrect:\n\n```ts\nconst app = new Application();\nawait app.init({ width: 800, height: 600 });\nconsole.log(app.renderer.name); \u002F\u002F 'webgl' | 'webgpu' | 'canvas'\n```\n\n`Application.init()` is async. `app.renderer`, `app.canvas`, and `app.screen` do not exist until after the promise resolves.\n\n### [HIGH] Setting DOMAdapter after Application.init\n\nWrong:\n\n```ts\nconst app = new Application();\nawait app.init({ width: 800, height: 600 });\nDOMAdapter.set(WebWorkerAdapter); \u002F\u002F too late — init already allocated resources\n```\n\nCorrect:\n\n```ts\nDOMAdapter.set(WebWorkerAdapter);\nconst app = new Application();\nawait app.init({ width: 800, height: 600 });\n```\n\nThe adapter abstracts DOM calls the renderer makes during construction (canvas creation, image loading, fetch). Swap it before `init()` or the wrong adapter is baked into the renderer.\n\n### [MEDIUM] Treating `preference` as a guarantee\n\nWrong:\n\n```ts\nawait app.init({ preference: \"webgpu\" });\n\u002F\u002F assume WebGPU is active\nuseWebGPUOnlyFeature(app.renderer);\n```\n\nCorrect:\n\n```ts\nawait app.init({ preference: \"webgpu\" });\nif (app.renderer.name === \"webgpu\") {\n  useWebGPUOnlyFeature(app.renderer);\n}\n```\n\n`preference` is a hint, not a demand. If the browser lacks WebGPU support, PixiJS falls back to WebGL (or Canvas). Always branch on `renderer.name` for backend-specific code.\n\n## API Reference\n\n- [autoDetectRenderer](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Frendering.autoDetectRenderer.html.md)\n- [AbstractRenderer](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Frendering.AbstractRenderer.html.md)\n- [WebGLRenderer](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Frendering.WebGLRenderer.html.md)\n- [WebGPURenderer](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Frendering.WebGPURenderer.html.md)\n- [CanvasRenderer](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Frendering.CanvasRenderer.html.md)\n- [Application](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Fapp.Application.html.md)\n- [DOMAdapter](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Fenvironment.DOMAdapter.html.md)\n","Foundational model for how PixiJS v8 gets pixels on the screen: the renderer decides which GPU backend to use, the render loop drives per-frame work, and the environment layer adapts the library to browser, Web Worker, or SSR contexts. For the scene graph itself (Containers, transforms, destroy), see `pixijs-scene-core-concepts`.\n\n## Quick Start\n\n```ts\nconsole.log(app.renderer.name); \u002F\u002F 'webgl' | 'webgpu' | 'canvas'\n\napp.ticker.add((ticker) => {\n  sprite.rotation += 0.01 * ticker.deltaTime;\n});\n\nconst tex = app.renderer.extract.texture({ target: app.stage });\n\napp.renderer.render({ container: app.stage });\n```\n\n`app.renderer` is the `WebGLRenderer`, `WebGPURenderer`, or `CanvasRenderer` chosen by `autoDetectRenderer`. The TickerPlugin drives `renderer.render()` automatically; call it manually only with `autoStart: false`. Backend selection happens in `Application.init({ preference })`; see `pixijs-application` for setup.\n\n**Related skills:** `pixijs-application` (Application construction and lifecycle), `pixijs-ticker` (per-frame logic, priorities, FPS capping), `pixijs-environments` (Web Worker, SSR, strict CSP), `pixijs-custom-rendering` (writing a RenderPipe), `pixijs-scene-core-concepts` (scene graph basics).\n\n## Topics\n\n| Topic               | Reference                                              | When                                                      |\n| ------------------- | ------------------------------------------------------ | --------------------------------------------------------- |\n| Choosing a backend  | [references\u002Frenderers.md](references\u002Frenderers.md)     | Preference forms, per-renderer options, systems and pipes |\n| Per-frame execution | [references\u002Frender-loop.md](references\u002Frender-loop.md) | Priority order, time units, manual rendering              |\n\nFor deep dives into any single topic, open the corresponding reference file. Non-browser targets (`DOMAdapter`, `WebWorkerAdapter`, custom adapters, strict CSP) are covered in the `pixijs-environments` skill.\n\n## Decision guide\n\n- **Setting up an Application?** Start with `pixijs-application`. This skill explains what the renderer does under the hood.\n- **Choosing between WebGL and WebGPU?** Use `['webgpu', 'webgl']` as your preference array. WebGPU is fastest where available; WebGL is the reliable fallback. See `references\u002Frenderers.md`.\n- **Running in a Web Worker?** Set `DOMAdapter.set(WebWorkerAdapter)` before `app.init`. See the `pixijs-environments` skill for complete setup.\n- **Need manual control over when rendering happens?** Set `autoStart: false` and call `app.renderer.render(app.stage)` from your own loop. See `references\u002Frender-loop.md`.\n- **Integrating with a physics library?** Add your update at `UPDATE_PRIORITY.HIGH` so physics runs before the render at `LOW`. See `references\u002Frender-loop.md`.\n- **Writing a custom renderable?** Implement a `RenderPipe`. See `pixijs-custom-rendering` skill.\n- **Running under strict CSP?** Import `'pixi.js\u002Funsafe-eval'`. See the `pixijs-environments` skill.\n\n## Quick concepts\n\n### Renderer = systems + pipes\n\nEach renderer is composed of `Systems` (lifecycle services: textures, buffers, state, filters, masks) and `RenderPipes` (per-renderable instruction builders: sprite, graphics, mesh, particle, text, tiling). Writing a custom renderable means implementing a `RenderPipe` and registering it via extensions.\n\n### The render loop\n\n`app.ticker.add(fn)` registers a callback that runs every frame. The `TickerPlugin` registers `app.render()` at `UPDATE_PRIORITY.LOW`, so ticker callbacks at `NORMAL` or `HIGH` run before the draw. Disable the plugin with `autoStart: false` for manual control.\n\n### Environments\n\n`DOMAdapter` abstracts every DOM call PixiJS makes (canvas creation, image loading, fetch, XML parsing). Swap with `DOMAdapter.set(WebWorkerAdapter)` for Workers or implement a custom `Adapter` for Node\u002FSSR. Must be done before `Application.init`.\n\n## Common Mistakes\n\n### [HIGH] Accessing app.renderer before init() resolves\n\nWrong:\n\n```ts\nconst app = new Application();\napp.init({ width: 800, height: 600 });\nconsole.log(app.renderer.name); \u002F\u002F undefined — init() is async\n```\n\nCorrect:\n\n```ts\nconst app = new Application();\nawait app.init({ width: 800, height: 600 });\nconsole.log(app.renderer.name); \u002F\u002F 'webgl' | 'webgpu' | 'canvas'\n```\n\n`Application.init()` is async. `app.renderer`, `app.canvas`, and `app.screen` do not exist until after the promise resolves.\n\n### [HIGH] Setting DOMAdapter after Application.init\n\nWrong:\n\n```ts\nconst app = new Application();\nawait app.init({ width: 800, height: 600 });\nDOMAdapter.set(WebWorkerAdapter); \u002F\u002F too late — init already allocated resources\n```\n\nCorrect:\n\n```ts\nDOMAdapter.set(WebWorkerAdapter);\nconst app = new Application();\nawait app.init({ width: 800, height: 600 });\n```\n\nThe adapter abstracts DOM calls the renderer makes during construction (canvas creation, image loading, fetch). Swap it before `init()` or the wrong adapter is baked into the renderer.\n\n### [MEDIUM] Treating `preference` as a guarantee\n\nWrong:\n\n```ts\nawait app.init({ preference: \"webgpu\" });\n\u002F\u002F assume WebGPU is active\nuseWebGPUOnlyFeature(app.renderer);\n```\n\nCorrect:\n\n```ts\nawait app.init({ preference: \"webgpu\" });\nif (app.renderer.name === \"webgpu\") {\n  useWebGPUOnlyFeature(app.renderer);\n}\n```\n\n`preference` is a hint, not a demand. If the browser lacks WebGPU support, PixiJS falls back to WebGL (or Canvas). Always branch on `renderer.name` for backend-specific code.\n\n## API Reference\n\n- [autoDetectRenderer](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Frendering.autoDetectRenderer.html.md)\n- [AbstractRenderer](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Frendering.AbstractRenderer.html.md)\n- [WebGLRenderer](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Frendering.WebGLRenderer.html.md)\n- [WebGPURenderer](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Frendering.WebGPURenderer.html.md)\n- [CanvasRenderer](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Frendering.CanvasRenderer.html.md)\n- [Application](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Fapp.Application.html.md)\n- [DOMAdapter](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Fenvironment.DOMAdapter.html.md)\n",{"name":5,"license":15,"description":7,"disable-model-invocation":24},true,"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","06-前端与设计\u002Fpixijs-core-concepts",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":24},[35,38,41],{"tool":36,"command":37},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill pixijs-core-concepts",{"tool":39,"command":40},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill pixijs-core-concepts",{"tool":42,"command":43},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill pixijs-core-concepts","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fpixijs-core-concepts\u002FSKILL.md",[46,52],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"references\u002Frender-loop.md","REFERENCE","参考文档",6618,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fpixijs-core-concepts\u002Freferences\u002Frender-loop.md",{"path":53,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":54,"sourceHtmlUrl":55},"references\u002Frenderers.md",7132,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fpixijs-core-concepts\u002Freferences\u002Frenderers.md",[57,64,69,76,83,90],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],{"skillNo":65,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]