# Kj Style

> 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.

- Skill: `cloudflare/kj-style` (Agent Skill)
- Install (CLI): `npx skillmds@latest add cloudflare/kj-style`
- Raw SKILL.md: https://api.skillmd.com/api/skills/cloudflare/kj-style/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: Cloudflare (https://skillmd.com/u/cloudflare)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/cloudflare/kj-style

---


**Always** use the `docs/reference/kj-style.md` file when reviewing or writing C++ code.

