workerd-safety-review

$npx mdskill add cloudflare/workerd/workerd-safety-review

Detects memory, thread, and concurrency hazards in workerd C++ code during reviews.

  • Helps identify safety issues in C++ code for workerd projects.
  • Integrates with V8/KJ boundaries and uses a detailed checklist file.
  • Follows patterns for hazards like lifetime management and coroutine pitfalls.
  • Surfaces recommendations based on detection patterns for code review.
SKILL.md
.github/skills/workerd-safety-reviewView on GitHub ↗
---
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.

More from cloudflare/workerd