Pixi Svelte Integrator logo

Pixi Svelte Integrator

Community
egorfedorov
pixi-svelte-integrator

Integrate and validate PixiJS rendering pipelines inside Svelte applications. Use when wiring Pixi application lifecycle to Svelte component lifecycle, handling mount/unmount cleanup, coordinating reactive state with render loop events, validating resize/high-DPI behavior, or debugging event/input/render synchronization issues.

Overview

Publisheregorfedorov
RepositorySlot-Casino-Game-Developer-Skills-for-Stake-Engine
Skill namepixi-svelte-integrator
Stars
63
Forks
16
Bundled files
5
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 5 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by egorfedorov on GitHub. Read the source before you install it.

Installation

Install the Pixi Svelte Integrator AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/egorfedorov/Slot-Casino-Game-Developer-Skills-for-Stake-Engine.git /tmp/Slot-Casino-Game-Developer-Skills-for-Stake-Engine
mkdir -p .claude/skills
cp -r /tmp/Slot-Casino-Game-Developer-Skills-for-Stake-Engine/pixi-svelte-integrator .claude/skills/pixi-svelte-integrator
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Pixi Svelte Integrator in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Pixi Svelte Integrator on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Pixi Svelte Integrator is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Pixi Svelte Integrator

Use this skill to build stable Pixi+Svelte integrations with explicit lifecycle and teardown guarantees.

Workflow

  1. Define integration boundaries first.
  • Decide ownership of app state, render loop control, and event dispatch.
  • Keep Pixi scene mutation behind a clear adapter layer.
  1. Wire lifecycle safely.
  • Create Pixi Application in Svelte mount lifecycle.
  • Bind canvas to a dedicated host element.
  • Destroy application and detach listeners on unmount.
  1. Handle resize and DPI policy.
  • Track container size updates and renderer resize calls.
  • Set and document resolution policy for high-DPI screens.
  1. Validate event and render flow.
  • Ensure input/event bridge is deterministic and unsubscribed on teardown.
  • Keep animation tick subscriptions bounded and removable.
  1. Run contract checks before handoff.
  • Validate lifecycle contract (create/mount/resize/unmount) and required artifacts.
  • Treat missing destroy/unsubscribe paths as blockers.

Commands

bash
python3 scripts/validate_pixi_svelte_contract.py \
  --contract <path/to/pixi_svelte_contract.json>

Treat non-zero exits as blocker findings.

Output Contract

Return:

  1. Integration Map: host component, Pixi app adapter, and event bridge.
  2. Validation Findings: pass/fail checks for lifecycle, resize, and teardown.
  3. Patch Plan: exact files and integration points to change.
  4. Verification: commands and expected pass criteria.
  5. Residual Risks: unresolved runtime synchronization concerns.

References

  • references/workflow.md: end-to-end integration process.
  • references/contracts.md: lifecycle and event bridge contract rules.
  • references/signoff-template.md: handoff template for release readiness.

Execution Rules

  • Keep Pixi init/destroy aligned with Svelte mount/unmount.
  • Keep all event subscriptions disposable and verified at teardown.
  • Avoid direct scene mutation from arbitrary Svelte components.
  • Flag any leaked ticker/listener path as a blocker.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Pixi Svelte Integrator AI skill do?

Integrate and validate PixiJS rendering pipelines inside Svelte applications. Use when wiring Pixi application lifecycle to Svelte component lifecycle, handling mount/unmount cleanup, coordinating reactive state with render loop events, validating resize/high-DPI behavior, or debugging event/input/render synchronization issues.

Why use Pixi Svelte Integrator on TypingMind?

Because you install it once and use it with any model. Pixi Svelte Integrator is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Pixi Svelte Integrator in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/egorfedorov/Slot-Casino-Game-Developer-Skills-for-Stake-Engine/tree/main/pixi-svelte-integrator. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Pixi Svelte Integrator?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Pixi Svelte Integrator?

As many as you like. As long as a model supports skills, you can use Pixi Svelte Integrator with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Pixi Svelte Integrator AI skill free?

It is published on GitHub by egorfedorov. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇