Skills for Claude Code CLI such as full stack dev Cloudflare, React, Tailwind v4, and AI integrations.
Python aianthropicautomationclaude-codeclaude-skillscloudflaredevtoolsproductivityreactskillstailwindvite
refactor: Optimize skills #31-40 descriptions (26.9% avg reduction)
Jeza949d7103da7
diff --git a/skills/google-gemini-embeddings/SKILL.md b/skills/google-gemini-embeddings/SKILL.mdindex e2aa87f4..dc7fd53d 100644--- a/skills/google-gemini-embeddings/SKILL.md+++ b/skills/google-gemini-embeddings/SKILL.md@@ -1,9 +1,9 @@---name: google-gemini-embeddingsdescription: |- This skill provides complete coverage of Google Gemini embeddings API (gemini-embedding-001) for building RAG systems, semantic search, document clustering, and similarity matching. Use when implementing vector search with Google's embedding models, integrating with Cloudflare Vectorize, or building retrieval-augmented generation systems. Covers SDK usage (@google/genai), fetch-based Workers implementation, batch processing, 8 task types (RETRIEVAL_QUERY, RETRIEVAL_DOCUMENT, SEMANTIC_SIMILARITY, etc.), dimension optimization (128-3072), and cosine similarity calculations. Prevents 8+ embedding-specific errors including dimension mismatches, incorrect task types, rate limiting issues (100 RPM free tier), vector normalization mistakes, text truncation (2,048 token limit), and model version confusion. Includes production-ready RAG patterns with Cloudflare Vectorize integration, chunking strategies, and caching patterns. Token savings: ~60%. Production tested.+ Build RAG systems, semantic search, and document clustering with Gemini embeddings API (gemini-embedding-001). Generate 768-3072 dimension embeddings for vector search, integrate with Cloudflare Vectorize, and use 8 task types (RETRIEVAL_QUERY, RETRIEVAL_DOCUMENT, SEMANTIC_SIMILARITY) for optimized retrieval.- Keywords: gemini embeddings, gemini-embedding-001, google embeddings, semantic search, RAG, vector search, document clustering, similarity search, retrieval augmented generation, vectorize integration, cloudflare vectorize embeddings, 768 dimensions, embed content gemini, batch embeddings, embeddings api, cosine similarity, vector normalization, retrieval query, retrieval document, task types, dimension mismatch, embeddings rate limit, text truncation, @google/genai+ Use when: implementing vector search with Google embeddings, building retrieval-augmented generation systems, creating semantic search features, clustering documents by meaning, integrating embeddings with Cloudflare Vectorize, optimizing dimension sizes (128-3072), or troubleshooting dimension mismatch errors, incorrect task type selections, rate limit issues (100 RPM free tier), vector normalization mistakes, or text truncation errors (2,048 token limit).license: MITmetadata:version: 1.0.0diff --git a/skills/google-gemini-file-search/SKILL.md b/skills/google-gemini-file-search/SKILL.mdindex 0b31a684..28cb7de2 100644--- a/skills/google-gemini-file-search/SKILL.md+++ b/skills/google-gemini-file-search/SKILL.md@@ -1,16 +1,9 @@---name: google-gemini-file-searchdescription: |- Set up Google Gemini File Search for fully managed RAG (Retrieval-Augmented Generation).- This skill should be used when building document Q&A systems, searchable knowledge bases,- or semantic search with automatic chunking, embedding generation, and citation support.- Supports 100+ file formats including PDF, Word, Excel, code files. Prevents common errors:- document immutability (delete+re-upload pattern required), storage quota calculation (3x- input size for embeddings), chunking configuration (500 tokens/chunk recommended), metadata- limits (20 key-value pairs max), indexing cost surprises (one-time $0.15/1M tokens),- operation polling (must wait for done: true), force delete requirement (for stores with- documents), and model support (only Gemini 2.5 Pro/Flash). TypeScript/JavaScript support- via @google/genai SDK. Token savings: ~65%.+ Build document Q&A and searchable knowledge bases with Google Gemini File Search - fully managed RAG with automatic chunking, embeddings, and citations. Upload 100+ file formats (PDF, Word, Excel, code), configure semantic search, and query with natural language.++ Use when: building document Q&A systems, creating searchable knowledge bases, implementing semantic search without managing embeddings, indexing large document collections (100+ formats), or troubleshooting document immutability errors (delete+re-upload required), storage quota issues (3x input size for embeddings), chunking configuration (500 tokens/chunk recommended), metadata limits (20 key-value pairs max), indexing cost surprises ($0.15/1M tokens one-time), operation polling timeouts (wait for done: true), force delete errors, or model compatibility (Gemini 2.5 Pro/Flash only).license: MITallowed-tools:- Bashdiff --git a/skills/hono-routing/SKILL.md b/skills/hono-routing/SKILL.mdindex 1b80a7f8..b038bf09 100644--- a/skills/hono-routing/SKILL.md+++ b/skills/hono-routing/SKILL.md@@ -1,11 +1,9 @@---name: hono-routingdescription: |- This skill provides comprehensive knowledge for building type-safe APIs with Hono, focusing on routing patterns, middleware composition, request validation, RPC client/server patterns, error handling, and context management.+ Build type-safe APIs with Hono - fast, lightweight routing for Cloudflare Workers, Deno, Bun, and Node.js. Set up routing patterns, middleware composition, request validation (Zod/Valibot/Typia/ArkType), RPC client/server with full type inference, and error handling with HTTPException.- Use when: building APIs with Hono (any runtime), setting up request validation with Zod/Valibot/Typia/ArkType validators, creating type-safe RPC client/server communication, implementing custom middleware, handling errors with HTTPException, extending Hono context with custom variables, or encountering middleware type inference issues, validation hook confusion, or RPC performance problems.-- Keywords: hono, hono routing, hono middleware, hono rpc, hono validator, zod validator, valibot validator, type-safe api, hono context, hono error handling, HTTPException, c.req.valid, middleware composition, hono hooks, typed routes, hono client, middleware response not typed, hono validation failed, hono rpc type inference+ Use when: building APIs with Hono, setting up request validation with schema libraries, creating type-safe RPC client/server communication, implementing custom middleware chains, handling errors with HTTPException, extending context with custom variables, or troubleshooting middleware type inference issues, validation hook confusion, RPC performance problems, or middleware response typing errors.license: MIT---diff --git a/skills/motion/SKILL.md b/skills/motion/SKILL.mdindex a55e808a..49d902df 100644--- a/skills/motion/SKILL.md+++ b/skills/motion/SKILL.md@@ -3,13 +3,11 @@---name: motiondescription: |- Production-ready setup for Motion (formerly Framer Motion) - the most popular React animation library with 30,200+ GitHub stars. Motion provides declarative animations, gesture controls, scroll-based effects, spring physics, layout animations, and SVG manipulation.+ Build sophisticated React animations with Motion (formerly Framer Motion) - declarative animations, gestures (drag, hover, tap), scroll effects, spring physics, layout animations, and SVG manipulation. Optimize bundle size with LazyMotion (4.6 KB) or useAnimate mini (2.3 KB).- This skill should be used when building UIs that need complex animations beyond simple list transitions: gesture controls (drag, hover, tap), scroll-linked animations, parallax effects, shared element transitions, SVG path morphing, spring physics, or orchestrated animation sequences.+ Use when: adding drag-and-drop interactions, creating scroll-triggered animations, implementing modal dialogs with transitions, building carousels with momentum, animating page/route transitions, creating parallax hero sections, implementing accordions with smooth expand/collapse, or optimizing animation bundle sizes. For simple list animations, use auto-animate skill instead (3.28 KB vs 34 KB).- Use when: Adding drag-and-drop interactions, creating scroll-triggered animations, implementing modal dialogs with sophisticated transitions, building carousels with momentum, animating page/route transitions, creating hero sections with parallax, implementing accordion components with smooth expand/collapse, or optimizing animation bundle size with LazyMotion.-- **Important**: For simple list add/remove/sort animations, use the `auto-animate` skill instead (3.28 KB vs 34 KB bundle). Motion is designed for complex interactive animations that require fine-grained control.+ Troubleshoot: AnimatePresence exit not working, large list performance issues, Tailwind transition conflicts, Next.js "use client" errors, scrollable container layout issues, or Cloudflare Workers build errors (resolved Dec 2024).license: MIT---diff --git a/skills/neon-vercel-postgres/SKILL.md b/skills/neon-vercel-postgres/SKILL.mdindex c71a8e55..38ce8ce3 100644--- a/skills/neon-vercel-postgres/SKILL.md+++ b/skills/neon-vercel-postgres/SKILL.md@@ -1,19 +1,9 @@---name: neon-vercel-postgresdescription: |- This skill provides comprehensive knowledge for integrating Neon serverless Postgres and Vercel Postgres (which is built on Neon infrastructure) into web applications. It should be used when setting up serverless Postgres databases, configuring connection pooling for edge and serverless environments, implementing database branching workflows, or troubleshooting Postgres connection issues in Cloudflare Workers, Vercel Edge Functions, or Node.js serverless functions.-- Use this skill when:- - Setting up Neon Postgres for Cloudflare Workers, Vercel Edge, or serverless environments- - Configuring Vercel Postgres for Next.js applications- - Implementing database branching workflows (git-like database branches)- - Integrating Drizzle ORM or Prisma with Neon/Vercel Postgres- - Debugging connection pool errors, transaction timeouts, or SSL configuration issues- - Migrating from D1/SQLite to Postgres or from traditional Postgres to serverless Postgres- - Setting up point-in-time restore (PITR) or database backups- - Encountering errors like "connection pool exhausted", "TCP connections not supported in serverless", or "sslmode required"-- Keywords: neon postgres, @neondatabase/serverless, @vercel/postgres, serverless postgres, postgres edge, neon branching, vercel database, http postgres, websocket postgres, pooled connection, drizzle neon, prisma neon, postgres cloudflare, postgres vercel edge, sql template tag, neonctl, database branches, point in time restore, postgres migrations, serverless sql, edge database, neon api, vercel sql+ Set up serverless Postgres with Neon or Vercel Postgres for Cloudflare Workers, Vercel Edge, and Node.js serverless functions. Configure connection pooling, implement git-like database branching, integrate Drizzle ORM or Prisma, and handle HTTP/WebSocket-based connections.++ Use when: setting up Neon Postgres for Cloudflare Workers or Vercel Edge, configuring Vercel Postgres for Next.js, implementing database branching workflows (preview environments), integrating ORMs (Drizzle or Prisma) with serverless Postgres, migrating from D1/SQLite to Postgres, setting up point-in-time restore, or troubleshooting connection pool exhausted errors, "TCP connections not supported" in Workers, SSL configuration issues (sslmode=require), transaction timeouts, or Prisma compatibility (edge vs Node.js).license: MIT---diff --git a/skills/nextjs/SKILL.md b/skills/nextjs/SKILL.mdindex 042b480b..e75400ba 100644--- a/skills/nextjs/SKILL.md+++ b/skills/nextjs/SKILL.md@@ -1,9 +1,9 @@---name: nextjsdescription: |- Use this skill for Next.js App Router patterns, Server Components, Server Actions, Cache Components, and framework-level optimizations. Covers Next.js 16 breaking changes including async params, proxy.ts migration, Cache Components with "use cache", and React 19.2 integration. For deploying to Cloudflare Workers, use the cloudflare-nextjs skill instead. This skill is deployment-agnostic and works with Vercel, AWS, self-hosted, or any platform.+ Build full-stack React apps with Next.js 16 App Router - Server Components, Server Actions, Cache Components ("use cache"), streaming SSR, and React 19.2 integration. Master async route params, proxy.ts migration, metadata API, and Turbopack.- Keywords: Next.js 16, Next.js App Router, Next.js Pages Router, Server Components, React Server Components, Server Actions, Cache Components, use cache, Next.js 16 breaking changes, async params nextjs, proxy.ts migration, React 19.2, Next.js metadata, Next.js SEO, generateMetadata, static generation, dynamic rendering, streaming SSR, Suspense, parallel routes, intercepting routes, route groups, Next.js middleware, Next.js API routes, Route Handlers, revalidatePath, revalidateTag, next/navigation, useSearchParams, turbopack, next.config+ Use when: building Next.js 16 apps with App Router, implementing Server Components data fetching, creating Server Actions for mutations, setting up Cache Components with "use cache", migrating from Next.js 15 to 16, configuring parallel routes with default.js, setting up proxy.ts (replaces middleware.ts), generating metadata for SEO, optimizing images with next/image, or troubleshooting async params errors (Promise types), "use cache" directive issues, parallel route 404s (missing default.js), CORS in proxy.ts, or Turbopack build failures.license: MITmetadata:version: 1.0.0diff --git a/skills/openai-agents/SKILL.md b/skills/openai-agents/SKILL.mdindex 4780cd43..5dedc33b 100644--- a/skills/openai-agents/SKILL.md+++ b/skills/openai-agents/SKILL.md@@ -1,9 +1,9 @@---name: openai-agentsdescription: |- Use this skill when building AI applications with OpenAI Agents SDK for JavaScript/TypeScript. The skill covers both text-based agents and realtime voice agents, including multi-agent workflows (handoffs), tools with Zod schemas, input/output guardrails, structured outputs, streaming, human-in-the-loop patterns, and framework integrations for Cloudflare Workers, Next.js, and React. It prevents 9+ common errors including Zod schema type errors, MCP tracing failures, infinite loops, tool call failures, and schema mismatches. The skill includes comprehensive templates for all agent types, error handling patterns, and debugging strategies.+ Build AI applications with OpenAI Agents SDK - text agents, voice agents (realtime), multi-agent workflows with handoffs, tools with Zod schemas, input/output guardrails, structured outputs, and streaming. Deploy to Cloudflare Workers, Next.js, or React with human-in-the-loop patterns.- Keywords: OpenAI Agents SDK, @openai/agents, @openai/agents-realtime, openai agents javascript, openai agents typescript, text agents, voice agents, realtime agents, multi-agent workflows, agent handoffs, agent tools, zod schemas agents, structured outputs agents, agent streaming, agent guardrails, input guardrails, output guardrails, human-in-the-loop, cloudflare workers agents, nextjs openai agents, react openai agents, hono agents, agent debugging, Zod schema type error, MCP tracing failure, agent infinite loop, tool call failures, schema mismatch agents+ Use when: building text-based agents with tools and Zod schemas, creating realtime voice agents with WebRTC/WebSocket, implementing multi-agent workflows with handoffs between specialists, setting up input/output guardrails for safety, requiring human approval for critical actions, streaming agent responses, deploying agents to Cloudflare Workers or Next.js, or troubleshooting Zod schema type errors, MCP tracing failures, infinite loops (MaxTurnsExceededError), tool call failures, schema mismatches, or voice agent handoff constraints.license: MITmetadata:packages:diff --git a/skills/openai-api/SKILL.md b/skills/openai-api/SKILL.mdindex 27f633e5..fdc5b4bf 100644--- a/skills/openai-api/SKILL.md+++ b/skills/openai-api/SKILL.md@@ -1,21 +1,9 @@---name: openai-apidescription: |- Complete guide for OpenAI's traditional/stateless APIs: Chat Completions (GPT-5, GPT-4o), Embeddings,- Images (DALL-E 3), Audio (Whisper + TTS), and Moderation. Includes both Node.js SDK and fetch-based- approaches for maximum compatibility.-- Use when: integrating OpenAI APIs, implementing chat completions with GPT-5/GPT-4o, generating text- with streaming, using function calling/tools, creating structured outputs with JSON schemas,- implementing embeddings for RAG, generating images with DALL-E 3, transcribing audio with Whisper,- synthesizing speech with TTS, moderating content, deploying to Cloudflare Workers, or encountering- errors like rate limits (429), invalid API keys (401), function calling failures, streaming parse- errors, embeddings dimension mismatches, or token limit exceeded.-- Keywords: openai api, chat completions, gpt-5, gpt-5-mini, gpt-5-nano, gpt-4o, gpt-4-turbo,- openai sdk, openai streaming, function calling, structured output, json schema, openai embeddings,- text-embedding-3, dall-e-3, image generation, whisper api, openai tts, text-to-speech, moderation api,- openai fetch, cloudflare workers openai, openai rate limit, openai 429, reasoning_effort, verbosity+ Build with OpenAI's stateless APIs - Chat Completions (GPT-5, GPT-4o), Embeddings, Images (DALL-E 3), Audio (Whisper + TTS), and Moderation. Includes Node.js SDK and fetch-based approaches for Cloudflare Workers.++ Use when: implementing chat completions with GPT-5/GPT-4o, streaming responses with SSE, using function calling/tools, creating structured outputs with JSON schemas, generating embeddings for RAG (text-embedding-3-small/large), generating images with DALL-E 3, editing images with GPT-Image-1, transcribing audio with Whisper, synthesizing speech with TTS (11 voices), moderating content (11 safety categories), or troubleshooting rate limits (429), invalid API keys (401), function calling failures, streaming parse errors, embeddings dimension mismatches, or token limit exceeded.license: MIT---diff --git a/skills/openai-apps-mcp/SKILL.md b/skills/openai-apps-mcp/SKILL.mdindex af7517ab..8b9769b3 100644--- a/skills/openai-apps-mcp/SKILL.md+++ b/skills/openai-apps-mcp/SKILL.md@@ -1,9 +1,9 @@---name: OpenAI Apps MCPdescription: |- Build ChatGPT apps using stateless MCP servers on Cloudflare Workers. This skill should be used when developing applications that integrate into the ChatGPT interface through the OpenAI Apps ecosystem. Covers MCP protocol implementation with @modelcontextprotocol/sdk, OpenAI-specific metadata formats, widget serving patterns via Workers Static Assets, and deployment to Cloudflare. Prevents common errors with CORS configuration, resource URI patterns, MIME types, and SSE transport on Workers. Use this skill when building tools that extend ChatGPT functionality, serving interactive widgets in conversations, or creating MCP servers optimized for OpenAI Apps integration.+ Build ChatGPT apps with stateless MCP servers on Cloudflare Workers. Extend ChatGPT with custom tools, serve interactive widgets (HTML/JS UI), implement MCP protocol with @modelcontextprotocol/sdk, and deploy with Workers Static Assets.- Keywords: openai apps, chatgpt app, mcp server, model context protocol, openai integration, cloudflare workers, hono routing, sse transport, widget serving, ui resources, openai metadata, stateless mcp, chatgpt tools, mcp widgets, ui://widget, text/html+skybridge, window.openai, tool invocation, outputTemplate+ Use when: developing ChatGPT extensions through OpenAI Apps, building tools that integrate into ChatGPT conversations, serving interactive widgets in chat (maps, carousels, lists), implementing MCP servers for OpenAI Apps, deploying to Cloudflare Workers with static assets, or troubleshooting CORS policy blocking MCP endpoints (must allow chatgpt.com), widget 404 errors (missing ui://widget/ prefix), widgets displaying as plain text (wrong MIME type, need text/html+skybridge), ASSETS binding undefined, SSE connection drops after 100 seconds (missing heartbeat), ChatGPT not suggesting tools (action-oriented descriptions needed), or widget scripts blocked by CSP.license: MITmetadata:version: 1.0.0diff --git a/skills/openai-assistants/SKILL.md b/skills/openai-assistants/SKILL.mdindex 37d1664c..ff971475 100644--- a/skills/openai-assistants/SKILL.md+++ b/skills/openai-assistants/SKILL.md@@ -1,21 +1,11 @@---name: openai-assistantsdescription: |- Complete guide for OpenAI's Assistants API v2: stateful conversational AI with built-in tools- (Code Interpreter, File Search, Function Calling), vector stores for RAG (up to 10,000 files),- thread/run lifecycle management, and streaming patterns. Both Node.js SDK and fetch approaches.+ Build stateful chatbots with OpenAI Assistants API v2 - Code Interpreter (Python execution), File Search (RAG with 10,000 files), Function Calling, thread/run lifecycle, and streaming. Includes Node.js SDK and fetch approaches.- ⚠️ DEPRECATION NOTICE: OpenAI plans to sunset Assistants API in H1 2026 in favor of Responses API.- This skill remains valuable for existing apps and migration planning.+ ⚠️ DEPRECATION NOTICE: Planned sunset H1 2026. Use openai-responses skill for new projects. This skill remains valuable for existing apps and migration planning.- Use when: building stateful chatbots with OpenAI, implementing RAG with vector stores, executing- Python code with Code Interpreter, using file search for document Q&A, managing conversation threads,- streaming assistant responses, or encountering errors like "thread already has active run", vector- store indexing delays, run polling timeouts, or file upload issues.-- Keywords: openai assistants, assistants api, openai threads, openai runs, code interpreter assistant,- file search openai, vector store openai, openai rag, assistant streaming, thread persistence,- stateful chatbot, thread already has active run, run status polling, vector store error+ Use when: building stateful chatbots with conversation history, implementing RAG with vector stores (10,000 files), executing Python code with Code Interpreter, using file search for document Q&A, managing thread/run lifecycle, streaming assistant responses, or troubleshooting "thread already has active run" errors, vector store indexing delays, run polling timeouts, file upload format issues, or run status failures.license: MIT---