workers-code-review

Review TypeScript/JavaScript Workers code for type correctness, API usage, and wrangler configuration validity.

95|4|Updated Apr 12, 2026
One-click install
npx skills add https://github.com/try-works/role-model --skill workers-code-review
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: workers-code-review
Source: https://github.com/try-works/role-model/tree/main/.agents/skills/workers-code-review
Command: npx skills add https://github.com/try-works/role-model --skill workers-code-review

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the process of reviewing Workers and Cloudflare Developer Platform code for type correctness, API usage, and configuration validity, streamlining the code review process.

Core Features & Use Cases

  • Type Correctness: Validates the use of types and generic parameters.
  • API Usage: Ensures that the correct API endpoints and methods are used.
  • Configuration Validity: Checks wrangler configurations for correctness.
  • Use Case: When reviewing TypeScript/JavaScript code for Workers APIs, wrangler.jsonc/toml config, or Cloudflare bindings.

Quick Start

Run the workers-code-review skill to check the code in the current directory for any issues.

Frequently Asked Questions about workers-code-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate code review for Cloudflare Workers?

To automate code review for Cloudflare Workers, you can use a skill that validates type correctness, API usage, and configuration validity for TypeScript/JavaScript code and wrangler configurations. This streamlines the review process by checking Workers APIs and bindings.

What does validating wrangler configuration for Workers involve?

Validating wrangler configuration for Workers involves checking your wrangler.jsonc or wrangler.toml files for correctness against the expected schema. This ensures your Cloudflare bindings and platform configurations are properly set up before deployment.

How do I check type correctness and API usage in TypeScript Workers code?

To check type correctness and API usage in TypeScript Workers code, apply an automated review process that validates generic parameters and ensures correct API endpoints and methods are used. This requires knowledge of Workers types and Cloudflare APIs.

Can I review JavaScript code for Cloudflare bindings and Workers APIs?

Yes, you can review JavaScript code for Cloudflare bindings and Workers APIs. The automated code review process supports both TypeScript and JavaScript, ensuring proper API endpoint usage and configuration validity across your Cloudflare Developer Platform code.

What are the limitations of automating Cloudflare Workers code review?

Automating Cloudflare Workers code review is limited to checking type correctness, API usage, and configuration validity for TypeScript/JavaScript code. It requires specific knowledge of Workers types, wrangler config schemas, and Cloudflare APIs to function effectively.