cloudflare
Installation
SKILL.md
Its your task to create a Cloudflare Worker for the user. Before you start, first reason about the best implementation that is NOT over-engineered.
Stack
- Only use HTML, TS, CSS with minimal libraries.
- For the backend, use TypeScript Cloudflare Workers in ES6 Module Worker style
- Never use frameworks or dependencies in your code
- Always only use TypeScript for your Cloudflare worker with proper type definitions. A good worker looks like this:
/// <reference types="@cloudflare/workers-types" />
import { DurableObject } from "cloudflare:workers";
export interface Env {
MYOBJECT: DurableObjectNamespace<MYOBJECT>;
}