oh-ashen-one

Roblox Map Audit Skill — Security skill for Claude Code

Security community

Agent skill: prove Roblox map geometry & spawn/teleport correctness headlessly (lune + mock Roblox API) — staircase C1-C4 checklist, sealed-room flood fill, spawn capsules, CI wiring, shipped-bug fail.

How to install Roblox Map Audit Skill

This entry records only its repository, not the path inside it, so there is no exact command to give. Open oh-ashen-one/roblox-map-audit-skill and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Roblox Map Audit Skill does

Agent skill: prove Roblox map geometry & spawn/teleport correctness headlessly (lune + mock Roblox API) — staircase C1-C4 checklist, sealed-room flood fill, spawn capsules, CI wiring, shipped-bug failure catalog

Alternatives in Security

  • FastAPI Review — Review a FastAPI application for architecture, async correctness, dependency injection, Pydantic schemas, secu 243.5k ★
  • Security Ownership Map — Map people-to-file ownership, compute bus factor, and identify risks 14.6k ★
  • Skill Coverage Audit — Trace codepaths in diffs, map against tests, auto-generate missing coverage — use before shipping PRs 2.8k ★

README

roblox-map-audit-skill

Feed this repo to your AI agent (Claude Code / Codex / Kimi / etc.) — e.g. copy it into your agent's skills directory or paste the SKILL.md — and it can **prove your Roblox game's map geometry and spawn/teleport flow correct without ever opening Roblox Studio**: it runs your real procedural map-build code headlessly under [lune](https://lune-org.github.io/docs) against a small mock of the Roblox API, and asserts the facts that actually break games — unclimbable staircases, fall-through floors, sealed rooms, void doorways, bad spawns, z-fighting slabs — as CI gates.

This was extracted from a shipped 30-player round-based Roblox game. The staircase audit alone caught **9 of 14 broken staircases** in the shipping map on its first run.

What's inside

  • SKILL.md — the method, the C1-C4 staircase checklist, the exact constants that worked, lessons learned, and a failure catalog of real shipped bugs (symptom → root cause → fix) covering spawns, teleports, anti-cheat false kicks, streaming fall-throughs and more.
  • reference/mock/roblox.luau — ~200 lines mocking Instance/CFrame/Vector3/Enum with world-space AABBs computed from transformed corners, plus optional .rbxm prefab import.
  • reference/geometry-audit.luau — generic audit harness: per-map isolation builds, kit entry-point interception, spatial index, and audits for thin slabs, z-fights, stairs, railings, spawns, doorways, crouch routes, sealed rooms and part budgets.
  • reference/spec-runner.luau — a 40-line auto-discovering lune spec runner (warning: lune has no io.popen/lfs; a vanilla-Lua runner silently runs zero suites).
  • reference/ci.yml — GitHub Actions wiring: rokit toolchain, wally, selene, stylua, lune tests, geometry audit, rojo build.

Quick start

  1. Structure your game so maps are built procedurally from a Kit module (plain coordinates in, parts out) and game rules live in Roblox-free scalar-only modules.
  2. Drop `reference/mock/roblox.