Skills for Claude Code CLI such as full stack dev Cloudflare, React, Tailwind v4, and AI integrations.
Python aianthropicautomationclaude-codeclaude-skillscloudflaredevtoolsproductivityreactskillstailwindvite
refactor(cloudflare): Batch optimize skills #11-20 descriptions
Jezb46c30194a74
diff --git a/skills/cloudflare-browser-rendering/SKILL.md b/skills/cloudflare-browser-rendering/SKILL.mdindex a98debbd..99b7cc00 100644--- a/skills/cloudflare-browser-rendering/SKILL.md+++ b/skills/cloudflare-browser-rendering/SKILL.md@@ -1,23 +1,7 @@---name: cloudflare-browser-renderingdescription: |- Complete knowledge domain for Cloudflare Browser Rendering - Headless Chrome automation- with Puppeteer and Playwright on Cloudflare Workers for screenshots, PDFs, web scraping,- and browser automation workflows.-- Use when: taking screenshots, generating PDFs from HTML or URLs, web scraping content,- crawling websites, browser automation tasks, testing web applications, managing browser sessions,- performing batch browser operations, integrating with AI for content extraction, or encountering- browser rendering errors, XPath selector errors, browser timeout issues, concurrency limits,- memory exceeded errors, or "Cannot read properties of undefined (reading 'fetch')" errors.-- Keywords: browser rendering cloudflare, @cloudflare/puppeteer, @cloudflare/playwright,- puppeteer workers, playwright workers, screenshot cloudflare, pdf generation workers,- web scraping cloudflare, headless chrome workers, browser automation, puppeteer.launch,- playwright.chromium.launch, browser binding, session management, puppeteer.sessions,- puppeteer.connect, browser.close, browser.disconnect, XPath not supported, browser timeout,- concurrency limit, keep_alive, page.screenshot, page.pdf, page.goto, page.evaluate,- incognito context, session reuse, batch scraping, crawling websites+ Add headless Chrome automation with Puppeteer/Playwright on Cloudflare Workers. Use when: taking screenshots, generating PDFs, web scraping, crawling sites, browser automation, or troubleshooting XPath errors, browser timeouts, binding not passed errors, or session limits.license: MIT---diff --git a/skills/cloudflare-d1/SKILL.md b/skills/cloudflare-d1/SKILL.mdindex 5938c91e..887e5642 100644--- a/skills/cloudflare-d1/SKILL.md+++ b/skills/cloudflare-d1/SKILL.md@@ -1,16 +1,7 @@---name: cloudflare-d1description: |- Complete knowledge domain for Cloudflare D1 - serverless SQLite database on Cloudflare's edge network.-- Use when: creating D1 databases, writing SQL migrations, configuring D1 bindings, querying D1 from Workers,- handling SQLite data, building relational data models, or encountering "D1_ERROR", "statement too long",- "too many requests queued", migration failures, or query performance issues.-- Keywords: d1, d1 database, cloudflare d1, wrangler d1, d1 migrations, d1 bindings, sqlite workers,- serverless database, edge database, d1 queries, sql cloudflare, prepared statements, batch queries,- d1 api, wrangler migrations, D1_ERROR, D1_EXEC_ERROR, statement too long, database bindings,- sqlite cloudflare, sql workers api, d1 indexes, query optimization, d1 schema+ Build with D1 serverless SQLite database on Cloudflare's edge. Use when: creating databases, writing SQL migrations, querying D1 from Workers, handling relational data, or troubleshooting D1_ERROR, statement too long, migration failures, or query performance issues.license: MIT---diff --git a/skills/cloudflare-durable-objects/SKILL.md b/skills/cloudflare-durable-objects/SKILL.mdindex b658f3f4..c0f10080 100644--- a/skills/cloudflare-durable-objects/SKILL.md+++ b/skills/cloudflare-durable-objects/SKILL.md@@ -1,13 +1,7 @@---name: cloudflare-durable-objectsdescription: |- Comprehensive guide for Cloudflare Durable Objects - globally unique, stateful objects for coordination, real-time communication, and persistent state management.-- Use when: building real-time applications, creating WebSocket servers with hibernation, implementing chat rooms or multiplayer games, coordinating between multiple clients, managing per-user or per-room state, implementing rate limiting or session management, scheduling tasks with alarms, building queues or workflows, or encountering "do class export", "new_sqlite_classes", "migrations required", "websocket hibernation", "alarm api error", or "global uniqueness" errors.-- Prevents 15+ documented issues: class not exported, missing migrations, wrong migration type, constructor overhead blocking hibernation, setTimeout breaking hibernation, in-memory state lost on hibernation, outgoing WebSocket not hibernating, global uniqueness confusion, partial deleteAll on KV backend, binding name mismatches, state size limits exceeded, non-atomic migrations, location hints misunderstood, alarm retry failures, and fetch calls blocking hibernation.-- Keywords: durable objects, cloudflare do, DurableObject class, do bindings, websocket hibernation, do state api, ctx.storage.sql, ctx.acceptWebSocket, webSocketMessage, alarm() handler, storage.setAlarm, idFromName, newUniqueId, getByName, DurableObjectStub, serializeAttachment, real-time cloudflare, multiplayer cloudflare, chat room workers, coordination cloudflare, stateful workers, new_sqlite_classes, do migrations, location hints, RPC methods, blockConcurrencyWhile, "do class export", "new_sqlite_classes", "migrations required", "websocket hibernation", "alarm api error", "global uniqueness", "binding not found"+ Build stateful Durable Objects for real-time apps, WebSocket servers, coordination, and persistent state. Use when: implementing chat rooms, multiplayer games, rate limiting, session management, WebSocket hibernation, or troubleshooting class export, migration, WebSocket state loss, or binding errors.license: MIT---diff --git a/skills/cloudflare-hyperdrive/SKILL.md b/skills/cloudflare-hyperdrive/SKILL.mdindex 70f137ff..634029b1 100644--- a/skills/cloudflare-hyperdrive/SKILL.md+++ b/skills/cloudflare-hyperdrive/SKILL.md@@ -1,11 +1,7 @@---name: cloudflare-hyperdrivedescription: |- Complete knowledge domain for Cloudflare Hyperdrive - connecting Cloudflare Workers to existing PostgreSQL and MySQL databases with global connection pooling, query caching, and reduced latency.-- Use when: connecting Workers to existing databases, migrating PostgreSQL/MySQL to Cloudflare, setting up connection pooling, configuring Hyperdrive bindings, using node-postgres/postgres.js/mysql2 drivers, integrating Drizzle ORM or Prisma ORM, or encountering "Failed to acquire a connection from the pool", "TLS not supported by the database", "connection refused", "nodejs_compat missing", "Code generation from strings disallowed", or Hyperdrive configuration errors.-- Keywords: hyperdrive, cloudflare hyperdrive, workers hyperdrive, postgres workers, mysql workers, connection pooling, query caching, node-postgres, pg, postgres.js, mysql2, drizzle hyperdrive, prisma hyperdrive, workers rds, workers aurora, workers neon, workers supabase, database acceleration, hybrid architecture, cloudflare tunnel database, wrangler hyperdrive, hyperdrive bindings, local development hyperdrive+ Connect Workers to PostgreSQL/MySQL with Hyperdrive's global pooling and caching. Use when: connecting to existing databases, setting up connection pools, using node-postgres/mysql2, integrating Drizzle/Prisma, or troubleshooting pool acquisition failures, TLS errors, nodejs_compat missing, or eval() disallowed.license: MIT---diff --git a/skills/cloudflare-images/SKILL.md b/skills/cloudflare-images/SKILL.mdindex 1cd07470..38b146f4 100644--- a/skills/cloudflare-images/SKILL.md+++ b/skills/cloudflare-images/SKILL.md@@ -1,11 +1,7 @@---name: cloudflare-imagesdescription: |- This skill provides comprehensive knowledge for Cloudflare Images, covering both the Images API (upload/storage) and Image Transformations (optimize any image). It should be used when uploading images to Cloudflare, resizing images, optimizing image delivery, implementing direct creator uploads, creating image variants, generating signed URLs for private images, transforming images via Workers, or encountering image upload/transformation errors.-- Use when: setting up Cloudflare Images storage, implementing user-uploaded images, creating responsive images, optimizing image formats (WebP/AVIF), resizing images via URL or Workers, debugging CORS errors with direct uploads, handling image transformation errors (9401-9413), implementing signed URLs, managing image variants, or building image CDNs.-- Keywords: cloudflare images, image upload cloudflare, imagedelivery.net, cloudflare image transformations, /cdn-cgi/image/, direct creator upload, image variants, cf.image workers, signed urls images, flexible variants, webp avif conversion, responsive images cloudflare, error 5408, error 9401, error 9403, CORS direct upload, multipart/form-data, image optimization cloudflare+ Store and transform images with Cloudflare Images API and transformations. Use when: uploading images, implementing direct creator uploads, creating variants, generating signed URLs, optimizing formats (WebP/AVIF), transforming via Workers, or debugging CORS, multipart, or error codes 9401-9413.license: MIT---diff --git a/skills/cloudflare-kv/SKILL.md b/skills/cloudflare-kv/SKILL.mdindex 3b487ab0..61e5b157 100644--- a/skills/cloudflare-kv/SKILL.md+++ b/skills/cloudflare-kv/SKILL.md@@ -1,15 +1,7 @@---name: cloudflare-kvdescription: |- Complete knowledge domain for Cloudflare Workers KV - global, low-latency key-value storage on Cloudflare's edge network.-- Use when: creating KV namespaces, storing configuration data, caching API responses, managing user preferences,- implementing TTL expiration, handling KV metadata, or encountering "KV_ERROR", "429 too many requests",- "kv rate limit", cacheTtl errors, or eventual consistency issues.-- Keywords: kv storage, cloudflare kv, workers kv, kv namespace, kv bindings, kv cache, kv ttl, kv metadata,- kv list, kv pagination, cache optimization, edge caching, KV_ERROR, 429 too many requests, kv rate limit,- eventually consistent, wrangler kv, kv operations, key value storage+ Store key-value data globally with Cloudflare KV's edge network. Use when: caching API responses, storing configuration, managing user preferences, handling TTL expiration, or troubleshooting KV_ERROR, 429 rate limits, eventual consistency, or cacheTtl errors.license: MIT---diff --git a/skills/cloudflare-mcp-server/SKILL.md b/skills/cloudflare-mcp-server/SKILL.mdindex a95463d9..ad74862a 100644--- a/skills/cloudflare-mcp-server/SKILL.md+++ b/skills/cloudflare-mcp-server/SKILL.md@@ -1,9 +1,7 @@---name: cloudflare-mcp-serverdescription: |- Use this skill when building Model Context Protocol (MCP) servers on Cloudflare Workers. This skill should be used when deploying remote MCP servers with TypeScript, implementing OAuth authentication (GitHub, Google, Azure, etc.), using Durable Objects for stateful MCP servers, implementing WebSocket hibernation for cost optimization, or configuring dual transport methods (SSE + Streamable HTTP). The skill prevents 22+ common errors including URL path mismatches, transport configuration mistakes, McpAgent class export issues, OAuth redirect URI mismatches, WebSocket state loss, Durable Objects binding errors, and CORS configuration mistakes. Includes production-tested templates for basic MCP servers, OAuth proxy integration, stateful servers with Durable Objects, and complete wrangler.jsonc configurations. Covers all 4 authentication patterns: token validation, remote OAuth with DCR, OAuth proxy (workers-oauth-provider), and full OAuth provider implementation. Self-contained with Worker and Durable Objects basics. Token efficiency: ~88% savings (55k → 6k tokens). Production tested on Cloudflare's official MCP servers.-- Keywords: MCP server, Model Context Protocol, cloudflare mcp, mcp workers, remote mcp server, mcp typescript, @modelcontextprotocol/sdk, mcp oauth, mcp authentication, github oauth mcp, durable objects mcp, websocket hibernation, mcp sse, streamable http, McpAgent class, mcp tools, mcp resources, mcp prompts, oauth proxy, workers-oauth-provider, mcp deployment, McpAgent export error, OAuth redirect URI, WebSocket state loss, mcp cors, mcp dcr, URL path configuration, HTTP transport setup, SSE routing, base path mismatches, transport endpoints, MCP connection errors, pathname.startsWith(), transport type confusion, CORS preflight, OPTIONS handler+ Build Model Context Protocol servers on Cloudflare Workers with OAuth and Durable Objects. Use when: deploying remote MCP servers, implementing GitHub/Google OAuth, using WebSocket hibernation, supporting dual transports (SSE + HTTP), or troubleshooting URL path mismatches, McpAgent export, OAuth redirects, or CORS.license: MITallowed-tools: ["Read", "Write", "Edit", "Bash", "Glob", "Grep"]metadata:diff --git a/skills/cloudflare-queues/SKILL.md b/skills/cloudflare-queues/SKILL.mdindex f732b38a..a410c2ce 100644--- a/skills/cloudflare-queues/SKILL.md+++ b/skills/cloudflare-queues/SKILL.md@@ -1,16 +1,7 @@---name: cloudflare-queuesdescription: |- Complete knowledge domain for Cloudflare Queues - flexible message queue for asynchronous processing- and background tasks on Cloudflare Workers.-- Use when: creating message queues, async processing, background jobs, batch processing, handling retries,- configuring dead letter queues, implementing consumer concurrency, or encountering "queue timeout",- "batch retry", "message lost", "throughput exceeded", "consumer not scaling" errors.-- Keywords: cloudflare queues, queues workers, message queue, queue bindings, async processing,- background jobs, queue consumer, queue producer, batch processing, dead letter queue, dlq,- message retry, queue ack, consumer concurrency, queue backlog, wrangler queues+ Build async message queues with Cloudflare Queues for background processing. Use when: handling async tasks, batch processing, implementing retries, configuring dead letter queues, managing consumer concurrency, or troubleshooting queue timeout, batch retry, message loss, or throughput exceeded.license: MIT---diff --git a/skills/cloudflare-r2/SKILL.md b/skills/cloudflare-r2/SKILL.mdindex 95d97128..0bfdcb0a 100644--- a/skills/cloudflare-r2/SKILL.md+++ b/skills/cloudflare-r2/SKILL.md@@ -1,17 +1,7 @@---name: cloudflare-r2description: |- Complete knowledge domain for Cloudflare R2 - S3-compatible object storage on Cloudflare's edge network.-- Use when: creating R2 buckets, uploading files to R2, downloading objects, configuring R2 bindings,- setting up CORS, generating presigned URLs, multipart uploads, storing images/assets, managing object- metadata, or encountering "R2_ERROR", CORS errors, presigned URL failures, multipart upload issues,- or storage quota errors.-- Keywords: r2, r2 storage, cloudflare r2, r2 bucket, r2 upload, r2 download, r2 binding, object storage,- s3 compatible, r2 cors, presigned urls, multipart upload, r2 api, r2 workers, file upload, asset storage,- R2_ERROR, R2Bucket, r2 metadata, custom metadata, http metadata, content-type, cache-control,- aws4fetch, s3 client, bulk delete, r2 list, storage class+ Store objects with R2's S3-compatible storage on Cloudflare's edge. Use when: uploading/downloading files, configuring CORS, generating presigned URLs, multipart uploads, managing metadata, or troubleshooting R2_ERROR, CORS failures, presigned URL issues, or quota errors.license: MIT---diff --git a/skills/cloudflare-turnstile/SKILL.md b/skills/cloudflare-turnstile/SKILL.mdindex c6d04723..08eaae58 100644--- a/skills/cloudflare-turnstile/SKILL.md+++ b/skills/cloudflare-turnstile/SKILL.md@@ -1,11 +1,7 @@---name: cloudflare-turnstiledescription: |- This skill provides comprehensive knowledge for implementing Cloudflare Turnstile, the CAPTCHA-alternative bot protection system. It should be used when integrating bot protection into forms, login pages, signup flows, or any user-facing feature requiring spam/bot prevention. Turnstile runs invisible challenges in the background, maintaining excellent user experience while blocking automated traffic.-- Use when: Adding bot protection to forms, implementing login security, protecting API endpoints from abuse, migrating from reCAPTCHA/hCaptcha, encountering CSP errors with Turnstile, handling token validation failures, implementing E2E tests with Turnstile, integrating with React/Next.js/Hono applications, or debugging error codes 100*, 300*, 600*.-- Keywords: turnstile, captcha, bot protection, cloudflare challenge, siteverify, recaptcha alternative, spam prevention, form protection, cf-turnstile, turnstile widget, token validation, managed challenge, invisible challenge, @marsidev/react-turnstile, hono turnstile, workers turnstile+ Add bot protection with Turnstile (CAPTCHA alternative). Use when: protecting forms, securing login/signup, preventing spam, migrating from reCAPTCHA, integrating with React/Next.js/Hono, implementing E2E tests, or debugging CSP errors, token validation failures, or error codes 100*/300*/600*.license: MIT---