Gc Safe Coding

Rules for writing and reviewing GC-safe C++ code in the Hermes VM runtime. Use when writing, modifying, or reviewing C++ runtime VM code that uses internal Hermes VM APIs (as opposed to code using JSI). This includes working with GC-managed types (HermesValue, Handle, PinnedValue, JSObject, StringPrimitive, etc.), Locals, GCScope, PseudoHandle, CallResult, or any function with _RJS suffix. Typically in lib/VM/, include/hermes/VM/, API/hermes/, or API/napi/.

facebook 2189017 6.3 KB Updated

File contents

facebook/hermes/tree/main/.claude/skills/gc-safe-coding commit 21890179eb

Frequently asked questions

npx skillmds@latest add facebook/gc-safe-coding