TS Style
Testing & Qualityts-styleTS 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.
JS/TS style guidelines and review checklist for workerd. Covers TypeScript strictness, import conventions, export patterns, private field syntax, error handling, feature gating, and test structure. Load this skill when reviewing or writing JavaScript or TypeScript code in src/node/, src/cloudflare/, or JS/TS test files under src/workerd/.
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/ts-style/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/ts-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/ts-style.md file when reviewing or writing JavaScript and TypeScript code.