roblox-sharp-edges
Installation
SKILL.md
roblox sharp edges
When to Load
Load before shipping or reviewing code that handles persistence, remotes, purchases, lifecycle cleanup, or high-volume instances.
Quick Reference
| Risk | Failure mode | First check |
|---|---|---|
| Shared player data | two servers overwrite one profile | session ownership and release path |
| Remote handlers | client manufactures a reward | validate against server state |
| Receipts | a purchase is acknowledged without a grant | idempotent grant before acknowledgement |
| Connections | old players retain callbacks | disconnect on removal or destroy the owner |
| Shutdown | saves exceed the close window | bounded, observable flush |
| Instances | mobile frame time collapses | profile and stream before adding detail |
| Yields | startup hangs or deadlocks | explicit lifecycle phases and timeouts |
| Tables | length or mutation assumptions break | use explicit counts and constructors |
| Async work | abandoned tasks keep running | cancellation or an owner lifetime |