Skills for Real Engineers. Straight from my .agents directory.
save-systems
Agent skill fromgamedev-skills/awesome-gamedev-agent-skills
Design save/load for game state — choosing what to serialize, file formats, save slots, atomic crash-safe writes, schema versioning and migration, and autosave. Engine-neutral. Use when the user mentions save system, save/load, game state persistence, save slots, autosave, save file corruption, or migrating old saves to a new version.
How to install save-systems
npx skills add gamedev-skills/awesome-gamedev-agent-skills# or add only this skill to Claude Code: copy the folder
skills/disciplines/save-systems/
# into
~/.claude/skills/save-systems/ (all projects)
.claude/skills/save-systems/ (one project)
1# Save systems23A save file is a **serialized snapshot of game state** that survives restarts.4The hard parts aren't writing bytes — they're choosing *what* to save, writing it5so a crash mid-save can't corrupt it, and reading *old* saves after you ship a6patch. Get those three right and the rest is plumbing.78## When to use910- Use to persist progress: player stats, inventory, world flags, settings,11 positions — across sessions and game updates.12- Use to design save slots, quicksave/autosave, and crash-safe writes.13- Use when old save files break after a content/code change (versioning &14 migration).1516**When *not* to use:** for Roblox cloud persistence specifics, use17`roblox-datastores`. For the data model the save serializes (resources/SOs), use18`godot-resources` / `unity-scriptableobjects`. For Godot's `FileAccess`/19`ResourceSaver` and `user://` paths, defer to the Godot engine skill while20applying the patterns here.2122## Core workflow23241. **Decide what state is authoritative.** Save the *data* (hp, position, seed,25 unlocked flags), not engine objects or scene nodes. You will reconstruct26 objects from data on load — never serialize live node references.272. **Define a versioned schema.** Every save embeds a `version` integer. This is28 the single most important field for a game you intend to patch.293. **Pick a format.** JSON/text for readability and debuggability; a binary30 format for size/speed or mild tamper-resistance. Start with JSON.31…
Excerpt shown under the repository's Apache-2.0 license.
More skills in awesome-gamedev-agent-skills
Similar skill repositories
Public repository for Agent Skills
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Production-grade engineering skills for AI coding agents.
Agent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
