Workerd Safety Review
Testing & Qualityworkerd-safety-reviewWorkerd Safety Review is an Agent Skill for testing & quality published in the cloudflare/workerd repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
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.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/cloudflare/workerd/blob/HEAD/.opencode/skills/workerd-safety-review/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/workerd-safety-review, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
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.