Przejdź do treści
Biblioteka skilli
Programowanie · Testowanie

roblox-debug

/roblox-debug

Diagnozuje błędy w Roblox: komunikaty w Output, ślady stosu, błędy nil, require, skrypty bez działania i replikację.

Licencja
MIT
Ostatnia zmiana repozytorium
29.10.2026

Ocena i bezpieczeństwo

90/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść25 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 29.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Diagnozuje błędy w Roblox: komunikaty w Output, ślady stosu, błędy nil, require, skrypty bez działania i replikację.

Wyzwalacze z opisu

attempt to index nilInfinite yield possibledoesn
Oryginalny opis (EN)

Debug Roblox errors - Output messages, stack traces, "attempt to index nil", "Infinite yield possible", require errors, scripts that don't run, replication issues. Use when the user pastes an error, says something "doesn't work", or a play test shows errors.

Jak działa

  1. First: where does the script run?
  2. Common errors
  3. Method
Sekcje z nagłówków SKILL.md, w oryginale · 35 linii, 366 słów
Podgląd SKILL.md
---
name: roblox-debug
description: Debug Roblox errors - Output messages, stack traces, "attempt to index nil", "Infinite yield possible", require errors, scripts that don't run, replication issues. Use when the user pastes an error, says something "doesn't work", or a play test shows errors.
---

# Debugging

## First: where does the script run?

- `Script` runs in `Workspace`/`ServerScriptService` (server containers), not in `ReplicatedStorage`/`StarterPlayerScripts`.
- `LocalScript` runs in `StarterPlayerScripts`, `StarterCharacterScripts`, `StarterGui`, `StarterPack`/Backpack, or the character — not in Workspace or ServerScriptService.
- `RunContext = Client` scripts run on the client anywhere.
- ModuleScripts only run when required.
- Check `Disabled`/`Enabled` and that the script is a Script vs LocalScript as intended (`inspect_instance`).

## Common errors

| Message | Usual cause | Fix |
|---|---|---|
| `attempt to index nil with 'X'` | Object not there yet (replication/streaming), nil `FindFirstChild`, nil character | `WaitForChild(name, timeout)`, nil checks, `CharacterAdded` |
| `Infinite yield possible on ...WaitForChild("Y")` | Wrong name, created on the other side only, streaming | Check hierarchy (`search_game_tree`), timeout |
| `X is not a valid member of Y` | Typo/case, accessed too early | `FindFirstChild`, exact case |
| `Requested module experienced an error while loading` | Error at the top of the required module | Read the previous error |
| `Module code did not return exactly one value` | Missing `return Module` | Add it |
| Cyclic require (hang/nil) | A requires B requires A | Extract shared dependency |
| `DataStore request was added to queue` | Too many requests | Lower frequency, check budget |
| HTTP 403 on DataStore in Studio | API access off | Game Settings → Security → Enable Studio Access to API Services |
| `Script timeout: exhausted allowed execution time` | Loop without yield | `task.wait()` |
| Remote "doesn't fire" | Created on different sides, wrong name, handler connected late | Create on server, `Net.Names`, connect in `Init` |
| Client change "disappears" | Client changes don't replicate | Do it on the server via a remote |

## Method

1. Get the exact message and line (`ServerScriptService.Server.Services.ShopService:42`) from `get_console_output`; read that script around the line with `script_read`.
2. Read the code and full stack trace.
3. Form a hypothesis and confirm with evidence: temporary `warn` with context, or `execute_luau` to inspect live state.
4. Fix the cause, not the symptom (don't wrap everything in `pcall`).
5. Remove temporary logs; run the Studio lint: `return require(game.ServerStorage.DevTools.Lint).summary(require(game.ServerStorage.DevTools.Lint).run())` (via `execute_luau`).

Wersje

W bazie nie ma innych skilli o nazwie roblox-debug.

Migawka bazy z 13.11.2026 · wersja paczki ee5f3a6eaf76 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 90roblox-studio-mcp
    Korzysta z serwera MCP Roblox Studio: czyta skrypty i Output, uruchamia Luau, testuje grę i robi zrzuty ekranu.
  • 100glua-error-debugger
    Czyta i naprawia błędy Lua w Garry's Mod, wyjaśnia linię błędu i stos wywołań oraz typowe przyczyny komunikatów.
  • 91roblox-game-development
    Wspiera wszelkie prace związane z tworzeniem gier na platformie Roblox.
  • 90roblox-networking
    Projektuje lub przegląda komunikację klient-serwer w Roblox: zdalne wywołania, replikację, własność sieciową, walidację i ograniczanie wywołań.
  • 90roblox-debugging-bugfix
    Debuguje i naprawia błędy Roblox przez Studio MCP: kroki odtworzenia, błędy konsoli, edycja skryptów, zepsute UI, systemy rozgrywki, remotes, regresje i weryfikacja po naprawie.
  • 100roblox-studio-mcp
    Pracuje w Roblox Studio przez MCP: edytuje skrypty i sceny, generuje zasoby, testuje rozgrywkę i wykonuje zrzuty ekranu.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.