{"enrichment":{"faq":[{"a":"cloudflare-workers-runtime-apis provides the Fetch API for making HTTP requests. Use the `fetch()` function to send requests and handle responses. You can set headers, configure timeouts with `AbortController`, implement retry patterns, and process response bodies as text, JSON, or streams. The Fetch API is the primary method for outbound HTTP communication in Workers.","q":"How to make HTTP requests in cloudflare workers?"},{"a":"cloudflare-workers-runtime-apis includes the Crypto API for hashing, signing, and encryption. Perform HMAC signing, SHA hashing, and other cryptographic operations using the Web Crypto standard. These operations are useful for authentication, data integrity verification, and secure transformations within your Workers scripts.","q":"What cryptographic operations does cloudflare-workers-runtime-apis support?"},{"a":"cloudflare-workers-runtime-apis enables WebSocket connections paired with Durable Objects for real-time functionality. Use WebSocket hibernation to maintain persistent connections efficiently, and leverage Durable Objects as a coordination layer for state management and message broadcasting across multiple client connections.","q":"How do I implement real-time features using WebSockets and Durable Objects?"},{"a":"cloudflare-workers-runtime-apis provides the Streams API for handling large payloads efficiently. Use `ReadableStream` and `TransformStream` to process data incrementally without loading entire files into memory. Combine streaming with the Cache API to optimize response delivery and reduce bandwidth consumption.","q":"What's the best way to process large data streams in cloudflare workers?"},{"a":"cloudflare-workers-runtime-apis includes the Cache API for response optimization. Store and retrieve cached responses using cache keys, set appropriate TTLs, and implement cache invalidation strategies. This reduces origin requests and improves performance for frequently accessed content.","q":"How can I optimize response caching in cloudflare-workers-runtime-apis?"},{"a":"cloudflare-workers-runtime-apis documentation covers preventing errors like \"body already read\" when accessing request/response bodies multiple times. Use proper error handling for fetch timeouts, AbortController signals, and stream processing failures. Implement defensive patterns to avoid runtime exceptions in production Workers.","q":"What common runtime errors should I prevent in cloudflare workers?"}],"shadow_tags":["http-client-utilities","real-time-communication","cryptographic-operations","response-optimization","data-transformation","error-prevention","performance-patterns","request-handling","binary-data-processing","api-integration"],"summary_rewrite":"Learn the core runtime APIs that power Cloudflare Workers development. This skill covers Fetch for making and handling HTTP requests, Streams for processing large payloads efficiently, Crypto for hashing and signing operations, Cache for response optimization, WebSockets for real-time connections, and text encoding utilities. Includes patterns for timeouts, retries, and error prevention."},"files":[{"bytes":9223,"path":"plugins/cloudflare-workers/skills/cloudflare-workers-runtime-apis/SKILL.md","sha256":"f4a3c1bed4b318aa17803dae8a48da7f3f3b661dca0f142bb9dcd4b1ab5cd82c","url":"https://skillfed.io/files/secondsky/claude-skills/cloudflare-workers-runtime-apis/da1a2479/SKILL.md"}],"id":"secondsky/claude-skills/cloudflare-workers-runtime-apis","links":{"html":"https://skillfed.io/secondsky/claude-skills/cloudflare-workers-runtime-apis","md":"https://skillfed.io/secondsky/claude-skills/cloudflare-workers-runtime-apis.md","repo":"https://github.com/secondsky/claude-skills"},"meta":{"agents_supported":[],"first_seen":"2026-07-28","forks":29,"language":"TypeScript","last_updated":"2026-07-25","license":"MIT","name":"cloudflare-workers-runtime-apis","publisher":"secondsky","stars":196},"relations":{"similar":[{"id":"secondsky/claude-skills/cloudflare-durable-objects"},{"id":"cloudflare/skills/agents-sdk"},{"id":"secondsky/claude-skills/cloudflare-workers-performance"},{"id":"secondsky/claude-skills/cloudflare-mcp-server"},{"id":"secondsky/claude-skills/cloudflare-workers-security"},{"id":"deepagent-ltd/deepagent-code/agents-sdk"},{"id":"FrancescoStabile/numasec/agents-sdk"},{"id":"shobcoder/shob/agents-sdk"},{"id":"majesticlabs-dev/majestic-marketplace/cloudflare-worker"},{"id":"null-shot/cloudflare-skills/durable-objects"}]},"slug":{"owner":"secondsky","repo":"claude-skills","skill":"cloudflare-workers-runtime-apis"},"version":"da1a2479"}
