ts-style

$npx mdskill add cloudflare/workerd/ts-style

Enforces JavaScript and TypeScript style guidelines for workerd codebases during review or writing tasks.

  • Helps maintain consistent coding standards in specific directories like src/node/ and src/cloudflare/.
  • Relies on the docs/reference/ts-style.md file as the authoritative source for guidelines.
  • Uses predefined rules covering strictness, imports, exports, and error handling to make recommendations.
  • Presents results by referencing the ts-style.md file for developers to apply during code activities.
SKILL.md
.github/skills/ts-styleView on GitHub ↗
---
name: ts-style
description: 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/.
---

**Always** use the `docs/reference/ts-style.md` file when reviewing or writing JavaScript and TypeScript code.
More from cloudflare/workerd