serialization-review
CommunityEnsure robust JSON data persistence.
Authorkateusz
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill audits JSON serialization for scenes, prefabs, and components to ensure correct data persistence, version compatibility, and proper handling of resource references. It helps prevent data corruption, save/load failures, and ensures that game assets can be reliably saved and loaded across different engine versions.
Core Features & Use Cases
- Runtime Data Exclusion: Verifies that runtime-only objects (e.g., physics bodies, loaded textures) are correctly marked with
[JsonIgnore]to prevent serialization errors and bloated files. - Resource Path Serialization: Ensures that only asset paths (not the loaded resources themselves) are serialized, with proper error handling for missing assets.
- Custom Converter Implementation: Guides the creation and registration of
JsonConverterfor complex types or backward compatibility. - Circular Reference Handling: Checks for and helps resolve circular references in entity hierarchies to prevent infinite loops during serialization.
- Use Case: When a new
RigidBody2DComponentis added, this Skill ensures itsRuntimeBodyproperty is marked[JsonIgnore], and that itsMaterialproperty serializes only a path to a material asset, not the entire loaded material object.
Quick Start
Review the RigidBody2DComponent for any runtime physics objects that are being serialized and suggest adding [JsonIgnore].
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: serialization-review Download link: https://github.com/kateusz/GameEngine/archive/main.zip#serialization-review Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.