{"id":"fa1ce509-8e39-47b9-9cd7-7ee924a409e7","shortId":"q4Bqpv","kind":"skill","title":"cloudflare-workers","tagline":"Rapid development with Cloudflare Workers - build and deploy serverless applications on Cloudflare's global network. Use when building APIs, full-stack web apps, edge functions, background jobs, or real-time applications. Triggers on phrases like \"cloudflare workers\", \"wrangler\",","description":"# Cloudflare Workers\n\n## Overview\n\nCloudflare Workers is a serverless execution environment that runs JavaScript, TypeScript, Python, and Rust code on Cloudflare's global network. Workers execute in milliseconds, scale automatically, and integrate with Cloudflare's storage and compute products through bindings.\n\n**Key Benefits:**\n- **Zero cold starts** - Workers run in V8 isolates, not containers\n- **Global deployment** - Code runs in 300+ cities worldwide\n- **Rich ecosystem** - Bindings to D1, KV, R2, Durable Objects, Queues, Containers, Workflows, and more\n- **Full-stack capable** - Build APIs and serve static assets in one project\n- **Standards-based** - Uses Web APIs (fetch, crypto, streams, WebSockets)\n\n## When to Use This Skill\n\nUse Cloudflare Workers for:\n\n- **APIs and backends** - RESTful APIs, GraphQL, tRPC, WebSocket servers\n- **Full-stack applications** - React, Next.js, Remix, Astro, Vue, Svelte with static assets\n- **Edge middleware** - Authentication, rate limiting, A/B testing, routing\n- **Background processing** - Scheduled jobs (cron), queue consumers, webhooks\n- **Data transformation** - ETL pipelines, real-time data processing\n- **AI applications** - RAG systems, chatbots, image generation with Workers AI\n- **Durable workflows** - Multi-step long-running tasks with automatic retries (Workflows)\n- **Container workloads** - Run Docker containers alongside Workers (Containers)\n- **MCP servers** - Host remote Model Context Protocol servers\n- **Proxy and gateway** - API gateways, content transformation, protocol translation\n\n## Quick Start Workflow\n\n### 1. Install Wrangler CLI\n\n```bash\nnpm install -g wrangler\n\n# Login to Cloudflare\nwrangler login\n```\n\n### 2. Create a New Worker\n\n```bash\n# Using C3 (create-cloudflare) - recommended\nnpm create cloudflare@latest my-worker\n\n# Or create manually\nwrangler init my-worker\ncd my-worker\n```\n\n### 3. Write Your Worker\n\n**Basic HTTP API (TypeScript):**\n\n```typescript\nexport default {\n  async fetch(request: Request, env: Env): Promise<Response> {\n    const url = new URL(request.url);\n\n    if (url.pathname === \"/api/hello\") {\n      return Response.json({ message: \"Hello from Workers!\" });\n    }\n\n    return new Response(\"Not found\", { status: 404 });\n  },\n};\n```\n\n**With environment variables and KV:**\n\n```typescript\ninterface Env {\n  MY_VAR: string;\n  MY_KV: KVNamespace;\n}\n\nexport default {\n  async fetch(request: Request, env: Env): Promise<Response> {\n    // Access environment variable\n    const greeting = env.MY_VAR;\n\n    // Read from KV\n    const value = await env.MY_KV.get(\"my-key\");\n\n    return Response.json({ greeting, value });\n  },\n};\n```\n\n### 4. Develop Locally\n\n```bash\n# Start local development server with hot reload\nwrangler dev\n\n# Access at http://localhost:8787\n```\n\n### 5. Deploy to Production\n\n```bash\n# Deploy to workers.dev subdomain\nwrangler deploy\n\n# Deploy to custom domain (configure in wrangler.toml)\nwrangler deploy\n```\n\n## Core Concepts\n\n### Workers Runtime\n\nWorkers use the V8 JavaScript engine with Web Standard APIs:\n\n- **Execution model**: Isolates (not containers) - instant cold starts\n- **CPU time limit**: 10ms (Free), 30s (Paid) per request\n- **Memory limit**: 128 MB per isolate\n- **Languages**: JavaScript, TypeScript, Python, Rust\n- **APIs**: fetch, crypto, streams, WebSockets, WebAssembly\n\n**Supported APIs:**\n- Fetch API (HTTP requests)\n- URL API (URL parsing)\n- Web Crypto (encryption, hashing)\n- Streams API (data streaming)\n- WebSockets (real-time communication)\n- Cache API (edge caching)\n- HTML Rewriter (HTML transformation)\n\n### Handlers\n\nWorkers respond to events through handlers:\n\n**Fetch Handler** (HTTP requests):\n```typescript\nexport default {\n  async fetch(request: Request, env: Env, ctx: ExecutionContext) {\n    return new Response(\"Hello!\");\n  },\n};\n```\n\n**Scheduled Handler** (cron jobs):\n```typescript\nexport default {\n  async scheduled(event: ScheduledEvent, env: Env, ctx: ExecutionContext) {\n    // Runs on schedule defined in wrangler.toml\n    await env.MY_KV.put(\"last-run\", new Date().toISOString());\n  },\n};\n```\n\n**Queue Handler** (message processing):\n```typescript\nexport default {\n  async queue(batch: MessageBatch<any>, env: Env, ctx: ExecutionContext) {\n    for (const message of batch.messages) {\n      await processMessage(message.body);\n      message.ack();\n    }\n  },\n};\n```\n\n### Bindings\n\nBindings connect your Worker to Cloudflare resources. Configure in `wrangler.toml`:\n\n**KV (Key-Value Storage):**\n```toml\n[[kv_namespaces]]\nbinding = \"MY_KV\"\nid = \"your-kv-namespace-id\"\n```\n\n```typescript\n// Usage\nawait env.MY_KV.put(\"key\", \"value\");\nconst value = await env.MY_KV.get(\"key\");\n```\n\n**D1 (SQL Database):**\n```toml\n[[d1_databases]]\nbinding = \"DB\"\ndatabase_name = \"my-database\"\ndatabase_id = \"your-database-id\"\n```\n\n```typescript\n// Usage\nconst result = await env.DB.prepare(\n  \"SELECT * FROM users WHERE id = ?\"\n).bind(userId).all();\n```\n\n**R2 (Object Storage):**\n```toml\n[[r2_buckets]]\nbinding = \"MY_BUCKET\"\nbucket_name = \"my-bucket\"\n```\n\n```typescript\n// Usage\nawait env.MY_BUCKET.put(\"file.txt\", \"contents\");\nconst object = await env.MY_BUCKET.get(\"file.txt\");\nconst text = await object?.text();\n```\n\n**Environment Variables:**\n```toml\n[vars]\nAPI_KEY = \"development-key\"  # pragma: allowlist secret\n```\n\n**Secrets** (sensitive data):\n```bash\n# Set via CLI (not in wrangler.toml)\nwrangler secret put API_KEY\n```\n\n### Context (ctx)\n\nThe `ctx` parameter provides control over request lifecycle:\n\n```typescript\nexport default {\n  async fetch(request: Request, env: Env, ctx: ExecutionContext) {\n    // Run tasks after response is sent\n    ctx.waitUntil(\n      env.MY_KV.put(\"request-count\", String(Date.now()))\n    );\n\n    // Pass through to origin on exception\n    ctx.passThroughOnException();\n\n    return new Response(\"OK\");\n  },\n};\n```\n\n### Top-level Environment Access\n\nSince March 2025, you can import `env` at the module level instead of passing it through handlers:\n\n```typescript\nimport { env } from \"cloudflare:workers\";\n\n// Access bindings outside of handlers\nconst apiClient = new ApiClient({ apiKey: env.API_KEY });\n\nexport default {\n  async fetch(request: Request): Promise<Response> {\n    // env is also available here without the parameter\n    const data = await env.MY_KV.get(\"config\");\n    return Response.json({ data });\n  },\n};\n```\n\nThis eliminates prop-drilling `env` through function signatures and enables module-level initialization.\n\n## Rapid Development Patterns\n\n### Wrangler Configuration\n\n**Essential `wrangler.toml`:**\n\n```toml\nname = \"my-worker\"\nmain = \"src/index.ts\"\ncompatibility_date = \"2025-09-01\"\n\n# Custom domain\nroutes = [\n  { pattern = \"api.example.com/*\", zone_name = \"example.com\" }\n]\n\n# Or workers.dev subdomain\nworkers_dev = true\n\n# Environment variables\n[vars]\nENVIRONMENT = \"production\"\n\n# Bindings\n[[kv_namespaces]]\nbinding = \"CACHE\"\nid = \"your-kv-id\"\n\n[[d1_databases]]\nbinding = \"DB\"\ndatabase_name = \"production-db\"\ndatabase_id = \"your-db-id\"\n\n[[r2_buckets]]\nbinding = \"ASSETS\"\nbucket_name = \"my-assets\"\n\n# Cron triggers\n[triggers]\ncrons = [\"0 0 * * *\"]  # Daily at midnight\n```\n\n### Environment Management\n\nUse environments for staging/production:\n\n```toml\n[env.staging]\nvars = { ENVIRONMENT = \"staging\" }\n\n[env.staging.d1_databases]\nbinding = \"DB\"\ndatabase_name = \"staging-db\"\ndatabase_id = \"staging-db-id\"\n\n[env.production]\nvars = { ENVIRONMENT = \"production\" }\n\n[env.production.d1_databases]\nbinding = \"DB\"\ndatabase_name = \"production-db\"\ndatabase_id = \"production-db-id\"\n```\n\n```bash\n# Deploy to staging\nwrangler deploy --env staging\n\n# Deploy to production\nwrangler deploy --env production\n```\n\n### Common Patterns\n\n**JSON API with Error Handling:**\n\n```typescript\nexport default {\n  async fetch(request: Request, env: Env): Promise<Response> {\n    try {\n      const url = new URL(request.url);\n\n      if (url.pathname === \"/api/users\" && request.method === \"GET\") {\n        const users = await env.DB.prepare(\"SELECT * FROM users\").all();\n        return Response.json(users.results);\n      }\n\n      if (url.pathname === \"/api/users\" && request.method === \"POST\") {\n        const body = await request.json();\n        await env.DB.prepare(\n          \"INSERT INTO users (name, email) VALUES (?, ?)\"\n        ).bind(body.name, body.email).run();\n        return Response.json({ success: true }, { status: 201 });\n      }\n\n      return Response.json({ error: \"Not found\" }, { status: 404 });\n    } catch (error) {\n      return Response.json(\n        { error: error.message },\n        { status: 500 }\n      );\n    }\n  },\n};\n```\n\n**Authentication Middleware:**\n\n```typescript\nasync function authenticate(request: Request, env: Env): Promise<string | null> {\n  const authHeader = request.headers.get(\"Authorization\");\n  if (!authHeader?.startsWith(\"Bearer \")) {\n    return null;\n  }\n\n  const token = authHeader.substring(7);\n  const userId = await env.SESSIONS.get(token);\n  return userId;\n}\n\nexport default {\n  async fetch(request: Request, env: Env): Promise<Response> {\n    const userId = await authenticate(request, env);\n\n    if (!userId) {\n      return Response.json({ error: \"Unauthorized\" }, { status: 401 });\n    }\n\n    // Proceed with authenticated request\n    return Response.json({ userId });\n  },\n};\n```\n\n**CORS Headers:**\n\n```typescript\nconst corsHeaders = {\n  \"Access-Control-Allow-Origin\": \"*\",\n  \"Access-Control-Allow-Methods\": \"GET, POST, PUT, DELETE, OPTIONS\",\n  \"Access-Control-Allow-Headers\": \"Content-Type, Authorization\",\n};\n\nexport default {\n  async fetch(request: Request): Promise<Response> {\n    if (request.method === \"OPTIONS\") {\n      return new Response(null, { headers: corsHeaders });\n    }\n\n    const response = await handleRequest(request);\n\n    // Add CORS headers to response\n    Object.entries(corsHeaders).forEach(([key, value]) => {\n      response.headers.set(key, value);\n    });\n\n    return response;\n  },\n};\n```\n\n### Static Assets (Full-Stack Apps)\n\nServe static files alongside your Worker code:\n\n```toml\n[assets]\ndirectory = \"./public\"\nbinding = \"ASSETS\"\n```\n\n```typescript\nexport default {\n  async fetch(request: Request, env: Env): Promise<Response> {\n    const url = new URL(request.url);\n\n    // API routes\n    if (url.pathname.startsWith(\"/api/\")) {\n      return handleAPI(request, env);\n    }\n\n    // Serve static assets via the ASSETS binding\n    return env.ASSETS.fetch(request);\n  },\n};\n```\n\n### Testing\n\n**Using Vitest:**\n\n```typescript\nimport { env, createExecutionContext } from \"cloudflare:test\";\nimport { describe, it, expect } from \"vitest\";\nimport worker from \"./index\";\n\ndescribe(\"Worker\", () => {\n  it(\"responds with JSON\", async () => {\n    const request = new Request(\"http://example.com/api/hello\");\n    const ctx = createExecutionContext();\n    const response = await worker.fetch(request, env, ctx);\n\n    expect(response.status).toBe(200);\n    expect(await response.json()).toEqual({ message: \"Hello!\" });\n  });\n});\n```\n\n## Framework Integration\n\nWorkers supports major frameworks with adapters:\n\n- **Next.js** - Full App Router and Pages Router support\n- **Remix / React Router** - Native Cloudflare adapter\n- **Astro** - Server-side rendering on Workers\n- **SvelteKit** - Cloudflare adapter available\n- **Hono** - Lightweight web framework built for Workers\n- **tRPC** - Type-safe APIs with full Workers support\n\n**Example with Hono:**\n\n```typescript\nimport { Hono } from \"hono\";\n\nconst app = new Hono();\n\napp.get(\"/\", (c) => c.text(\"Hello!\"));\napp.get(\"/api/users/:id\", async (c) => {\n  const id = c.req.param(\"id\");\n  const user = await c.env.DB.prepare(\n    \"SELECT * FROM users WHERE id = ?\"\n  ).bind(id).first();\n  return c.json(user);\n});\n\nexport default app;\n```\n\n## Advanced Topics\n\nFor detailed information on advanced features, see the reference files:\n\n- **Complete Bindings Guide**: `references/bindings-complete-guide.md` - All binding types (D1, KV, R2, Durable Objects, Queues, Workers AI, Vectorize, Workflows, Containers, Secrets Store, Pipelines, AutoRAG)\n- **Deployment & CI/CD**: `references/wrangler-and-deployment.md` - Wrangler v4 migration, commands, GitHub Actions, GitLab CI/CD, gradual rollouts, remote bindings\n- **Development Best Practices**: `references/development-patterns.md` - Testing, debugging, error handling, performance, top-level env access patterns\n- **Advanced Features**: `references/advanced-features.md` - Containers, Workflows, MCP servers, Workers for Platforms, WebSockets, Node.js compat, streaming\n- **Observability**: `references/observability.md` - Logging (tail, Logpush, Workers Logs), metrics, traces, debugging\n\n## Resources\n\n**Official Documentation:**\n- Workers: https://developers.cloudflare.com/workers/\n- Wrangler CLI: https://developers.cloudflare.com/workers/wrangler/\n- Runtime APIs: https://developers.cloudflare.com/workers/runtime-apis/\n- Examples: https://developers.cloudflare.com/workers/examples/\n\n- Workflows: https://developers.cloudflare.com/workflows/\n- Containers: https://developers.cloudflare.com/containers/\n\n**Templates & Quick Starts:**\n- Templates: https://developers.cloudflare.com/workers/get-started/quickstarts/\n- Framework guides: https://developers.cloudflare.com/workers/framework-guides/\n\n**Community:**\n- Discord: https://discord.cloudflare.com\n- GitHub: https://github.com/cloudflare/workers-sdk","tags":["cloudflare","workers","skills","tenequm","agent-skills","ai-agents","claude-code","claude-skills","clawhub","erc-8004","mpp","openclaw"],"capabilities":["skill","source-tenequm","skill-cloudflare-workers","topic-agent-skills","topic-ai-agents","topic-claude-code","topic-claude-skills","topic-clawhub","topic-erc-8004","topic-mpp","topic-openclaw","topic-skills","topic-solana","topic-x402"],"categories":["skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/tenequm/skills/cloudflare-workers","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add tenequm/skills","source_repo":"https://github.com/tenequm/skills","install_from":"skills.sh"}},"qualityScore":"0.461","qualityRationale":"deterministic score 0.46 from registry signals: · indexed on github topic:agent-skills · 23 github stars · SKILL.md body (13,275 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-04-22T01:01:39.146Z","embedding":null,"createdAt":"2026-04-18T23:05:11.757Z","updatedAt":"2026-04-22T01:01:39.146Z","lastSeenAt":"2026-04-22T01:01:39.146Z","tsv":"'-01':841 '-09':840 '/*':848 '/api':1216 '/api/hello':318,1264 '/api/users':993,1009,1351 '/cloudflare/workers-sdk':1512 '/containers/':1493 '/index':1250 '/public':1194 '/workers/':1471 '/workers/examples/':1485 '/workers/framework-guides/':1505 '/workers/get-started/quickstarts/':1500 '/workers/runtime-apis/':1481 '/workers/wrangler/':1476 '/workflows/':1489 '0':901,902 '1':248 '10ms':438 '128':446 '2':262 '200':1278 '201':1033 '2025':752,839 '3':293 '300':101 '30s':440 '4':376 '401':1105 '404':331,1040 '5':393 '500':1048 '7':1075 '8787':392 'a/b':177 'access':355,389,749,773,1119,1124,1134,1439 'access-control-allow-head':1133 'access-control-allow-method':1123 'access-control-allow-origin':1118 'action':1419 'adapt':1292,1306,1316 'add':1163 'advanc':1377,1383,1441 'ai':197,206,1403 'allow':1121,1126,1136 'allowlist':683 'alongsid':225,1187 'also':794 'api':22,123,136,150,154,239,299,426,455,462,464,468,476,485,677,698,971,1212,1329,1478 'api.example.com':847 'api.example.com/*':846 'apicli':779,781 'apikey':782 'app':27,1183,1295,1343,1376 'app.get':1346,1350 'applic':13,36,162,198 'asset':127,171,891,896,1179,1192,1196,1223,1226 'astro':166,1307 'async':304,348,506,525,554,713,787,978,1052,1085,1144,1200,1257,1353 'authent':174,1049,1054,1095,1108 'authhead':1063,1067 'authheader.substring':1074 'author':1065,1141 'automat':72,217 'autorag':1410 'avail':795,1317 'await':367,539,567,601,607,633,659,665,670,802,998,1014,1016,1078,1094,1160,1270,1280,1361 'backend':152 'background':30,180 'base':133 'bash':252,267,379,397,688,953 'basic':297 'batch':556 'batch.messages':566 'bearer':1069 'benefit':85 'best':1427 'bind':83,106,571,572,590,616,640,649,774,863,866,875,890,920,940,1024,1195,1227,1368,1390,1394,1425 'bodi':1013 'body.email':1026 'body.name':1025 'bucket':648,651,652,656,889,892 'build':9,21,122 'built':1322 'c':1347,1354 'c.env.db.prepare':1362 'c.json':1372 'c.req.param':1357 'c.text':1348 'c3':269 'cach':484,487,867 'capabl':121 'catch':1041 'cd':289 'chatbot':201 'ci/cd':1412,1421 'citi':102 'cli':251,691,1473 'cloudflar':2,7,15,41,44,47,63,76,147,259,272,276,577,771,1239,1305,1315 'cloudflare-work':1 'code':61,98,1190 'cold':87,433 'command':1417 'common':968 'communic':483 'communiti':1506 'compat':837,1453 'complet':1389 'comput':80 'concept':414 'config':804 'configur':408,579,827 'connect':573 'const':311,358,365,563,605,631,663,668,778,800,986,996,1012,1062,1072,1076,1092,1116,1158,1207,1258,1265,1268,1342,1355,1359 'consum':186 'contain':95,114,220,224,227,431,1406,1444,1490 'content':241,662,1139 'content-typ':1138 'context':233,700 'control':706,1120,1125,1135 'cor':1113,1164 'core':413 'corshead':1117,1157,1169 'count':731 'cpu':435 'creat':263,271,275,282 'create-cloudflar':270 'createexecutioncontext':1237,1267 'cron':184,520,897,900 'crypto':138,457,472 'ctx':512,531,560,701,703,719,1266,1274 'ctx.passthroughonexception':740 'ctx.waituntil':727 'custom':406,842 'd1':108,610,614,873,918,938,1396 'daili':903 'data':188,195,477,687,801,807 'databas':612,615,618,622,623,627,874,877,882,919,922,927,939,942,947 'date':545,838 'date.now':733 'db':617,876,881,886,921,926,931,941,946,951 'debug':1431,1464 'default':303,347,505,524,553,712,786,977,1084,1143,1199,1375 'defin':536 'delet':1131 'deploy':11,97,394,398,403,404,412,954,958,961,965,1411 'describ':1242,1251 'detail':1380 'dev':388,856 'develop':5,377,382,680,824,1426 'developers.cloudflare.com':1470,1475,1480,1484,1488,1492,1499,1504 'developers.cloudflare.com/containers/':1491 'developers.cloudflare.com/workers/':1469 'developers.cloudflare.com/workers/examples/':1483 'developers.cloudflare.com/workers/framework-guides/':1503 'developers.cloudflare.com/workers/get-started/quickstarts/':1498 'developers.cloudflare.com/workers/runtime-apis/':1479 'developers.cloudflare.com/workers/wrangler/':1474 'developers.cloudflare.com/workflows/':1487 'development-key':679 'directori':1193 'discord':1507 'discord.cloudflare.com':1508 'docker':223 'document':1467 'domain':407,843 'drill':812 'durabl':111,207,1399 'ecosystem':105 'edg':28,172,486 'elimin':809 'email':1022 'enabl':818 'encrypt':473 'engin':422 'env':308,309,339,352,353,510,511,529,530,558,559,717,718,756,769,792,813,959,966,982,983,1057,1058,1089,1090,1097,1204,1205,1220,1236,1273,1438 'env.api':783 'env.assets.fetch':1229 'env.db.prepare':634,999,1017 'env.my':360 'env.my_bucket.get':666 'env.my_bucket.put':660 'env.my_kv.get':368,608,803 'env.my_kv.put':540,602,728 'env.production':933,937 'env.sessions.get':1079 'env.staging':913,917 'environ':53,333,356,673,748,858,861,906,909,915,935 'error':973,1036,1042,1045,1102,1432 'error.message':1046 'essenti':828 'etl':190 'event':496,527 'exampl':1334,1482 'example.com':851,1263 'example.com/api/hello':1262 'except':739 'execut':52,68,427 'executioncontext':513,532,561,720 'expect':1244,1275,1279 'export':302,346,504,523,552,711,785,976,1083,1142,1198,1374 'featur':1384,1442 'fetch':137,305,349,456,463,499,507,714,788,979,1086,1145,1201 'file':1186,1388 'file.txt':661,667 'first':1370 'foreach':1170 'found':329,1038 'framework':1285,1290,1321,1501 'free':439 'full':24,119,160,1181,1294,1331 'full-stack':23,118,159,1180 'function':29,815,1053 'g':255 'gateway':238,240 'generat':203 'get':995,1128 'github':1418,1509 'github.com':1511 'github.com/cloudflare/workers-sdk':1510 'gitlab':1420 'global':17,65,96 'gradual':1422 'graphql':155 'greet':359,374 'guid':1391,1502 'handl':974,1433 'handleapi':1218 'handler':492,498,500,519,548,766,777 'handlerequest':1161 'hash':474 'header':1114,1137,1156,1165 'hello':322,517,1284,1349 'hono':1318,1336,1339,1341,1345 'host':230 'hot':385 'html':488,490 'http':298,465,501 'id':593,598,624,628,639,868,872,883,887,928,932,948,952,1352,1356,1358,1367,1369 'imag':202 'import':755,768,1235,1241,1247,1338 'inform':1381 'init':285 'initi':822 'insert':1018 'instal':249,254 'instant':432 'instead':761 'integr':74,1286 'interfac':338 'isol':93,429,449 'javascript':56,421,451 'job':31,183,521 'json':970,1256 'key':84,371,584,603,609,678,681,699,784,1171,1174 'key-valu':583 'kv':109,336,344,364,582,588,592,596,864,871,1397 'kvnamespac':345 'languag':450 'last':542 'last-run':541 'latest':277 'level':747,760,821,1437 'lifecycl':709 'lightweight':1319 'like':40 'limit':176,437,445 'local':378,381 'localhost':391 'log':1457,1461 'login':257,261 'logpush':1459 'long':213 'long-run':212 'main':835 'major':1289 'manag':907 'manual':283 'march':751 'mb':447 'mcp':228,1446 'memori':444 'messag':321,549,564,1283 'message.ack':570 'message.body':569 'messagebatch':557 'method':1127 'metric':1462 'middlewar':173,1050 'midnight':905 'migrat':1416 'millisecond':70 'model':232,428 'modul':759,820 'module-level':819 'multi':210 'multi-step':209 'my-asset':894 'my-bucket':654 'my-databas':620 'my-key':369 'my-work':278,286,290,832 'name':619,653,831,850,878,893,923,943,1021 'namespac':589,597,865 'nativ':1304 'network':18,66 'new':265,313,326,515,544,742,780,988,1153,1209,1260,1344 'next.js':164,1293 'node.js':1452 'npm':253,274 'null':1061,1071,1155 'object':112,644,664,671,1400 'object.entries':1168 'observ':1455 'offici':1466 'ok':744 'one':129 'option':1132,1151 'origin':737,1122 'outsid':775 'overview':46 'page':1298 'paid':441 'paramet':704,799 'pars':470 'pass':734,763 'pattern':825,845,969,1440 'per':442,448 'perform':1434 'phrase':39 'pipelin':191,1409 'platform':1450 'post':1011,1129 'practic':1428 'pragma':682 'proceed':1106 'process':181,196,550 'processmessag':568 'product':81,396,862,880,936,945,950,963,967 'production-db':879,944 'production-db-id':949 'project':130 'promis':310,354,791,984,1059,1091,1148,1206 'prop':811 'prop-dril':810 'protocol':234,243 'provid':705 'proxi':236 'put':697,1130 'python':58,453 'queue':113,185,547,555,1401 'quick':245,1495 'r2':110,643,647,888,1398 'rag':199 'rapid':4,823 'rate':175 'react':163,1302 'read':362 'real':34,193,481 'real-tim':33,192,480 'recommend':273 'refer':1387 'references/advanced-features.md':1443 'references/bindings-complete-guide.md':1392 'references/development-patterns.md':1429 'references/observability.md':1456 'references/wrangler-and-deployment.md':1413 'reload':386 'remix':165,1301 'remot':231,1424 'render':1311 'request':306,307,350,351,443,466,502,508,509,708,715,716,730,789,790,980,981,1055,1056,1087,1088,1096,1109,1146,1147,1162,1202,1203,1219,1230,1259,1261,1272 'request-count':729 'request.headers.get':1064 'request.json':1015 'request.method':994,1010,1150 'request.url':315,990,1211 'resourc':578,1465 'respond':494,1254 'respons':327,516,724,743,1154,1159,1167,1177,1269 'response.headers.set':1173 'response.json':320,373,806,1005,1029,1035,1044,1101,1111,1281 'response.status':1276 'rest':153 'result':632 'retri':218 'return':319,325,372,514,741,805,1004,1028,1034,1043,1070,1081,1100,1110,1152,1176,1217,1228,1371 'rewrit':489 'rich':104 'rollout':1423 'rout':179,844,1213 'router':1296,1299,1303 'run':55,90,99,214,222,533,543,721,1027 'runtim':416,1477 'rust':60,454 'safe':1328 'scale':71 'schedul':182,518,526,535 'scheduledev':528 'secret':684,685,696,1407 'see':1385 'select':635,1000,1363 'sensit':686 'sent':726 'serv':125,1184,1221 'server':158,229,235,383,1309,1447 'server-sid':1308 'serverless':12,51 'set':689 'side':1310 'signatur':816 'sinc':750 'skill':145 'skill-cloudflare-workers' 'source-tenequm' 'sql':611 'src/index.ts':836 'stack':25,120,161,1182 'stage':916,925,930,956,960 'staging-db':924 'staging-db-id':929 'staging/production':911 'standard':132,425 'standards-bas':131 'start':88,246,380,434,1496 'startswith':1068 'static':126,170,1178,1185,1222 'status':330,1032,1039,1047,1104 'step':211 'storag':78,586,645 'store':1408 'stream':139,458,475,478,1454 'string':342,732,1060 'subdomain':401,854 'success':1030 'support':461,1288,1300,1333 'svelt':168 'sveltekit':1314 'system':200 'tail':1458 'task':215,722 'templat':1494,1497 'test':178,1231,1240,1430 'text':669,672 'time':35,194,436,482 'tobe':1277 'toequal':1282 'toisostr':546 'token':1073,1080 'toml':587,613,646,675,830,912,1191 'top':746,1436 'top-level':745,1435 'topic':1378 'topic-agent-skills' 'topic-ai-agents' 'topic-claude-code' 'topic-claude-skills' 'topic-clawhub' 'topic-erc-8004' 'topic-mpp' 'topic-openclaw' 'topic-skills' 'topic-solana' 'topic-x402' 'trace':1463 'transform':189,242,491 'translat':244 'tri':985 'trigger':37,898,899 'trpc':156,1325 'true':857,1031 'type':1140,1327,1395 'type-saf':1326 'typescript':57,300,301,337,452,503,522,551,599,629,657,710,767,975,1051,1115,1197,1234,1337 'unauthor':1103 'url':312,314,467,469,987,989,1208,1210 'url.pathname':317,992,1008 'url.pathname.startswith':1215 'usag':600,630,658 'use':19,134,143,146,268,418,908,1232 'user':637,997,1002,1020,1360,1365,1373 'userid':641,1077,1082,1093,1099,1112 'users.results':1006 'v4':1415 'v8':92,420 'valu':366,375,585,604,606,1023,1172,1175 'var':341,361,676,860,914,934 'variabl':334,357,674,859 'vector':1404 'via':690,1224 'vitest':1233,1246 'vue':167 'web':26,135,424,471,1320 'webassembl':460 'webhook':187 'websocket':140,157,459,479,1451 'without':797 'worker':3,8,42,45,48,67,89,148,205,226,266,280,288,292,296,324,415,417,493,575,772,834,855,1189,1248,1252,1287,1313,1324,1332,1402,1448,1460,1468 'worker.fetch':1271 'workers.dev':400,853 'workflow':115,208,219,247,1405,1445,1486 'workload':221 'worldwid':103 'wrangler':43,250,256,260,284,387,402,411,695,826,957,964,1414,1472 'wrangler.toml':410,538,581,694,829 'write':294 'your-database-id':625 'your-db-id':884 'your-kv-id':869 'your-kv-namespace-id':594 'zero':86 'zone':849","prices":[{"id":"39546e15-49f1-4a86-8e89-6f55a426aee9","listingId":"fa1ce509-8e39-47b9-9cd7-7ee924a409e7","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"tenequm","category":"skills","install_from":"skills.sh"},"createdAt":"2026-04-18T23:05:11.757Z"}],"sources":[{"listingId":"fa1ce509-8e39-47b9-9cd7-7ee924a409e7","source":"github","sourceId":"tenequm/skills/cloudflare-workers","sourceUrl":"https://github.com/tenequm/skills/tree/main/skills/cloudflare-workers","isPrimary":false,"firstSeenAt":"2026-04-18T23:05:11.757Z","lastSeenAt":"2026-04-22T01:01:39.146Z"}],"details":{"listingId":"fa1ce509-8e39-47b9-9cd7-7ee924a409e7","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"tenequm","slug":"cloudflare-workers","github":{"repo":"tenequm/skills","stars":23,"topics":["agent-skills","ai-agents","claude-code","claude-skills","clawhub","erc-8004","mpp","openclaw","skills","solana","x402"],"license":"mit","html_url":"https://github.com/tenequm/skills","pushed_at":"2026-04-14T16:24:57Z","description":"Agent skills for building, shipping, and growing software products","skill_md_sha":"745037bf983e25ba4acd04aa49f2db77f1934d3d","skill_md_path":"skills/cloudflare-workers/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/tenequm/skills/tree/main/skills/cloudflare-workers"},"layout":"multi","source":"github","category":"skills","frontmatter":{"name":"cloudflare-workers","description":"Rapid development with Cloudflare Workers - build and deploy serverless applications on Cloudflare's global network. Use when building APIs, full-stack web apps, edge functions, background jobs, or real-time applications. Triggers on phrases like \"cloudflare workers\", \"wrangler\", \"edge computing\", \"serverless cloudflare\", \"workers bindings\", or files like wrangler.toml, worker.ts, worker.js."},"skills_sh_url":"https://skills.sh/tenequm/skills/cloudflare-workers"},"updatedAt":"2026-04-22T01:01:39.146Z"}}