Memory safety, thread safety, concurrency, and critical detection patterns for workerd code review. Covers V8/KJ boundary hazards, lifetime management, cross-thread safety, and coroutine pitfalls. Load this skill when reviewing any C++ code.
apm install @cloudflare/workerd-safety-review[](https://apm-p1ls2dz87-atlamors-projects.vercel.app/packages/@cloudflare/workerd-safety-review)---
name: workerd-safety-review
description: Memory safety, thread safety, concurrency, and critical detection patterns for workerd code review. Covers V8/KJ boundary hazards, lifetime management, cross-thread safety, and coroutine pitfalls. Load this skill when reviewing any C++ code.
---
**Always** use the `docs/reference/cpp-safety-review-checklist.md` file for detailed checklists on memory safety, thread safety, and concurrency correctness when planning, writing, or reviewing code changes.