save-systems
Skill by gamedev-skills
Designs save and load for game state, covering what to serialize, file formats, save slots, atomic crash-safe writes, schema versioning, migration and autosave. It is engine-neutral, with Godot and Python examples, and is for game developers who need saves that survive crashes and patches.
Install save-systems
Built from the published package, never by AI.
git clone --depth 1 https://github.com/gamedev-skills/awesome-gamedev-agent-skills /tmp/awesome-gamedev-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/awesome-gamedev-agent-skills/skills/disciplines/save-systems ~/.claude/skills/save-systemsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/gamedev-skills/awesome-gamedev-agent-skills /tmp/awesome-gamedev-agent-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/awesome-gamedev-agent-skills/skills/disciplines/save-systems ~/.gemini/antigravity-cli/skills/save-systemsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The save-systems skill helps an assistant design the save file for a game. It covers choosing what to serialize, using JSON first, and stamping an integer version into every save. It also covers temp-file writes with a .bak backup, versioned loading with step-by-step migrations, and validation before state is applied. Slots and throttled autosave go into their own files, and a headless round-trip and corruption test is included.
The skill's code examples are in GDScript for Godot 4.7, with a Python migration example. The source says the skill is engine-neutral in its design. It owns the save file itself, while genre skills decide what goes in it. It is written for developers who are adding a continue button, fixing saves that corrupt after a crash, or migrating old saves after a patch. Roblox DataStores and data asset formats are handled by other skills.
Written from the project's SKILL.md and checked against it.
What it can do
- What to serializeGuides saving ids, numbers, flags and the RNG seed, then rebuilding objects from that data on load.
- Atomic writesWrites a temp file, keeps the previous save as .bak, and renames it into place.
- Versioned migrationRefuses newer saves, applies migrations in order from old to new, and validates before applying.
- Slots and autosaveUses numbered manual slots and a separate autosave file, throttled and saved at safe boundaries.
- Round-trip testProvides a headless Godot script that checks save, reload and fallback to the backup on corruption.
- Save corpus checksRecommends keeping one real save per shipped version and loading each through the migration chain in tests.
- Steam Cloud notesCovers sync timing, quota setup and Dynamic Cloud Sync behavior, with a reference file for setup.
What you need
- Godot 4.7 for the GDScript examples
- Python for the Python migration example
- Steamworks setup for Steam Cloud, if used
Try asking
- Add atomic saves with a .bak backup to my Godot game's save code.
- Write migrations that take my version 1 saves to version 3.
- Set up autosave in its own slot, throttled to once a minute.
Good to know
- Godot's JSON turns numbers into floats, so integers need int() or string storage for large ids.
- Neither flush() nor close() calls fsync, so a power cut can still lose the newest save.
- On Windows the rename deletes the target first, so the .bak file is relied on as well.
- A local save is player-controlled and should not be trusted as authority for multiplayer or economy state.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/disciplines/save-systems/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md11 KB -
references/versioning-and-migration.md7 KB
Alternatives to save-systems
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
save-systems: common questions
Does this skill work with any game engine?
The source describes it as engine-neutral. Its code examples are written for Godot 4.7 and a Python migration example.
How does it stop a save from being destroyed in a crash?
It writes to a temp file, keeps the previous save as a .bak, and renames the new file into place. The loader falls back to the backup if the main file fails.
Does it cover Roblox saves?
No. The source says Roblox cloud persistence is handled by the separate roblox-datastores skill.
How do I install save-systems?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is save-systems free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is save-systems safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to save-systems?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
