KJ/workerd C++ style guidelines for code review. Covers naming, type usage, memory management, error handling, inheritance, constness, and formatting conventions. Load this skill when reviewing or writing C++ code in the workerd codebase.
apm install @cloudflare/kj-style[](https://apm-p1ls2dz87-atlamors-projects.vercel.app/packages/@cloudflare/kj-style)---
name: kj-style
description: KJ/workerd C++ style guidelines for code review. Covers naming, type usage, memory management, error handling, inheritance, constness, and formatting conventions. Load this skill when reviewing or writing C++ code in the workerd codebase.
---
**Always** use the `docs/reference/kj-style.md` file when reviewing or writing C++ code.