Kj Style
Testing & Qualitykj-styleKj Style 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.
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.
QUICK START
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.
Prompt to paste
Inspect the Agent Skill at https://github.com/cloudflare/workerd/blob/HEAD/.opencode/skills/kj-style/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/kj-style, 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/kj-style.md file when reviewing or writing C++ code.