OpenParable
Skip to content
← Back to skills

TS Style

Testing & Quality
ts-style

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

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. 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/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.