[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M783PPZ1A71992BK5AH0NGFX":3,"skill-same:01M783PPZ1A71992BK5AH0NGFX":87},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":13,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":28,"install":29,"resources":42},"01M783PPZ1A71992BK5AH0NGFX","cloudflare-workers-runtime-apis",null,"Cloudflare Workers Runtime APIs including Fetch, Streams, Crypto, Cache, WebSockets, and Encoding. Use for HTTP requests, streaming, encryption, caching, real-time connections, or encountering API compatibility, response handling, stream processing errors.","aibizmod\u002Faibizmod-service-web","aibizmod","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F295315630?v=4","01M7836CB8EQY701YQ7N88M591","01M7836CBVPZGNSJ8BRP2BT398",0,"MIT","https:\u002F\u002Fgithub.com\u002Faibizmod\u002Faibizmod-service-web\u002Fblob\u002Fmain\u002F.opencode\u002Fskill\u002Fclaude-skills\u002Fplugins\u002Fcloudflare-workers\u002Fskills\u002Fcloudflare-workers-runtime-apis\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: cloudflare-workers-runtime-apis\ndescription: Cloudflare Workers Runtime APIs including Fetch, Streams, Crypto, Cache, WebSockets, and Encoding. Use for HTTP requests, streaming, encryption, caching, real-time connections, or encountering API compatibility, response handling, stream processing errors.\nlicense: MIT\n---\n\n# Cloudflare Workers Runtime APIs\n\nMaster the Workers runtime APIs: Fetch, Streams, Crypto, Cache, WebSockets, and text encoding.\n\n## Quick Reference\n\n| API | Purpose | Common Use |\n|-----|---------|------------|\n| **Fetch** | HTTP requests | External APIs, proxying |\n| **Streams** | Data streaming | Large files, real-time |\n| **Crypto** | Cryptography | Hashing, signing, encryption |\n| **Cache** | Response caching | Performance optimization |\n| **WebSockets** | Real-time connections | Chat, live updates |\n| **Encoding** | Text encoding | UTF-8, Base64 |\n\n## Quick Start: Fetch API\n\n```typescript\nexport default {\n  async fetch(request: Request, env: Env): Promise\u003CResponse> {\n    \u002F\u002F Basic fetch\n    const response = await fetch('https:\u002F\u002Fapi.example.com\u002Fdata');\n\n    \u002F\u002F With options\n    const postResponse = await fetch('https:\u002F\u002Fapi.example.com\u002Fusers', {\n      method: 'POST',\n      headers: {\n        'Content-Type': 'application\u002Fjson',\n        'Authorization': `Bearer ${env.API_KEY}`,\n      },\n      body: JSON.stringify({ name: 'John' }),\n    });\n\n    \u002F\u002F Clone for multiple reads\n    const clone = response.clone();\n    const json = await response.json();\n    const text = await clone.text();\n\n    return Response.json(json);\n  }\n};\n```\n\n## Critical Rules\n\n1. **Always set timeouts for external requests** - Workers have a 30s limit, external APIs can hang\n2. **Clone responses before reading body** - Body can only be read once\n3. **Use streaming for large payloads** - Don't buffer entire response in memory\n4. **Cache external API responses** - Reduce latency and API costs\n5. **Handle Crypto operations in try\u002Fcatch** - Invalid inputs throw errors\n6. **WebSocket hibernation for cost** - Use Durable Objects with hibernation\n\n## Top 10 Errors Prevented\n\n| Error | Symptom | Prevention |\n|-------|---------|------------|\n| Body already read | `TypeError: Body has already been consumed` | Clone response before reading |\n| Fetch timeout | Request hangs, worker times out | Use `AbortController` with timeout |\n| Invalid JSON | `SyntaxError: Unexpected token` | Check content-type before parsing |\n| Stream locked | `TypeError: ReadableStream is locked` | Don't read stream multiple times |\n| Crypto key error | `DOMException: Invalid keyData` | Validate key format and algorithm |\n| Cache miss | Returns `undefined` instead of response | Check cache before returning |\n| WebSocket close | Connection drops unexpectedly | Handle close event, implement reconnect |\n| Encoding error | `TypeError: Invalid code point` | Use TextEncoder\u002FTextDecoder properly |\n| CORS blocked | Browser rejects response | Add proper CORS headers |\n| Request size | `413 Request Entity Too Large` | Stream large uploads |\n\n## Fetch API Patterns\n\n### With Timeout\n\n```typescript\nasync function fetchWithTimeout(url: string, timeout: number = 5000): Promise\u003CResponse> {\n  const controller = new AbortController();\n  const timeoutId = setTimeout(() => controller.abort(), timeout);\n\n  try {\n    const response = await fetch(url, { signal: controller.signal });\n    return response;\n  } finally {\n    clearTimeout(timeoutId);\n  }\n}\n```\n\n### With Retry\n\n```typescript\nasync function fetchWithRetry(\n  url: string,\n  options: RequestInit = {},\n  retries: number = 3\n): Promise\u003CResponse> {\n  for (let i = 0; i \u003C retries; i++) {\n    try {\n      const response = await fetch(url, options);\n      if (response.ok) return response;\n\n      \u002F\u002F Retry on 5xx errors\n      if (response.status >= 500 && i \u003C retries - 1) {\n        await new Promise(r => setTimeout(r, Math.pow(2, i) * 1000));\n        continue;\n      }\n\n      return response;\n    } catch (error) {\n      if (i === retries - 1) throw error;\n      await new Promise(r => setTimeout(r, Math.pow(2, i) * 1000));\n    }\n  }\n  throw new Error('Max retries exceeded');\n}\n```\n\n## Streams API\n\n### Transform Stream\n\n```typescript\nfunction createUppercaseStream(): TransformStream\u003Cstring, string> {\n  return new TransformStream({\n    transform(chunk, controller) {\n      controller.enqueue(chunk.toUpperCase());\n    }\n  });\n}\n\n\u002F\u002F Usage\nconst response = await fetch('https:\u002F\u002Fexample.com\u002Ftext');\nconst transformed = response.body!\n  .pipeThrough(new TextDecoderStream())\n  .pipeThrough(createUppercaseStream())\n  .pipeThrough(new TextEncoderStream());\n\nreturn new Response(transformed);\n```\n\n### Stream Large Response\n\n```typescript\nasync function streamLargeFile(url: string): Promise\u003CResponse> {\n  const response = await fetch(url);\n\n  \u002F\u002F Stream directly without buffering\n  return new Response(response.body, {\n    headers: {\n      'Content-Type': response.headers.get('Content-Type') || 'application\u002Foctet-stream',\n    },\n  });\n}\n```\n\n## Crypto API\n\n### Hashing\n\n```typescript\nasync function sha256(data: string): Promise\u003Cstring> {\n  const encoder = new TextEncoder();\n  const dataBuffer = encoder.encode(data);\n  const hashBuffer = await crypto.subtle.digest('SHA-256', dataBuffer);\n  const hashArray = Array.from(new Uint8Array(hashBuffer));\n  return hashArray.map(b => b.toString(16).padStart(2, '0')).join('');\n}\n```\n\n### HMAC Signing\n\n```typescript\nasync function signHMAC(key: string, data: string): Promise\u003Cstring> {\n  const encoder = new TextEncoder();\n  const keyData = encoder.encode(key);\n  const dataBuffer = encoder.encode(data);\n\n  const cryptoKey = await crypto.subtle.importKey(\n    'raw',\n    keyData,\n    { name: 'HMAC', hash: 'SHA-256' },\n    false,\n    ['sign']\n  );\n\n  const signature = await crypto.subtle.sign('HMAC', cryptoKey, dataBuffer);\n  return btoa(String.fromCharCode(...new Uint8Array(signature)));\n}\n```\n\n## Cache API\n\n```typescript\nexport default {\n  async fetch(request: Request, env: Env, ctx: ExecutionContext): Promise\u003CResponse> {\n    const cache = caches.default;\n    const cacheKey = new Request(request.url, { method: 'GET' });\n\n    \u002F\u002F Check cache\n    let response = await cache.match(cacheKey);\n    if (response) {\n      return response;\n    }\n\n    \u002F\u002F Fetch and cache\n    response = await fetch(request);\n    response = new Response(response.body, response);\n    response.headers.set('Cache-Control', 'public, max-age=3600');\n\n    \u002F\u002F Store in cache (don't await)\n    ctx.waitUntil(cache.put(cacheKey, response.clone()));\n\n    return response;\n  }\n};\n```\n\n## WebSockets (Durable Objects)\n\n```typescript\n\u002F\u002F Durable Object with WebSocket hibernation\nexport class WebSocketRoom {\n  state: DurableObjectState;\n\n  constructor(state: DurableObjectState) {\n    this.state = state;\n  }\n\n  async fetch(request: Request): Promise\u003CResponse> {\n    const upgradeHeader = request.headers.get('Upgrade');\n    if (upgradeHeader !== 'websocket') {\n      return new Response('Expected websocket', { status: 426 });\n    }\n\n    const pair = new WebSocketPair();\n    const [client, server] = Object.values(pair);\n\n    \u002F\u002F Accept with hibernation\n    this.state.acceptWebSocket(server);\n\n    return new Response(null, { status: 101, webSocket: client });\n  }\n\n  async webSocketMessage(ws: WebSocket, message: string | ArrayBuffer) {\n    \u002F\u002F Handle incoming message\n    const data = typeof message === 'string' ? message : new TextDecoder().decode(message);\n\n    \u002F\u002F Broadcast to all connected clients\n    for (const client of this.state.getWebSockets()) {\n      client.send(data);\n    }\n  }\n\n  async webSocketClose(ws: WebSocket, code: number, reason: string) {\n    ws.close(code, reason);\n  }\n}\n```\n\n## When to Load References\n\nLoad specific references based on the task:\n\n- **Making HTTP requests?** → Load `references\u002Ffetch-api.md` for timeout, retry, proxy patterns\n- **Processing large data?** → Load `references\u002Fstreams-api.md` for TransformStream, chunking\n- **Encryption\u002Fsigning?** → Load `references\u002Fcrypto-api.md` for AES, RSA, JWT verification\n- **Caching responses?** → Load `references\u002Fcache-api.md` for Cache API patterns, TTL strategies\n- **Real-time features?** → Load `references\u002Fwebsockets.md` for WebSocket patterns, Durable Objects\n- **Text encoding?** → Load `references\u002Fencoding-api.md` for TextEncoder, Base64, Unicode\n\n## Templates\n\n| Template | Purpose | Use When |\n|----------|---------|----------|\n| `templates\u002Ffetch-patterns.ts` | HTTP request utilities | Building API clients |\n| `templates\u002Fstream-processing.ts` | Stream transformation | Processing large files |\n| `templates\u002Fcrypto-operations.ts` | Crypto utilities | Signing, hashing, encryption |\n| `templates\u002Fwebsocket-handler.ts` | WebSocket DO | Real-time applications |\n\n## Resources\n\n- Runtime APIs: https:\u002F\u002Fdevelopers.cloudflare.com\u002Fworkers\u002Fruntime-apis\u002F\n- Fetch API: https:\u002F\u002Fdevelopers.cloudflare.com\u002Fworkers\u002Fruntime-apis\u002Ffetch\u002F\n- Streams API: https:\u002F\u002Fdevelopers.cloudflare.com\u002Fworkers\u002Fruntime-apis\u002Fstreams\u002F\n- Web Crypto: https:\u002F\u002Fdevelopers.cloudflare.com\u002Fworkers\u002Fruntime-apis\u002Fweb-crypto\u002F\n- Cache API: https:\u002F\u002Fdevelopers.cloudflare.com\u002Fworkers\u002Fruntime-apis\u002Fcache\u002F\n- WebSockets: https:\u002F\u002Fdevelopers.cloudflare.com\u002Fworkers\u002Fruntime-apis\u002Fwebsockets\u002F\n","# Cloudflare Workers Runtime APIs\n\nMaster the Workers runtime APIs: Fetch, Streams, Crypto, Cache, WebSockets, and text encoding.\n\n## Quick Reference\n\n| API | Purpose | Common Use |\n|-----|---------|------------|\n| **Fetch** | HTTP requests | External APIs, proxying |\n| **Streams** | Data streaming | Large files, real-time |\n| **Crypto** | Cryptography | Hashing, signing, encryption |\n| **Cache** | Response caching | Performance optimization |\n| **WebSockets** | Real-time connections | Chat, live updates |\n| **Encoding** | Text encoding | UTF-8, Base64 |\n\n## Quick Start: Fetch API\n\n```typescript\nexport default {\n  async fetch(request: Request, env: Env): Promise\u003CResponse> {\n    \u002F\u002F Basic fetch\n    const response = await fetch('https:\u002F\u002Fapi.example.com\u002Fdata');\n\n    \u002F\u002F With options\n    const postResponse = await fetch('https:\u002F\u002Fapi.example.com\u002Fusers', {\n      method: 'POST',\n      headers: {\n        'Content-Type': 'application\u002Fjson',\n        'Authorization': `Bearer ${env.API_KEY}`,\n      },\n      body: JSON.stringify({ name: 'John' }),\n    });\n\n    \u002F\u002F Clone for multiple reads\n    const clone = response.clone();\n    const json = await response.json();\n    const text = await clone.text();\n\n    return Response.json(json);\n  }\n};\n```\n\n## Critical Rules\n\n1. **Always set timeouts for external requests** - Workers have a 30s limit, external APIs can hang\n2. **Clone responses before reading body** - Body can only be read once\n3. **Use streaming for large payloads** - Don't buffer entire response in memory\n4. **Cache external API responses** - Reduce latency and API costs\n5. **Handle Crypto operations in try\u002Fcatch** - Invalid inputs throw errors\n6. **WebSocket hibernation for cost** - Use Durable Objects with hibernation\n\n## Top 10 Errors Prevented\n\n| Error | Symptom | Prevention |\n|-------|---------|------------|\n| Body already read | `TypeError: Body has already been consumed` | Clone response before reading |\n| Fetch timeout | Request hangs, worker times out | Use `AbortController` with timeout |\n| Invalid JSON | `SyntaxError: Unexpected token` | Check content-type before parsing |\n| Stream locked | `TypeError: ReadableStream is locked` | Don't read stream multiple times |\n| Crypto key error | `DOMException: Invalid keyData` | Validate key format and algorithm |\n| Cache miss | Returns `undefined` instead of response | Check cache before returning |\n| WebSocket close | Connection drops unexpectedly | Handle close event, implement reconnect |\n| Encoding error | `TypeError: Invalid code point` | Use TextEncoder\u002FTextDecoder properly |\n| CORS blocked | Browser rejects response | Add proper CORS headers |\n| Request size | `413 Request Entity Too Large` | Stream large uploads |\n\n## Fetch API Patterns\n\n### With Timeout\n\n```typescript\nasync function fetchWithTimeout(url: string, timeout: number = 5000): Promise\u003CResponse> {\n  const controller = new AbortController();\n  const timeoutId = setTimeout(() => controller.abort(), timeout);\n\n  try {\n    const response = await fetch(url, { signal: controller.signal });\n    return response;\n  } finally {\n    clearTimeout(timeoutId);\n  }\n}\n```\n\n### With Retry\n\n```typescript\nasync function fetchWithRetry(\n  url: string,\n  options: RequestInit = {},\n  retries: number = 3\n): Promise\u003CResponse> {\n  for (let i = 0; i \u003C retries; i++) {\n    try {\n      const response = await fetch(url, options);\n      if (response.ok) return response;\n\n      \u002F\u002F Retry on 5xx errors\n      if (response.status >= 500 && i \u003C retries - 1) {\n        await new Promise(r => setTimeout(r, Math.pow(2, i) * 1000));\n        continue;\n      }\n\n      return response;\n    } catch (error) {\n      if (i === retries - 1) throw error;\n      await new Promise(r => setTimeout(r, Math.pow(2, i) * 1000));\n    }\n  }\n  throw new Error('Max retries exceeded');\n}\n```\n\n## Streams API\n\n### Transform Stream\n\n```typescript\nfunction createUppercaseStream(): TransformStream\u003Cstring, string> {\n  return new TransformStream({\n    transform(chunk, controller) {\n      controller.enqueue(chunk.toUpperCase());\n    }\n  });\n}\n\n\u002F\u002F Usage\nconst response = await fetch('https:\u002F\u002Fexample.com\u002Ftext');\nconst transformed = response.body!\n  .pipeThrough(new TextDecoderStream())\n  .pipeThrough(createUppercaseStream())\n  .pipeThrough(new TextEncoderStream());\n\nreturn new Response(transformed);\n```\n\n### Stream Large Response\n\n```typescript\nasync function streamLargeFile(url: string): Promise\u003CResponse> {\n  const response = await fetch(url);\n\n  \u002F\u002F Stream directly without buffering\n  return new Response(response.body, {\n    headers: {\n      'Content-Type': response.headers.get('Content-Type') || 'application\u002Foctet-stream',\n    },\n  });\n}\n```\n\n## Crypto API\n\n### Hashing\n\n```typescript\nasync function sha256(data: string): Promise\u003Cstring> {\n  const encoder = new TextEncoder();\n  const dataBuffer = encoder.encode(data);\n  const hashBuffer = await crypto.subtle.digest('SHA-256', dataBuffer);\n  const hashArray = Array.from(new Uint8Array(hashBuffer));\n  return hashArray.map(b => b.toString(16).padStart(2, '0')).join('');\n}\n```\n\n### HMAC Signing\n\n```typescript\nasync function signHMAC(key: string, data: string): Promise\u003Cstring> {\n  const encoder = new TextEncoder();\n  const keyData = encoder.encode(key);\n  const dataBuffer = encoder.encode(data);\n\n  const cryptoKey = await crypto.subtle.importKey(\n    'raw',\n    keyData,\n    { name: 'HMAC', hash: 'SHA-256' },\n    false,\n    ['sign']\n  );\n\n  const signature = await crypto.subtle.sign('HMAC', cryptoKey, dataBuffer);\n  return btoa(String.fromCharCode(...new Uint8Array(signature)));\n}\n```\n\n## Cache API\n\n```typescript\nexport default {\n  async fetch(request: Request, env: Env, ctx: ExecutionContext): Promise\u003CResponse> {\n    const cache = caches.default;\n    const cacheKey = new Request(request.url, { method: 'GET' });\n\n    \u002F\u002F Check cache\n    let response = await cache.match(cacheKey);\n    if (response) {\n      return response;\n    }\n\n    \u002F\u002F Fetch and cache\n    response = await fetch(request);\n    response = new Response(response.body, response);\n    response.headers.set('Cache-Control', 'public, max-age=3600');\n\n    \u002F\u002F Store in cache (don't await)\n    ctx.waitUntil(cache.put(cacheKey, response.clone()));\n\n    return response;\n  }\n};\n```\n\n## WebSockets (Durable Objects)\n\n```typescript\n\u002F\u002F Durable Object with WebSocket hibernation\nexport class WebSocketRoom {\n  state: DurableObjectState;\n\n  constructor(state: DurableObjectState) {\n    this.state = state;\n  }\n\n  async fetch(request: Request): Promise\u003CResponse> {\n    const upgradeHeader = request.headers.get('Upgrade');\n    if (upgradeHeader !== 'websocket') {\n      return new Response('Expected websocket', { status: 426 });\n    }\n\n    const pair = new WebSocketPair();\n    const [client, server] = Object.values(pair);\n\n    \u002F\u002F Accept with hibernation\n    this.state.acceptWebSocket(server);\n\n    return new Response(null, { status: 101, webSocket: client });\n  }\n\n  async webSocketMessage(ws: WebSocket, message: string | ArrayBuffer) {\n    \u002F\u002F Handle incoming message\n    const data = typeof message === 'string' ? message : new TextDecoder().decode(message);\n\n    \u002F\u002F Broadcast to all connected clients\n    for (const client of this.state.getWebSockets()) {\n      client.send(data);\n    }\n  }\n\n  async webSocketClose(ws: WebSocket, code: number, reason: string) {\n    ws.close(code, reason);\n  }\n}\n```\n\n## When to Load References\n\nLoad specific references based on the task:\n\n- **Making HTTP requests?** → Load `references\u002Ffetch-api.md` for timeout, retry, proxy patterns\n- **Processing large data?** → Load `references\u002Fstreams-api.md` for TransformStream, chunking\n- **Encryption\u002Fsigning?** → Load `references\u002Fcrypto-api.md` for AES, RSA, JWT verification\n- **Caching responses?** → Load `references\u002Fcache-api.md` for Cache API patterns, TTL strategies\n- **Real-time features?** → Load `references\u002Fwebsockets.md` for WebSocket patterns, Durable Objects\n- **Text encoding?** → Load `references\u002Fencoding-api.md` for TextEncoder, Base64, Unicode\n\n## Templates\n\n| Template | Purpose | Use When |\n|----------|---------|----------|\n| `templates\u002Ffetch-patterns.ts` | HTTP request utilities | Building API clients |\n| `templates\u002Fstream-processing.ts` | Stream transformation | Processing large files |\n| `templates\u002Fcrypto-operations.ts` | Crypto utilities | Signing, hashing, encryption |\n| `templates\u002Fwebsocket-handler.ts` | WebSocket DO | Real-time applications |\n\n## Resources\n\n- Runtime APIs: https:\u002F\u002Fdevelopers.cloudflare.com\u002Fworkers\u002Fruntime-apis\u002F\n- Fetch API: https:\u002F\u002Fdevelopers.cloudflare.com\u002Fworkers\u002Fruntime-apis\u002Ffetch\u002F\n- Streams API: https:\u002F\u002Fdevelopers.cloudflare.com\u002Fworkers\u002Fruntime-apis\u002Fstreams\u002F\n- Web Crypto: https:\u002F\u002Fdevelopers.cloudflare.com\u002Fworkers\u002Fruntime-apis\u002Fweb-crypto\u002F\n- Cache API: https:\u002F\u002Fdevelopers.cloudflare.com\u002Fworkers\u002Fruntime-apis\u002Fcache\u002F\n- WebSockets: https:\u002F\u002Fdevelopers.cloudflare.com\u002Fworkers\u002Fruntime-apis\u002Fwebsockets\u002F\n",{"name":5,"license":14,"description":7},"main","9f54582c8b485462d402d7e70feaef34801746b9",".opencode\u002Fskill\u002Fclaude-skills\u002Fplugins\u002Fcloudflare-workers\u002Fskills\u002Fcloudflare-workers-runtime-apis","https:\u002F\u002Fgithub.com\u002Faibizmod\u002Faibizmod-service-web","https:\u002F\u002Fgithub.com\u002Faibizmod","2026-09-24 00:48:11",{"source":8,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add aibizmod\u002Faibizmod-service-web --skill cloudflare-workers-runtime-apis",{"tool":35,"command":36},"bunx","bunx skills add aibizmod\u002Faibizmod-service-web --skill cloudflare-workers-runtime-apis",{"tool":38,"command":39},"pnpm","pnpm dlx skills add aibizmod\u002Faibizmod-service-web --skill cloudflare-workers-runtime-apis","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Faibizmod\u002Faibizmod-service-web\u002Fblob\u002Fmain\u002F.opencode\u002Fskill\u002Fclaude-skills\u002Fplugins\u002Fcloudflare-workers\u002Fskills\u002Fcloudflare-workers-runtime-apis\u002FSKILL.md",true,[43,49,53,57,61,65,69,75,79,83],{"path":44,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":47,"sourceHtmlUrl":48},"references\u002Fcache-api.md","REFERENCE","参考文档",7072,"https:\u002F\u002Fgithub.com\u002Faibizmod\u002Faibizmod-service-web\u002Fblob\u002Fmain\u002F.opencode\u002Fskill\u002Fclaude-skills\u002Fplugins\u002Fcloudflare-workers\u002Fskills\u002Fcloudflare-workers-runtime-apis\u002Freferences\u002Fcache-api.md",{"path":50,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":51,"sourceHtmlUrl":52},"references\u002Fcrypto-api.md",8949,"https:\u002F\u002Fgithub.com\u002Faibizmod\u002Faibizmod-service-web\u002Fblob\u002Fmain\u002F.opencode\u002Fskill\u002Fclaude-skills\u002Fplugins\u002Fcloudflare-workers\u002Fskills\u002Fcloudflare-workers-runtime-apis\u002Freferences\u002Fcrypto-api.md",{"path":54,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":55,"sourceHtmlUrl":56},"references\u002Fencoding-api.md",7610,"https:\u002F\u002Fgithub.com\u002Faibizmod\u002Faibizmod-service-web\u002Fblob\u002Fmain\u002F.opencode\u002Fskill\u002Fclaude-skills\u002Fplugins\u002Fcloudflare-workers\u002Fskills\u002Fcloudflare-workers-runtime-apis\u002Freferences\u002Fencoding-api.md",{"path":58,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":59,"sourceHtmlUrl":60},"references\u002Ffetch-api.md",8699,"https:\u002F\u002Fgithub.com\u002Faibizmod\u002Faibizmod-service-web\u002Fblob\u002Fmain\u002F.opencode\u002Fskill\u002Fclaude-skills\u002Fplugins\u002Fcloudflare-workers\u002Fskills\u002Fcloudflare-workers-runtime-apis\u002Freferences\u002Ffetch-api.md",{"path":62,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":63,"sourceHtmlUrl":64},"references\u002Fstreams-api.md",9129,"https:\u002F\u002Fgithub.com\u002Faibizmod\u002Faibizmod-service-web\u002Fblob\u002Fmain\u002F.opencode\u002Fskill\u002Fclaude-skills\u002Fplugins\u002Fcloudflare-workers\u002Fskills\u002Fcloudflare-workers-runtime-apis\u002Freferences\u002Fstreams-api.md",{"path":66,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":67,"sourceHtmlUrl":68},"references\u002Fwebsockets.md",8861,"https:\u002F\u002Fgithub.com\u002Faibizmod\u002Faibizmod-service-web\u002Fblob\u002Fmain\u002F.opencode\u002Fskill\u002Fclaude-skills\u002Fplugins\u002Fcloudflare-workers\u002Fskills\u002Fcloudflare-workers-runtime-apis\u002Freferences\u002Fwebsockets.md",{"path":70,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":73,"sourceHtmlUrl":74},"templates\u002Fcrypto-operations.ts","SCRIPT","脚本",9120,"https:\u002F\u002Fgithub.com\u002Faibizmod\u002Faibizmod-service-web\u002Fblob\u002Fmain\u002F.opencode\u002Fskill\u002Fclaude-skills\u002Fplugins\u002Fcloudflare-workers\u002Fskills\u002Fcloudflare-workers-runtime-apis\u002Ftemplates\u002Fcrypto-operations.ts",{"path":76,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":77,"sourceHtmlUrl":78},"templates\u002Ffetch-patterns.ts",8756,"https:\u002F\u002Fgithub.com\u002Faibizmod\u002Faibizmod-service-web\u002Fblob\u002Fmain\u002F.opencode\u002Fskill\u002Fclaude-skills\u002Fplugins\u002Fcloudflare-workers\u002Fskills\u002Fcloudflare-workers-runtime-apis\u002Ftemplates\u002Ffetch-patterns.ts",{"path":80,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":81,"sourceHtmlUrl":82},"templates\u002Fstream-processing.ts",8984,"https:\u002F\u002Fgithub.com\u002Faibizmod\u002Faibizmod-service-web\u002Fblob\u002Fmain\u002F.opencode\u002Fskill\u002Fclaude-skills\u002Fplugins\u002Fcloudflare-workers\u002Fskills\u002Fcloudflare-workers-runtime-apis\u002Ftemplates\u002Fstream-processing.ts",{"path":84,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":85,"sourceHtmlUrl":86},"templates\u002Fwebsocket-handler.ts",8789,"https:\u002F\u002Fgithub.com\u002Faibizmod\u002Faibizmod-service-web\u002Fblob\u002Fmain\u002F.opencode\u002Fskill\u002Fclaude-skills\u002Fplugins\u002Fcloudflare-workers\u002Fskills\u002Fcloudflare-workers-runtime-apis\u002Ftemplates\u002Fwebsocket-handler.ts",[88,95,102,109,116,123],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":18},"01M7846EAPZWCQ8C6G3AAMMR57","{TODO=lowercase-hyphen-case-name}","[TODO: Write comprehensive description in third-person. Start with \"This skill provides...\" or \"This skill should be used when...\"]\n\n[TODO: Add \"Use when\" scenarios - specific situations where Claude should use this skill]\n\n[TODO: Add keywords - technologies, use cases, error messages that should trigger this skill]","https:\u002F\u002Fgithub.com\u002Faibizmod\u002Faibizmod-service-web\u002Fblob\u002Fmain\u002F.opencode\u002Fskill\u002Fclaude-skills\u002Ftemplates\u002Fskill-skeleton\u002Fskills\u002Fskill-name\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":18},"01M7846A0WGDKJTDPD5QMHQVFV","zustand-state-management","Zustand state management for React with TypeScript. Use for global state, Redux\u002FContext API migration, localStorage persistence, slices pattern, devtools, Next.js SSR, or encountering hydration errors, TypeScript inference issues, persist middleware problems, infinite render loops.","https:\u002F\u002Fgithub.com\u002Faibizmod\u002Faibizmod-service-web\u002Fblob\u002Fmain\u002F.opencode\u002Fskill\u002Fclaude-skills\u002Fplugins\u002Fzustand-state-management\u002Fskills\u002Fzustand-state-management\u002FSKILL.md",[],[],{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":18},"01M78463GGSP9B3JSF146B2MG0","zod","TypeScript-first schema validation and type inference. Use for validating API requests\u002Fresponses, form data, env vars, configs, defining type-safe schemas with runtime validation, transforming data, generating JSON Schema for OpenAPI\u002FAI, or encountering missing validation errors, type inference issues, validation error handling problems. Zero dependencies (2kb gzipped).","https:\u002F\u002Fgithub.com\u002Faibizmod\u002Faibizmod-service-web\u002Fblob\u002Fmain\u002F.opencode\u002Fskill\u002Fclaude-skills\u002Fplugins\u002Fzod\u002Fskills\u002Fzod\u002FSKILL.md",[],[],{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":18},"01M7845ZX17SVNNY7EDGPJHSBT","xss-prevention","XSS attack prevention with input sanitization, output encoding, Content Security Policy. Use for user-generated content, rich text editors, web application security, or encountering stored XSS, reflected XSS, DOM manipulation, script injection errors.","https:\u002F\u002Fgithub.com\u002Faibizmod\u002Faibizmod-service-web\u002Fblob\u002Fmain\u002F.opencode\u002Fskill\u002Fclaude-skills\u002Fplugins\u002Fxss-prevention\u002Fskills\u002Fxss-prevention\u002FSKILL.md",[],[],{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":18},"01M7845ST1H37YHSXWWQ9N0V0S","wordpress-plugin-core","WordPress plugin development with hooks, security, REST API, custom post types. Use for plugin creation, $wpdb queries, Settings API, or encountering SQL injection, XSS, CSRF, nonce errors.","https:\u002F\u002Fgithub.com\u002Faibizmod\u002Faibizmod-service-web\u002Fblob\u002Fmain\u002F.opencode\u002Fskill\u002Fclaude-skills\u002Fplugins\u002Fwordpress-plugin-core\u002Fskills\u002Fwordpress-plugin-core\u002FSKILL.md",[],[],{"skillNo":124,"name":125,"nameZh":6,"description":126,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":127,"categories":128,"keywords":129,"publishedAt":18},"01M7845PTWD5HWSTGP35Q8TFNY","woocommerce-dev-cycle","Run tests, linting, and quality checks for WooCommerce development. Use when running tests, fixing code style, or following the development workflow in WooCommerce projects.","https:\u002F\u002Fgithub.com\u002Faibizmod\u002Faibizmod-service-web\u002Fblob\u002Fmain\u002F.opencode\u002Fskill\u002Fclaude-skills\u002Fplugins\u002Fwoocommerce-dev-cycle\u002Fskills\u002Fwoocommerce-dev-cycle\u002FSKILL.md",[],[]]