save-data-schema-migration
Skill5 starsChanged 3 months agoMITView on GitHub
Use when versioning or converting serialized player save files, profiles, checkpoints, or persistence payloads across recognized save-format versions with fixture compatibility and rollback.
In this repository53 other files it gives its agents.
- AGENTS.mdAGENTS.md
- codexkit-repository-maintenanceSkill
- animation-rigging-import-auditSkill
- art-asset-pipeline-preflightSkill
- audio-content-pipeline-reviewSkill
- balance-data-change-reviewSkill
- bug-hunt-swarmSkill
- build-and-runtime-verificationSkill
- code-intelligence-contractSkill
- cpp-server-crash-triageSkill
- economy-source-sink-modelSkill
- evidence-first-debuggingSkill
- feature-to-work-packetsSkill
- game-database-migration-safetySkill
- game-feature-brainstormingSkill
- game-feature-to-specSkill
- game-performance-budgetSkill
- game-screenshot-showcase-and-store-packagingSkill
- level-and-content-design-reviewSkill
- liveops-content-rollout-and-rollbackSkill
- liveops-incident-responseSkill
- load-soak-capacity-verificationSkill
- localization-authority-auditSkill
- lua-client-server-contract-auditSkill
- mmorpg-packet-protocol-reviewSkill
- multi-service-local-environment-doctorSkill
- narrative-quest-content-contractSkill
- network-authority-and-exploit-reviewSkill
- platform-device-compatibility-matrixSkill
- playtest-evidenceSkill
- product-analytics-experiment-reviewSkill
- production-risk-and-dependency-reviewSkill
- qa-test-strategy-and-coverageSkill
- release-candidate-preflightSkill
- review-swarmSkill
- safe-project-mutationSkill
- skill-authoring-and-auditSkill
- store-submission-checklistSkill
- studio-agent-orchestrationSkill
- studio-context-briefSkill
- studio-goal-progressSkill
- studio-handoffSkill
- studio-production-planningSkill
- studio-project-intakeSkill
- studio-project-scaffoldSkill
- studio-workspace-routingSkill
- telemetry-event-contract-reviewSkill
- unity-asset-guid-meta-auditSkill
- unity-batchmode-build-verificationSkill
- unity-client-offline-debuggingSkill
- unity-ui-art-and-motion-productionSkill
- unity-ui-rendering-debuggingSkill
- using-game-studio-skillsSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 35
Use for save field renames, defaults, removals, version upgrades, backward compatibility, import migrations, or player-data format changes.
- Distinctive: line 38
Do not use for database schema migration, arbitrary config edits, or direct production player-save rewrites without a project runbook.
- Distinctive: line 65
Never guess an unknown save version.
- Distinctive: line 67
Do not test with the only copy of a player save.
- Very specific: line 78
Use the bundled scripts/save_migration.py for isolated fixtures and safe-project-mutation for authorized file application.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Save Data Schema Migration
Overview
Plan and test player-save migrations through an explicit version chain while preserving the original payload and refusing unknown or newer versions.
When to use
Use for save field renames, defaults, removals, version upgrades, backward compatibility, import migrations, or player-data format changes.
When NOT to use
Do not use for database schema migration, arbitrary config edits, or direct production player-save rewrites without a project runbook.
Required inputs and context discovery
Require current and target versions, migration chain, save authority, fixture set, backup scope, rollback method, compatibility window, reviewer, human approval, privacy constraints, and validation checks.
Safety and risk level
High-risk. Unknown versions, incomplete chains, missing backup, missing rollback, missing reviewer, live player data, or missing approval means BLOCKED.
Workflow
- Identify save authority, current version, target version, and supported compatibility range. Completion criterion: unknown or newer versions are BLOCKED.
- Review each one-version migration step for rename, default, removal, and data loss. Completion criterion: irreversible transformations are explicit.
- Preserve the original fixture and run migration on a copy. Completion criterion: fixture mutation cannot destroy rollback input.
- Validate migrated semantics and backward/forward compatibility expectations. Completion criterion: expected fields and values are asserted.
- Prepare exact backup, apply, rollback, reviewer, and approval evidence for real scope. Completion criterion: real player data remains untouched until authorized.
Evidence and output contract
Produce save-migration-plan.json with versions, migration hashes, fixture results, compatibility, rollback, reviewer, approval, verdict, and limitations.
Handoff contract
Record save authority, version chain, fixture paths, migration result, data-loss risks, backup/rollback, approval state, and next authorized action.
Pitfalls and anti-rationalization
- Never guess an unknown save version.
- A successful JSON parse is not semantic compatibility.
- Do not test with the only copy of a player save.
- Database migration safety is a separate workflow.
Verification checklist
- Version chain is complete.
- Original fixture is preserved.
- Migration and rollback are tested.
- Compatibility risks are explicit.
- Reviewer and human approval gate real apply.
References and scripts
Use the bundled scripts/save_migration.py for isolated fixtures and safe-project-mutation for authorized file application.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

