ts-style
Skill by cloudflare
Provides JavaScript and TypeScript style guidelines and a review checklist for the workerd codebase. Intended for reviewing or writing code in specific workerd source paths.
Install ts-style
Built from the published package, never by AI.
git clone --depth 1 https://github.com/cloudflare/workerd /tmp/workerd && mkdir -p ~/.claude/skills && cp -r /tmp/workerd/.opencode/skills/ts-style ~/.claude/skills/ts-styleRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/cloudflare/workerd /tmp/workerd && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/workerd/.opencode/skills/ts-style ~/.gemini/antigravity-cli/skills/ts-styleAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
ts-style is an agent skill from Cloudflare for the workerd project. Its declared description says it gives JavaScript and TypeScript style guidelines and a review checklist. The described topics are TypeScript strictness, import conventions, export patterns, private field syntax, error handling, feature gating, and test structure.
The SKILL.md tells the assistant to always use the TypeScript style reference at docs/reference/ts-style.md when reviewing or writing JavaScript and TypeScript code. The skill is meant to load for code in src/node/, src/cloudflare/, and JS/TS test files under src/workerd/. The source is short and mainly points to that reference document. It is aimed at contributors who review or write this code in the workerd repository.
Written from the project's SKILL.md and checked against it.
What it can do
- TypeScript strictnessGuidance on TypeScript strictness for workerd code.
- Import conventionsRules for how imports should be written in workerd JS and TS code.
- Export patternsGuidance on export patterns in workerd JS and TS code.
- Private field syntaxGuidance on how to write private fields in workerd code.
- Error handlingGuidance on error handling in workerd JS and TS code.
- Feature gatingGuidance on feature gating in workerd JS and TS code.
- Test structureGuidance on how JS and TS test files under src/workerd/ are structured.
Try asking
- Review this TypeScript file in src/node/ against the workerd style guide.
- Check my import and export patterns in src/cloudflare/ for workerd conventions.
- Write a JS test under src/workerd/ following the workerd test structure rules.
Good to know
- Applies to code in src/node/, src/cloudflare/, and JS/TS test files under src/workerd/.
- The detailed rules are in a separate reference document, docs/reference/ts-style.md.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .opencode/skills/ts-style/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md521 B
Alternatives to ts-style
All alternatives →Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.
Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.
Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.
Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.
Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.
Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.
Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli
ts-style: common questions
Which files does the ts-style skill apply to?
The skill loads when reviewing or writing JavaScript or TypeScript code in src/node/, src/cloudflare/, or JS/TS test files under src/workerd/.
Where are the detailed style rules?
The skill points to the TypeScript style reference at docs/reference/ts-style.md and says to always use it.
What does the review checklist cover?
The declared description lists TypeScript strictness, import conventions, export patterns, private field syntax, error handling, feature gating, and test structure.
How do I install ts-style?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is ts-style free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is ts-style safe to use?
It scores 84 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to ts-style?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
