.claude/skills/ts-cloudflare-workers/SKILL.md
Assists with building and deploying applications on Cloudflare Workers edge computing platform. Use when working with Workers runtime, Wrangler CLI, KV, D1, R2, Durable Objects, Queues, or Hyperdrive. Trigger words: cloudflare, workers, edge functions, wrangler, KV, D1, R2, durable objects, edge computing.
npx skillsauth add eliferjunior/Claude cloudflare-workersInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Cloudflare Workers enables building and deploying applications at the edge with sub-millisecond cold starts. The platform leverages the Workers runtime alongside storage services like KV, D1, R2, Durable Objects, and Queues to build globally distributed, low-latency applications.
wrangler init using ES Module syntax (export default { fetch }) and set compatibility_date in wrangler.toml.wrangler dev with hot reload and local KV/D1/R2 simulation.wrangler deploy and configure routes, bindings, and build settings in wrangler.toml.wrangler secret put KEY_NAME and type bindings with an Env interface.caches.default), Smart Placement, streaming responses with TransformStream, and HTMLRewriter for HTML transformation.ctx.waitUntil() for fire-and-forget async tasks like analytics or logging.User request: "Set up a Cloudflare Worker that serves cached API responses from KV"
Actions:
wrangler initwrangler.tomlwrangler devOutput: A Worker that checks KV for cached data, falls back to origin, and stores results in KV with TTL.
User request: "Build a Worker that runs on a schedule to sync data from an external API into D1"
Actions:
wrangler.tomlscheduled() handler that fetches external data and inserts into D1ctx.waitUntil() for non-blocking cleanup tasksOutput: A Worker with cron-triggered data synchronization and D1 storage.
compatibility_date in wrangler.toml to pin runtime behavior.export default) over Service Worker syntax.Env interface for type safety.ctx.waitUntil() for fire-and-forget async work that should not block the response.Cache-Control headers and leverage Cloudflare's edge cache.development
Expert guidance for Fireworks AI, the platform for running open-source LLMs (Llama, Mixtral, Qwen, etc.) with enterprise-grade speed and reliability. Helps developers integrate Fireworks' inference API, fine-tune models, and deploy custom model endpoints with function calling and structured output support.
development
Convert any website into clean, structured data with Firecrawl — API-first web scraping service. Use when someone asks to "turn a website into markdown", "scrape website for LLM", "Firecrawl", "extract website content as clean text", "crawl and convert to structured data", or "scrape website for RAG". Covers single-page scraping, full-site crawling, structured extraction, and LLM-ready output.
tools
Expert guidance for Firebase, Google's platform for building and scaling web and mobile applications. Helps developers set up authentication, Firestore/Realtime Database, Cloud Functions, hosting, storage, and analytics using Firebase's SDK and CLI.
development
When the user needs to build file upload functionality for a web application. Use when the user mentions "file upload," "image upload," "upload endpoint," "multipart upload," "presigned URL," "S3 upload," "file validation," "upload to cloud storage," or "accept user files." Handles upload endpoints, file validation (type, size, magic bytes), cloud storage integration, and upload status tracking. For image/video processing after upload, see media-transcoder.