codebase-save-load

Community

Reliable versioned save and load for game state

AuthorEliasVahlberg
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Provides a deterministic, versioned save and load workflow for persisting and restoring complex game state so that serialization changes, missing derived data, and incompatible files are detected and handled with clear errors.

Core Features & Use Cases

  • Versioned envelope pattern that serializes GameState inside a SaveFile with an explicit version number to prevent accidental incompatible loads.
  • Uses RON for human-readable serialization and includes post-load reconstruction steps such as rebuilding spatial indices and updating lighting.
  • Clear error reporting on version mismatch, tests for roundtrip integrity, and guidance for when to bump the save schema version; useful when adding, removing, or renaming GameState fields or diagnosing corrupted saves.

Quick Start

Use the save system to write the current game state to the default save file and verify that loading performs index rebuilds and lighting updates.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: codebase-save-load
Download link: https://github.com/EliasVahlberg/saltglass-steppe/archive/main.zip#codebase-save-load

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.