code-review

Review Cloudflare Workers and Wrangler code for type correctness and configuration validity.

Updated Jan 30, 2026
One-click install
npx skills add https://github.com/Rayzerrek/dotfiles --skill code-review-rayzerrek
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-review
Source: https://github.com/Rayzerrek/dotfiles/tree/main/.agents/skills/code-review
Command: npx skills add https://github.com/Rayzerrek/dotfiles --skill code-review-rayzerrek

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps reviewers catch correctness, API, and configuration mistakes in Cloudflare Workers code before they reach production.

Core Features & Use Cases

It checks TypeScript and JavaScript Workers code for type safety, binding access patterns, floating promises, serialization boundaries, and Durable Object pitfalls. It also validates wrangler configuration against the current schema so binding names, migrations, and platform settings stay consistent with the code. Use it when reviewing new Worker examples, Cloudflare bindings, or config changes that need reliable, production-minded feedback.

Quick Start

Ask for a Cloudflare Workers code review on the target files and config, and include any relevant context about the bindings or platform features in use.

Frequently Asked Questions about code-review

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

FAQPage Schema
How do I review Cloudflare Workers code for type safety and API usage?

Review Cloudflare Workers code for type safety and API usage by validating TypeScript handler signatures, binding access patterns, and floating promises. The process requires local schema and type references to ensure platform-specific configurations and code stay consistent.

Does this code review process check wrangler configuration against the current schema?

Yes, the code review process validates wrangler configuration against the current schema. It ensures binding names, migrations, and platform settings remain consistent with your TypeScript and JavaScript Workers code to prevent configuration-code mismatches.

What is the best way to validate Durable Object migrations and serialization boundaries?

The best way to validate Durable Object migrations and serialization boundaries is through a production-minded code review. It checks your Workers code for Durable Object pitfalls, ensuring state serialization and schema migrations operate correctly across your bindings.

Can I use this to check Cloudflare bindings across KV, R2, D1, Vectorize, and Hyperdrive?

Yes, you can use this to check Cloudflare bindings across KV, R2, D1, Vectorize, AI, and Hyperdrive. It reviews binding access patterns and configuration validity within your wrangler config files to ensure correct platform integration.

Why does my Cloudflare Workers code review require local schema and type references?

Your Cloudflare Workers code review requires local schema and type references to accurately validate handler signatures and config-code consistency. These references provide the necessary context to catch type correctness and API usage mistakes before production.

What are common Cloudflare Workers configuration pitfalls to look out for?

Common Cloudflare Workers configuration pitfalls include floating promises, incorrect Durable Object state serialization, and mismatched wrangler binding names. A targeted code review identifies these issues by validating config-code consistency against the current schema.