Use when deploying to Cloudflare Workers, Vercel Edge, or Deno Deploy. Covers edge middleware, streaming, runtime constraints, and globally distributed low-latency patterns.
/plugin marketplace add yonatangross/skillforge-claude-plugin/plugin install skillforge-complete@skillforgeThis skill inherits all available tools. When active, it can use any tool Claude has access to.
checklists/edge-deployment-checklist.mdexamples/edge-caching-strategies.mdreferences/cloudflare-workers.mdreferences/runtime-differences.mdreferences/vercel-edge.mdtemplates/edge-function.tstemplates/edge-middleware.tsEdge computing runs code closer to users worldwide, reducing latency from seconds to milliseconds. This skill covers Cloudflare Workers, Vercel Edge Functions, and Deno Deploy patterns for building globally distributed applications.
When to use this skill:
| Feature | Cloudflare Workers | Vercel Edge | Deno Deploy |
|---|---|---|---|
| Cold Start | <1ms | <10ms | <10ms |
| Locations | 300+ | 100+ | 35+ |
| Runtime | V8 Isolates | V8 Isolates | Deno |
| Max Duration | 30s (paid: unlimited) | 25s | 50ms-5min |
| Free Tier | 100k req/day | 100k req/month | 100k req/month |
For detailed code examples and patterns, load the appropriate reference file:
Reference: references/cloudflare-workers.md
Reference: references/vercel-edge.md
Reference: references/runtime-differences.md
Available APIs:
NOT Available:
Verify JWT tokens at edge for sub-millisecond auth checks. See references/cloudflare-workers.md for implementation.
Use KV (Cloudflare) or Edge Config (Vercel) for distributed rate limiting. Pattern: IP-based key with TTL expiration.
Cache API with cache-aside pattern. Check cache first, fetch origin on miss, store with TTL.
Assign users to buckets via cookie, rewrite URLs to variant pages. See references/vercel-edge.md for middleware pattern.
Access request.cf.country (Cloudflare) or request.geo (Vercel) for location-based routing.
| Use Case | Recommended Platform |
|---|---|
| Global CDN + compute | Cloudflare Workers |
| Next.js middleware | Vercel Edge |
| TypeScript-first | Deno Deploy |
| Stateful edge | Cloudflare Durable Objects |
| Feature flags | Vercel Edge Config |
| Real-time collaboration | Cloudflare Durable Objects + WebSockets |
Keywords: cloudflare, workers, kv, durable objects, r2, wrangler Reference: references/cloudflare-workers.md Solves:
Keywords: vercel edge, edge functions, edge middleware, geolocation, next.js Reference: references/vercel-edge.md Solves:
Keywords: edge runtime, web apis, node.js compatibility, polyfills Reference: references/runtime-differences.md Solves:
Keywords: edge cache, cdn, cache-control, stale-while-revalidate, invalidation Solves:
Keywords: edge function, template, boilerplate, production-ready Solves:
Keywords: middleware, next.js, authentication, a/b testing Solves:
Keywords: deployment, checklist, production, monitoring Reference: checklists/edge-deployment-checklist.md Solves:
// Cloudflare Worker - Basic fetch handler
export default {
async fetch(request: Request): Promise<Response> {
const url = new URL(request.url);
// Geo-based routing
const country = request.cf?.country || 'US';
// Edge caching
const cacheKey = url.pathname + "-" + country;
const cached = await caches.default.match(cacheKey);
if (cached) return cached;
const response = await fetch(request);
return response;
}
}
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.