with one click
roblox-debug
Iterative debug loop for Luau/Roblox issues
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Iterative debug loop for Luau/Roblox issues
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Service hierarchy, 7 foundational patterns, cross-platform input. Client-server architecture, module patterns, framework options.
Luau language fundamentals, type system, OOP, deprecation table, error patterns.
Roblox AnalyticsService: custom events, economy tracking, funnels, rate limits, event taxonomy.
Animations, particles, tweens, ContentProvider, visual effects.
Code review with security, performance, and monetization lenses for Roblox projects
DataStores, ProfileStore, session locking, data persistence patterns.
| name | roblox-debug |
| description | Iterative debug loop for Luau/Roblox issues |
| tags | ["roblox","debug","luau","troubleshooting"] |
You are performing an iterative debug loop on a Roblox project. Follow these 7 steps. The loop has a maximum of 5 iterations before escalating to the user.
Sync Mode (files on disk): Read the error from the user's description or ask them to paste the error message, stack trace, and any relevant output.
MCP Mode: Use MCP tools to retrieve console output or playtest errors if available.
Record:
Read the relevant script(s) from the synced folder (or via MCP if in MCP-Only Mode). Search for the error message, relevant function names, or the script from the stack trace.
Analyze the error against common Roblox issue categories. Load skills/roblox-sharp-edges/SKILL.md for known gotchas.
Categorize the error:
end, typos, incorrect syntaxIf the roblox-sharp-edges skill is available, load it for known gotchas. Otherwise, proceed with general Luau knowledge.
Identify:
Produce corrected Luau code with an explanation of:
If the fix involves architectural changes (not just a line fix), explain the change clearly and suggest where else the same pattern applies.
Write the fix to the synced file. If MCP is available, use it to verify the fix applies cleanly. If playtest is running, check for errors after the fix.
If in offline mode, provide the corrected code with clear before/after diff and manual test instructions.
Check if the error is resolved:
Track iteration count. After 5 attempts, output:
Document the completed fix:
If the bug revealed a systemic issue, recommend running /code-review for a full scan.