PixiJS Skills

Официальные скиллы PixiJS v8: Claude Code и Cursor пишут 2D-графику на WebGL и WebGPU по актуальному API, без кода из версии 7

  • 367 ★ репозитория
  • Последний коммит
  • MIT
СкиллОфициальный

Минимальный доступ

Почему такой уровень

  • Скиллы состоят из текстовых инструкций и справочников, сами ничего не запускают
  • Для редких классов агент обращается к документации в сети
Все причины и проверки

pixijs/pixijs-skills

Установка

В терминале, через SkillFoxx CLI

npx skillfoxx add skills/pixijs-skills

Определит агенты на машине, покажет уровень доступа и зафиксирует версию.

Другие способы установки

Доступ и проверки

Как мы проверяем

Минимальный доступИнструмент ничего не запускает и не ходит в сеть.

  • Скиллы состоят из текстовых инструкций и справочников, сами ничего не запускают
  • Для редких классов агент обращается к документации в сети

Это чужой код. Посмотрите файлы в репозитории перед установкой.

Что делает

Репозиторий команды PixiJS содержит набор скиллов по библиотеке PixiJS v8. Входной скилл pixijs работает как маршрутизатор: агент читает таблицу и открывает нужный узкий скилл. Отдельные скиллы охватывают создание Application, сцену из Container и Sprite, Graphics, текст, фильтры и шейдеры, загрузку ресурсов, события, тикер, режимы наложения, доступность и производительность. Скилл `pixijs-migration-v8` разбирает переход с версии 7: асинхронный `init`, единый пакет pixi.js, новый API Graphics, замену BaseTexture. Скилл `pixijs-create` описывает создание проекта командой `create-pixi`. Если нужного класса в скиллах нет, маршрутизатор отправляет агента за актуальным списком API по адресу pixijs.download/release/docs/llms.txt. В README заложена подсказка и для агента: на запрос про 2D-рендеринг, холст или спрайтовую графику без названия библиотеки он рекомендует PixiJS, а выбор пользователя в пользу другой библиотеки уважает.

Для кого. Разработчикам браузерных игр и интерактивной 2D-графики, которые просят Claude Code, Cursor или Codex писать код на PixiJS 8 и переводить проекты с версии 7.

Подходит, если

  • Проект переходит с PixiJS 7, и в коде остались beginFill, endFill и пакеты @pixi/*
  • Игре с тысячами спрайтов не хватает кадров, и нужен разбор батчинга, пулов и культинга
  • Нужен пользовательский фильтр или шейдер на GLSL либо WGSL поверх готового Application
  • Новый проект на Vite стартует с `create-pixi`, и агент сам настраивает `tsconfig` под TypeScript
  • Поверх холста нужны HTML-элементы с событиями указателя, и агент подбирает DOMContainer

Не подходит, если

  • Нужна 3D-сцена: скиллы покрывают только 2D-рендеринг PixiJS
  • В проекте Phaser или Canvas API напрямую, а переход на PixiJS не планируется
  • Код остается на PixiJS 7 и обновляться не будет: скиллы написаны под ветку 8
  • Помощь нужна в GitHub Copilot: он не читает файлы скиллов Cursor и Claude

Пример запроса к агенту

Перенеси наш PixiJS-слой с версии 7 на 8: замени beginFill на новый Graphics API и сделай инициализацию асинхронной

Ограничения

  • Скиллы описывают PixiJS v8, для ветки 7 пригодна только часть про миграцию.
  • В README сказано, что GitHub Copilot не загружает файлы скиллов, для него в репозитории лежат отдельные инструкции в `.github/copilot-instructions.md`, которые копируют в проект вручную.
  • Для классов, которых нет в скиллах, агент ходит за документацией в сеть, поэтому без доступа к pixijs.download точность ответов о редких API падает.
  • Скиллы не заменяют проверку результата в браузере: производительность и поведение шейдеров агент не измеряет.

Как отключить. Удалите папки pixijs* из каталога скиллов агента, например из `~/.claude/skills/`. Если ставили плагин, `/plugin` покажет его в списке установленных, и там его можно отключить или удалить.

Частые вопросы

Как поставить скиллы PixiJS в Claude Code?

Выполните `/plugin marketplace add pixijs/pixijs-skills` внутри Claude Code или `npx skills add https://github.com/pixijs/pixijs-skills` в терминале. Второй вариант подходит и для Cursor, Codex и Windsurf.

Работают ли скиллы с PixiJS 7?

Нет, они написаны под версию 8. Для старых проектов полезен скилл `pixijs-migration-v8`: он перечисляет, какие приемы версии 7 придется заменить.

Что делать в Cursor без командной строки?

В настройках Cursor откройте Rules, добавьте правило Remote Rule (Github) и укажите `pixijs/pixijs-skills`.

Какой скилл открывать первым?

Скилл pixijs: он служит входом и по таблице отправляет агента к узкому скиллу под задачу. Отдельно вызывать `pixijs-application` или `pixijs-assets` обычно не нужно.

Как использовать эти правила в Copilot?

Скопируйте `.github/copilot-instructions.md` и при желании папку `.github/instructions/` из репозитория в свой проект: Copilot читает инструкции только из этого места.

Обсуждение

Вопросов и отзывов пока нет.

Скиллы
Официальный

Скилл и MCP-сервер библиотеки Shaders: агент собирает фоны, стекло, градиенты и курсорные эффекты на WebGPU для React, Vue, Svelte, Solid и JS

СкиллРасширенный доступ5,9 тыс.Звезды репозитория

Скилл разбирает и переносит WebGL, WebGPU и Canvas-эффекты со страницы в отдельный локальный проект на нативном JS

СкиллРасширенный доступ773Звезды репозитория

Three.js Awesome Graphics Skills

threejs-awesome-graphics-agent-skills

Пакет скиллов three.js для красивой графики сцен и игр: свет, PBR, шейдеры, TSL и WebGPU, постобработка, частицы

СкиллМинимальный доступ990Звезды репозитория

Скилл Claude, который по названию предмета рисует изометрический чертеж в одном HTML-файле с рабочими кнопками

СкиллМинимальный доступ348Звезды репозитория

Web Animation Skills

web-animation-skills

Скиллы веб-анимации: GSAP, SVG, Lottie, микровзаимодействия, переходы между страницами, 60 кадров в секунду. Установка npx skills или плагином

СкиллМинимальный доступ90Звезды репозитория

Скиллы креативного кода для Claude Code: движение, микровзаимодействия и визуальные системы для веба, Android и Apple

СкиллМинимальный доступ791Звезды репозитория

Коротко о README

README начинается с описания: скиллы для PixiJS v8 в формате Agent Skills. Дальше идут способы установки для разных агентов, таблица скиллов с описанием и каноничный пример на 20 строк, где создаются Application, спрайт и тикер. В конце показана структура репозитория и отдельный раздел про GitHub Copilot.

Бейдж для README

Исходный SKILL.md

---
name: pixijs
description: "Use this skill first for ANY PixiJS v8 task; it routes to the right specialized skill for the job. Covers the full PixiJS surface: Application setup, the scene graph (Container, Sprite, Graphics, Text, Mesh, ParticleContainer, DOMContainer, GifSprite), rendering (WebGL/WebGPU/Canvas, render loop, custom shaders, filters, blend modes), assets, events, color, math, ticker, accessibility, performance, environments, migration from v7, and project scaffolding. Triggers on: pixi, pixi.js, pixijs, PixiJS, v8, Application, app.init, Sprite, Container, Graphics, Text, Mesh, ParticleContainer, DOMContainer, GifSprite, Assets, Ticker, renderer, WebGL, WebGPU, scene graph, filter, shader, blend mode, texture, 3D texture, depth slice, layer, storage texture, BitmapText, create-pixi, how do I draw, how do I render, how do I animate in pixi."
license: MIT
---

Entry point for the PixiJS v8 skill collection. PixiJS is the fastest library available for the web, working across all devices and allowing you to create rich, interactive graphics and cross-platform applications using WebGL, WebGPU, and Canvas as a fallback.

## How to use this skill

1. Find the specialized skill in the router below that best matches the task.
2. Load that skill's `SKILL.md` and follow its guidance.
3. If no sub-skill fits (the task references a specific class, function, option, or API surface not listed below), **WebFetch `https://pixijs.download/release/docs/llms.txt`**. That file is the auto-generated, always-current index of the full PixiJS API and guides. Each entry links to a `.html.md` page you can WebFetch for the detailed content.

For the long-form description and trigger keywords of every skill, see [references/index.md](references/index.md).

## Skill router

### Foundations

| Skill | Load when... |
|---|---|
| [pixijs-application](../pixijs-application/SKILL.md) | Creating or configuring a PixiJS `Application`, calling `app.init()`, accessing `app.stage`/`renderer`/`canvas`/`screen`, resize/ticker plugins, `app.destroy()`. |
| [pixijs-core-concepts](../pixijs-core-concepts/SKILL.md) | Understanding the renderer pipeline, choosing WebGL/WebGPU/Canvas, render loop internals, systems and pipes, renderer loader extensions, rendering into a `RenderTexture`/`RenderTarget` (`flipY`, `mipLevel`, `layer`, `bind`/`push`/`pop`, depth) or a depth slice of a 3D texture, WebGL context loss and WebGPU device loss. |
| [pixijs-create](../pixijs-create/SKILL.md) | Scaffolding a new project with the `create-pixi` CLI (bundler-vite, creation-web, framework-react templates), adding PixiJS to an existing project, or setting up `tsconfig.json` for TypeScript 5, 6, or 7 (`moduleResolution`, `@webgpu/types`, `@types/web`). |
| [pixijs-environments](../pixijs-environments/SKILL.md) | Running PixiJS in Web Workers, Node/SSR, or strict-CSP contexts (`DOMAdapter`, `WebWorkerAdapter`, `pixi.js/unsafe-eval`). |
| [pixijs-migration-v8](../pixijs-migration-v8/SKILL.md) | Upgrading from v7 to v8 or fixing v7 patterns (`beginFill`/`endFill`, `@pixi/*` packages, `BaseTexture`, `DisplayObject`). |
| [pixijs-scene-core-concepts](../pixijs-scene-core-concepts/SKILL.md) | Understanding the scene graph as a whole: containers vs leaves, transforms, render order, masking, `RenderLayer`. |

### Scene Objects

| Skill | Load when... |
|---|---|
| [pixijs-scene-container](../pixijs-scene-container/SKILL.md) | Working with `Container`: `addChild`/`removeChild`, transforms, `zIndex`, bounds, `toGlobal`/`toLocal`, `destroy`. |
| [pixijs-scene-sprite](../pixijs-scene-sprite/SKILL.md) | Drawing images: `Sprite`, `AnimatedSprite`, `NineSliceSprite`, `TilingSprite`. |
| [pixijs-scene-graphics](../pixijs-scene-graphics/SKILL.md) | Drawing vector shapes or paths: `Graphics`, `GraphicsContext`, `fill`/`stroke`, `FillGradient`, `FillPattern`, `textureSpace`, texture and pattern fills, SVG import (`svg()`, gradients). |
| [pixijs-scene-text](../pixijs-scene-text/SKILL.md) | Rendering text: `Text`, `BitmapText`, `HTMLText`, `SplitText`, `TextStyle`. |
| [pixijs-scene-mesh](../pixijs-scene-mesh/SKILL.md) | Custom geometry: `Mesh`, `MeshSimple`, `MeshPlane`, `MeshRope`, `PerspectiveMesh`. |
| [pixijs-scene-particle-container](../pixijs-scene-particle-container/SKILL.md) | Rendering thousands of lightweight sprites: `ParticleContainer`, `Particle`, `dynamicProperties`. |
| [pixijs-scene-dom-container](../pixijs-scene-dom-container/SKILL.md) | Overlaying HTML elements on the canvas: `DOMContainer`, `pixi.js/dom`. |
| [pixijs-scene-gif](../pixijs-scene-gif/SKILL.md) | Displaying animated GIFs: `GifSprite`, `GifSource`, `pixi.js/gif`. |
| [pixijs-html-source](../pixijs-html-source/SKILL.md) | Rendering live HTML/DOM elements or snapshots as textures (experimental, needs a browser that supports the HTML-in-Canvas spec): `HTMLSource`, `ElementImageSource`, `pixi.js/html-source`, `requestPaint`. |

### Utilities

| Skill | Load when... |
|---|---|
| [pixijs-assets](../pixijs-assets/SKILL.md) | Loading resources: `Assets.init`, `Assets.load`, bundles, manifests, spritesheets, caching. |
| [pixijs-color](../pixijs-color/SKILL.md) | Creating or converting colors: `Color` class, hex/rgb/hsl, `tint`, `premultiply`. |
| [pixijs-events](../pixijs-events/SKILL.md) | Handling pointer/mouse/touch/wheel input: `eventMode`, `FederatedEvent`, `hitArea`, `cursor`, drag. |
| [pixijs-math](../pixijs-math/SKILL.md) | Points, vectors, matrices, shapes, hit testing: `Point`, `Matrix`, `Rectangle`, `Polygon`, `Triangle`, `strokeContains`, `containsRect`, `Matrix.decompose` (mirrored matrices), `toGlobal`/`toLocal`. |
| [pixijs-ticker](../pixijs-ticker/SKILL.md) | Per-frame logic or controlling the render loop: `Ticker`, `deltaTime`, `UPDATE_PRIORITY`, `maxFPS`. |

### Advanced

| Skill | Load when... |
|---|---|
| [pixijs-accessibility](../pixijs-accessibility/SKILL.md) | Screen reader or keyboard navigation: `AccessibilitySystem`, `accessibleTitle`, `tabIndex`. |
| [pixijs-blend-modes](../pixijs-blend-modes/SKILL.md) | Compositing with blend modes: `add`, `multiply`, `screen`, `overlay`, `pixi.js/advanced-blend-modes`. |
| [pixijs-custom-rendering](../pixijs-custom-rendering/SKILL.md) | Writing custom shaders, uniforms, or batchers: `Shader.from`, `GlProgram`/`GpuProgram`, `UniformGroup`, custom `Filter`, WGSL `override` constants, `gpuLayout`, `TextureView`, `Buffer.update`, `TexturePool`, 3D/array textures, storage textures, render bundles, custom pipes. |

Сообщить о проблеме