drincs-productions/pixi-vn/migration
Claude Code and agent skill by drincs-productions/pixi-vn
- community
Checking that the SKILL.md file is still in the repository.
Use when upgrading an existing @drincs/pixi-vn project to a newer version, or when a runtime/type error matches a known breaking change. Covers every breaking change between versions with before/after code.
Install
npx vskill@latest install drincs-productions/pixi-vn/migrationSKILL.md
Pixi'VN Migration guide
Official docs: pixi-vn.com/faq/migration. That page also covers the separate nqtr and pixi-vn-ink packages — this skill only covers the core @drincs/pixi-vn package (the ## pixi-vn section of that page), since that's what this skill set documents.
When to use this skill
Use this skill whenever a task is "upgrade this project's @drincs/pixi-vn from version X to the latest", or a developer hits an error that looks like a removed/renamed API. Check the currently installed version first (package.json dependency, or PIXIVN_VERSION/GameState.pixivn_version at runtime — see pixi-vn), then walk forward through only the version sections below that fall between the installed version and the target — most of these changes don't apply unless a project is crossing that specific boundary.
v1.9.3 → v1.9.4 — canvas transitions/effects namespaces, top-level tickers
Canvas transitions and effects namespaces
Canvas transition helpers and canvas effects are now also grouped under discoverable namespaces: transitions contains showWithDissolve, showWithFade, moveIn, moveOut, zoomIn, zoomOut, pushIn, pushOut, removeWithDissolve, and removeWithFade; effects contains shakeEffect.
The previous flat exports remain available in v1.9.4 for compatibility, but are deprecated. Update imports and calls when migrating:
The transition and effect behavior and their options are unchanged. This is an organizational API change intended to make canvas helpers easier to discover. The existing module entry points remain valid; the same namespaces are available from @drincs/pixi-vn/canvas.
canvas.tickers → top-level tickers
Ticker management is no longer part of the canvas manager: it's its own tickers singleton, exported from @drincs/pixi-vn next to canvas, sound, etc. canvas.tickers still works in v1.9.4 — it just forwards to tickers — but it's deprecated. The methods and their arguments are unchanged; only the receiver changes:
The same applies to every other member (addSequence, find, remove, removeAll, resume, isPaused, unlinkComponent, transfer, completeOnStepEnd, onComplete, currentTickers, currentTickersSteps). The type CanvasTickersInterface is likewise a deprecated alias of the new TickersInterface:
TickerBase, tickerDecorator, RegisteredTickers, and the Ticker* types are still exported from @drincs/pixi-vn exactly as before. Saves are unaffected: tickers are still serialized as part of the canvas state.
Only code that reached into canvas internals breaks: the ticker bookkeeping on CanvasManagerStatic (_currentTickers, _currentTickersSequence, _currentTickersTimeouts, _tickersToCompleteOnStepEnd, currentTickersWithoutCreatedBySteps, currentTickersSequence, generateTickerId, addTickerTimeoutInfo, removeTickerTimeout*) moved to the TickersManagerStatic namespace, where the two former getters are now functions:
Prefer the public tickers.currentTickers / tickers.currentTickersSteps over either.
v1.8.x → v1.9.0 — long-deprecated APIs removed
This release removes several APIs that had been marked @deprecated for a while, with no replacement other than the one already documented at deprecation time:
Repeat/Pause(duration) and the RepeatType/PauseType types are gone. canvas.addTickersSequence now only accepts plain Ticker steps — chain tickers by duration instead of pause/repeat markers:
See pixi-vn-canvas/tickers.md for the current sequencing API. forceCompleteBeforeNext is gone from every transition helper (showWithDissolve, moveIn, zoomIn, ...) and from CommonTickerProps — use completeOnContinue directly, it's no longer just an alias:
The deprecated AssetMemory.image field was removed; use AssetMemory.alias/url instead. Game.restoreGameState(data, navigate) lost its navigate overload — pass only data, and configure navigation once via Game.onNavigate (or Game.init({ navigate })) instead:
The singular Game.onError(...) handler was removed; use Game.addOnError/Game.removeOnError (already the recommended API since v1.6.0):
See pixi-vn-canvas/tickers.md for the current tickers/transitions API and pixi-vn for the current Game API.
Manager APIs reorganized into namespaces
The canvas, sound, storage, and narration managers used to expose dozens of unrelated methods directly on the manager (ticker methods, layer methods, and HTML-layer methods all mixed together on canvas, for example). This release groups related operations into namespaced sub-APIs — canvas.tickers/.layers/.htmlLayers, sound.channels/.unsaved, storage.temp/.flags, narration.labels/.queries/.input/.choices — so each manager reads as a short, discoverable surface instead of a flat list, and related options/overloads live next to each other. See pixi-vn-canvas, pixi-vn-sound, pixi-vn-storage, and pixi-vn for the current shape of each namespace.
Almost every old flat method still works and just forwards to its namespaced replacement — it's marked @deprecated but not removed, so migrate at your own pace. Two members are an exception: their type changed, so they break immediately rather than just warning.
sound.channels was AudioChannelInterface[]; it is now an object, and the array moved to .values:
narration.choices (getter) was StoredIndexedChoiceInterface[] | undefined; it now returns a namespace object, and the array moved to .list. The setter, narration.choices = [...], is unchanged — it's a shortcut for .list:
Every other rename below is a non-breaking, forward-compatible deprecation.
canvas's ticker methods moved to canvas.tickers (since v1.9.4 that is itself a deprecated alias of the top-level tickers — if you are migrating past v1.9.4, go straight to tickers.*, see v1.9.3 → v1.9.4 above):
canvas's layer methods moved to canvas.layers:
canvas's HTML-layer methods moved to canvas.htmlLayers:
sound's transient/unsaved playback methods moved to sound.unsaved:
sound's channel creation/lookup methods moved to sound.channels (alongside the .values change above):
storage's temporary-variable methods moved to storage.temp (a new storage.temp.deadlines map is exposed alongside them):
storage's flag methods moved to storage.flags:
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/migration/SKILL.md
Popularity
- Repository stars
- 155
- Repository forks
- 8
- 7-day trend score
- 25
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/drincs-productions/pixi-vn/migration)