roblox-data
БесплатноБез исполняемых скриптовНе проверенUse when writing, fixing or reviewing Roblox persistence: DataStores, saves, leaderboards, MemoryStore, MessagingService, quotas.
от TabooHarmony★ 230 звёзд на GitHubОб этом скилле
Roblox Data
When to Load
DataStore, OrderedDataStore, MemoryStore and MessagingService work: saves, quotas, leaderboards, cross-server state. Open Cloud access from outside: roblox-cloud; Studio MCP access: roblox-studio-mcp §2; client trust: roblox-security; receipt idempotency: roblox-monetization.
Traps and review checklist (symptom -> cause -> fix)
- Coins doubled or a grant applied twice ->
UpdateAsyncreruns the transform whenever another server wrote between its read and write, discarding earlier results. The transform can't yield and must be pure: no granting, remotes or counters outside it. Apply side effects after it returns. - Grant reported failed but the player got it anyway -> a failed write call means no success response reached the server, not that nothing was written (error-codes doc). Before retrying or refunding, read back with
DataStoreGetOptions.UseCache = false; key the grant by an operation id. - Studio playtest changed real player data -> with "Enable Studio Access to API Services" on, Studio (and Studio MCP
execute_luau) uses the live data stores; docs: enable it only on a separate test game. Suffix the store name underRunService:IsStudio()at least. MemoryStore is the opposite: Studio and production scopes are isolated. - Progress lost on shutdown -> all
BindToClosecallbacks run in parallel and the server waits 30 s total. Save every player concurrently (task.spawneach, then wait), not in a serial loop; calls after teardown fail with 401/402. Request was added to queuewarning, then 301-306 errors -> over the server or experience budget; each request queue holds 30, then requests drop. Gate bursts onDataStoreService:GetRequestBudgetForRequestType.UpdateAsyncspends one read and one write.KeyThrottledon one hot key -> per-key throughput is 25 MB read / 4 MB write per minute across all servers, each request rounded up to 1 KB. Shard hot shared keys; batch counter increments.- Rollback to "10 minutes ago" impossible -> a version is kept only for the first write per key per UTC hour; later writes that hour overwrite it. Superseded versions expire 30 days after being overwritten. Restore =
ListVersionsAsyncorGetVersionAtTimeAsync, then write that value (and its metadata) back as a new version. - "Deleted" data still readable ->
RemoveAsyncwrites a tombstone; old versions stay listable until they expire (matters for erasure). A data store marked for deletion keeps serving reads up to 24 h and writes for minutes; it can be restored for 30 days. - Write fails on a value that looks fine -> invalid UTF-8 byte in a string, NaN/inf, an Instance or userdata, or JSON nesting deeper than 400 (
InvalidJson). Validate before saving; one bad field fails the whole write. - Leaderboard missing history, or
MinValue must be an integer->OrderedDataStoreholds integers only, has no versioning or metadata (every write overwrites);GetSortedAsyncpages hold 1-100 entries.BatchGetAsyncworks only on ordered stores and omits missing keys. - Global ordered board lags or drops writes -> ordered writes per server default to only 30 + 5/player per minute. Batch increments per player, flush on a timer and on leave/close, keep failed writes for the next flush, cache top pages.
- MemoryStore item gone or writes failing -> it isn't durable: max expiry 45 days, and at the memory quota every write that grows usage fails (reads and deletes still work). Keep the source of truth in a DataStore; delete processed items.
- Cross-server message missed or out of order -> MessagingService is best effort, unordered, no replay;
PublishAsyncyields only until the backend has it. No ack is an unknown outcome: replay the same request id. Long-lived state goes in MemoryStore or a DataStore. - Server misses broadcasts at scale -> receive caps are game-wide and shared by every topic (§1). Prefer pull from MemoryStore over push fan-out.
- RTBF request can't be automated -> deletion templates need the user ID as a static part of the store name, scope or key (
player_{UserId};{UserId}is case-sensitive). Hashed keys force manual erasure.
1. Limits
Per minute unless noted. Read live headroom with GetRequestBudgetForRequestType instead of hardcoding.
| DataStore item | Value |
|---|---|
| Experience budget (all servers + Open Cloud, shared) | read 300 + 40×CCU, write 300 + 20×CCU, list 300 + 2×CCU, remove 300 + 40×CCU; same for ordered |
Per-server default (SetRateLimitForRequestType to change) |
read 60 + 40×players, write 60 + 40×players, list 5 + 2×players, remove 60 + 40×players |
| Per-server ordered | read 60 + 40×players, write and remove 30 + 5×players, list 5 + 2×players |
| Metadata | key 50, value 250, all pairs 300 chars total |
| Per-key throughput | 25 MB read, 4 MB write, 1 KB minimum per request |
| Storage | 500 MB + 1 MB × lifetime users; c |
Установить roblox-data в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл roblox-data?
Use when writing, fixing or reviewing Roblox persistence: DataStores, saves, leaderboards, MemoryStore, MessagingService, quotas.
Как установить скилл roblox-data?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл roblox-data запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic