# Roblox Sharp Edges

> >

- **Type:** Skill
- **Install:** `agentstack add skill-tabooharmony-roblox-brain-roblox-sharp-edges`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [TabooHarmony](https://agentstack.voostack.com/s/tabooharmony)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [TabooHarmony](https://github.com/TabooHarmony)
- **Source:** https://github.com/TabooHarmony/roblox-brain/tree/main/skills/roblox-sharp-edges

## Install

```sh
agentstack add skill-tabooharmony-roblox-brain-roblox-sharp-edges
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

## When to Load

When writing or reviewing Roblox Luau code that handles player data, remote events, monetization, or memory management. Consult before shipping to catch the most common production footguns before they cause data loss or exploits. Full details for each edge case are in `references/full.md`.

## Quick Reference

| # | Sev | Problem | Fix |
|---|-----|---------|-----|
| SE-1 | 🔴 | DataStore session conflict on server-hop | Use ProfileStore (session locking) |
| SE-2 | 🔴 | Client sends currency amount | Server-authoritative state only |
| SE-3 | 🔴 | ProcessReceipt returns before grant | Grant → save → return PurchaseGranted |
| SE-4 | 🟠 | Events never disconnected | Trove pattern (RbxUtil) per player |
| SE-5 | 🟠 | RemoteEvent spam from exploiters | Per-player rate limiter on server |
| SE-6 | 🟠 | BindToClose 30s timeout | Parallel saves with task.spawn |
| SE-7 | 🟡 | >10K parts kills mobile FPS | StreamingEnabled + model streaming |
| SE-8 | 🟡 | require() yields/blocks callers | Init/Start lifecycle pattern |
| SE-9 | 🟡 | #table wrong with nil gaps | table.remove, not tbl[i]=nil |
| SE-10 | 🔵 | wait()/spawn()/delay() deprecated | Use task.wait/spawn/delay |
| SE-11 | 🟡 | WaitForChild no timeout → hang | Always pass timeout, handle nil |
| SE-12 | 🔵 | Regex syntax doesn't work in Luau | Lua patterns: %d not \\d, .- not .*? |
| SE-13 | 🟡 | Functions used before declared | Callees above callers (no hoisting) |

**Legend:** 🔴 Critical &nbsp; 🟠 High &nbsp; 🟡 Medium &nbsp; 🔵 Low

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [TabooHarmony](https://github.com/TabooHarmony)
- **Source:** [TabooHarmony/roblox-brain](https://github.com/TabooHarmony/roblox-brain)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-tabooharmony-roblox-brain-roblox-sharp-edges
- Seller: https://agentstack.voostack.com/s/tabooharmony
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
