TS Style

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

Cloudflare Updated 2.1k repo stars

File contents

Always use the docs/reference/ts-style.md file when reviewing or writing JavaScript and TypeScript code.

cloudflare/workerd/tree/main/.opencode/skills/ts-style commit 8a5778c7af

Frequently asked questions

npx skillmds@latest add cloudflare/ts-style