unreal-sdk-review
Finds real correctness bugs in everything under plugin-dev/ that ships to users (C++, Objective-C++, JNI/Java, editor Python, Build.cs, Android UPL…
от getsentry★ 177 звёзд на GitHub
Установить unreal-sdk-review в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
You review changes to the Sentry SDK for Unreal Engine. The plugin wraps sentry-native, sentry-cocoa, and sentry-java behind one platform-agnostic UE API. Report only bugs you can trace in the code. The maintainers know the engine and the wrapped SDKs well and reject speculation about them.
The code is the source of truth. This skill says what to check, where the truth lives, and the facts you cannot see in the code. Read the changed hunk and the code it relies on. Where this skill and the code disagree, trust the code.
What to check
1. State across Close and re-initialization
The platform subsystem object is reused across Close and re-init, and the backend Close() is skipped when init failed. Read USentrySubsystem for the exact flow.
- Does every member that init sets (flags, pointers, attachments, file paths, sessions, delegates, counters) get reset in
Close()or at the start of the next init? A feature turned off on re-init must not keep the previous run's object. - Does a failed or partial init leave resources behind? Nothing else will release them.
- Do restart and reset methods reset every field the first run depends on?
- Does re-init delete or overwrite files from the previous app run that are still waiting to be uploaded? Many crashes are reported on the next launch (see section 3).
2. Threads and lifetime
Plugin code runs on more than the game thread: the render thread, plugin worker threads, wrapped-SDK callbacks (which can fire during GC or post-load), the plugin's output devices (a log, ensure, or assert on any thread runs plugin code and beforeBreadcrumb/beforeLog on that thread), and crash handlers. Work out the thread from the code, not from the function name.
- Is a container, flag, or pointer read on one thread and written on another without the same lock or an atomic? Find the lock the writer holds and check that every reader holds it too. An unlocked size or emptiness check before a wait counts.
- Does a wait on an event hold a lock that the thread that triggers the event needs?
- Can a callback bound with
AddRaw/BindRawor a rawthisto an event fired from another thread still be running when its owner is destroyed? Unbinding does not wait for in-flight calls. Raw bindings to game-thread-only delegates (map load, game-state class change) that are removed on the game thread are fine. - Does every path that drops a pooled resource (early return, stop, disabled feature, queue drain) return it to the pool? Otherwise the pool runs dry and capture silently stops.
- Is a raw pointer to a Slate window, widget, actor, or
UObjectkept past the frame without a weak pointer or validity check? Is aUObjectheld as a raw pointer in a non-UObjectclass withoutUPROPERTY()or another reference that keeps it alive? - Does a callback that creates
UObjects skip the safety checks its sibling callbacks use (Private/Utils/SentryCallbackUtils.h)? CreatingUObjects during GC deadlocks.
3. Platform backend drift
The same public behavior is implemented once per backend, plus Null stubs. Private/Interface/ defines the contracts, Private/HAL/ and the defines in Sentry.Build.cs select the backend per platform, and each platform has its own subsystem subclass, so an override can shadow a change in its base.
- When the change fixes or adds behavior in one backend, do the other backends still match? Look for options applied on one platform only, converters that handle fewer value types in one direction than the other, and a missing
Nullstub for a new interface method. - Are values crossing into a wrapped SDK converted correctly: sign and width,
nil/nullvs empty, typed Java objects treated as maps, local vs UTC times? - Apple code is built without ARC. Every
alloc/new/copy/mutableCopyorretainthe change adds needs a matchingrelease, and an autoreleased object kept past the current scope needs aretain. - Android JNI code must release local references (use the scoped helpers in
Android/Infrastructure/that nearby code uses, especially inside loops), pair every global reference with a delete, and check for Java exceptions after calls. - Does a platform guard match the target?
PLATFORM_MACexcludes iOS,PLATFORM_APPLEcovers both, and macOS can build with either sentry-native or sentry-cocoa. - On Apple and Android, many crashes, fatal hangs, and ANRs are reported on the next launch, not in-process. Does a hook attach files from the run the event belongs to?
- Console extensions live in private repos. They subclass the generic and Microsoft backend classes and override virtuals in the
Sentrymodule rules. A changed or removed virtual or protected member, a change in hook call order, or a change to base behavior an override may depend on can break them. Console builds run only on pushes to main and release branches, so this review is the only check before merge. Report it as a question naming the class and member, at low or med
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
Read - 02
Grep - 03
Glob
FAQ
Что делает скилл unreal-sdk-review?
Finds real correctness bugs in everything under plugin-dev/ that ships to users (C++, Objective-C++, JNI/Java, editor Python, Build.cs, Android UPL, post-build scripts, plugin config), except the unit tests. Focuses on SDK re-initialization state, cross-thread access, platform backend drift, console extension breakage, UE engine-version compatibility, and error paths and ownership. Excludes tests, CI workflows, repo scripts, style, and AppSec.
Как установить скилл unreal-sdk-review?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл unreal-sdk-review запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…