roblox-datastores · sentinelcore — Claude Code skill for Roblox player data
A DataStoreService reference for Roblox: loading and saving player progress, ordered datastore leaderboards, schema migrations and shutdown-safe auto-save.
npx skills add sentinelcore/roblox-skills --skill roblox-datastores -a claude-codeWhat roblox-datastores does
The skill feeds your agent a working reference for DataStoreService on the server: GetAsync, SetAsync, UpdateAsync, RemoveAsync, GetOrderedDataStore and GetSortedAsync. It ships Lua snippets for the basics — store setup, loading inside pcall, a plain save, an atomic counter increment via UpdateAsync, and a retry helper with a delay between attempts.
Auto-save gets its own section: PlayerRemoving paired with BindToClose. Skip the BindToClose handler and unsaved sessions vanish when the server shuts down, so this is worth checking if players report rolled-back progress. Versioning is covered too: a _version field with migration in the load path, and a new store name like PlayerData_v2 when the schema breaks.
A mistakes table spells out what goes wrong: datastore calls without pcall, saving on every Changed event until you hit write limits, handing out default data after a failed load, using SetAsync for counters instead of UpdateAsync, storing Instance or functions. Leaderboard values must be positive integers.
What it helps with
- save and load player progress with DataStoreService
- build a leaderboard on an ordered datastore
- survive server shutdown without losing data
- migrate saves to a new schema version
- trace why players lose progress
Example prompts for the agent
- add auto-save for player progress with DataStoreService
- build a coins leaderboard on an ordered datastore
- rewrite the load path with a migration to version 2
How to install roblox-datastores
1Skills CLI (Vercel)
npx skills add sentinelcore/roblox-skills --skill roblox-datastores -a claude-code2Manually: put the files in place
~/.claude/skills/roblox-datastores/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/roblox-datastores/
1Skills CLI (Vercel)
npx skills add sentinelcore/roblox-skills --skill roblox-datastores -a codex2Manually: put the files in place
.agents/skills/roblox-datastores/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add sentinelcore/roblox-skills --skill roblox-datastores -a cursor2Manually: put the files in place
.cursor/skills/roblox-datastores/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install sentinelcore/roblox-skills roblox-datastores2Manually: put the files in place
.github/skills/roblox-datastores/SKILL.md1Skills CLI (Vercel)
npx skills add sentinelcore/roblox-skills --skill roblox-datastores -a gemini-cli2Platform CLI
gemini skills install https://github.com/sentinelcore/roblox-skills --path roblox-datastoresManually: put the files in place
.devin/skills/roblox-datastores/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add sentinelcore/roblox-skills --skill roblox-datastores -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about roblox-datastores
How do I install roblox-datastores in Claude?
Run npx skills add sentinelcore/roblox-skills --skill roblox-datastores -a claude-code. The skill lands in ~/.claude/skills/roblox-datastores/SKILL.md.
What does roblox-datastores do?
It gives the agent a DataStoreService reference: player data loading and saving, leaderboards, migrations, and auto-save with BindToClose.
Why does player data disappear when the server shuts down?
The skill points at the usual cause: no BindToClose handler flushing every session before shutdown. It includes an example of one.
Similar skills
Everything for Game dev and 3D: Unity, Unreal, Godot, Blender →roblox-datastores by other authors comes first.