[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79P6WF8XVWBJJXANGE6NP1J":3,"skill-same:01M79P6WF8XVWBJJXANGE6NP1J":68},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":14,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M79P6WF8XVWBJJXANGE6NP1J","netlify-edge-functions",null,"Guide for writing Netlify Edge Functions. Use when building middleware, geolocation-based logic, request\u002Fresponse manipulation, authentication checks, A\u002FB testing, or any low-latency edge compute. Covers Deno runtime, context.next() middleware pattern, geolocation, and when to choose edge vs serverless.","MeghVyas3132\u002FClaude-Code-Skills","MeghVyas3132","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F213562095?v=4","01M79MBRQ3EM1GSWXK3QVWPYK6","Megh Vyas","01M79MBRQRZNC3QS0FS1KC6Z09",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FMeghVyas3132\u002FClaude-Code-Skills\u002Fblob\u002Fmain\u002F_other-tools\u002Fcodex\u002Fnetlify\u002Fnetlify-edge-functions\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FMeghVyas3132\u002FClaude-Code-Skills\u002Fblob\u002Fmain\u002F_other-tools\u002Fcodex\u002Fnetlify\u002Fnetlify-edge-functions\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: netlify-edge-functions\ndescription: Guide for writing Netlify Edge Functions. Use when building middleware, geolocation-based logic, request\u002Fresponse manipulation, authentication checks, A\u002FB testing, or any low-latency edge compute. Covers Deno runtime, context.next() middleware pattern, geolocation, and when to choose edge vs serverless.\n---\n\n# Netlify Edge Functions\n\nEdge functions run on Netlify's globally distributed edge network (Deno runtime), providing low-latency responses close to users.\n\n## Syntax\n\n```typescript\nimport type { Config, Context } from \"@netlify\u002Fedge-functions\";\n\nexport default async (req: Request, context: Context) => {\n  return new Response(\"Hello from the edge!\");\n};\n\nexport const config: Config = {\n  path: \"\u002Fhello\",\n};\n```\n\nPlace files in `netlify\u002Fedge-functions\u002F`. Uses `.ts`, `.js`, `.tsx`, or `.jsx` extensions.\n\n## Config Object\n\n```typescript\nexport const config: Config = {\n  path: \"\u002Fapi\u002F*\",                    \u002F\u002F URLPattern path(s)\n  excludedPath: \"\u002Fapi\u002Fpublic\u002F*\",     \u002F\u002F Exclusions\n  method: [\"GET\", \"POST\"],           \u002F\u002F HTTP methods\n  onError: \"bypass\",                 \u002F\u002F \"fail\" (default), \"bypass\", or \"\u002Ferror-page\"\n  cache: \"manual\",                   \u002F\u002F Enable response caching\n};\n```\n\n## Middleware Pattern\n\nUse `context.next()` to invoke the next handler in the chain and optionally modify the response:\n\n```typescript\nexport default async (req: Request, context: Context) => {\n  \u002F\u002F Before: modify request or short-circuit\n  if (!isAuthenticated(req)) {\n    return new Response(\"Unauthorized\", { status: 401 });\n  }\n\n  \u002F\u002F Continue to origin\u002Fnext function\n  const response = await context.next();\n\n  \u002F\u002F After: modify response\n  response.headers.set(\"x-custom-header\", \"value\");\n  return response;\n};\n```\n\nReturn `undefined` to pass through without modification:\n\n```typescript\nexport default async (req: Request, context: Context) => {\n  if (!shouldHandle(req)) return; \u002F\u002F continues to next handler\n  return new Response(\"Handled\");\n};\n```\n\n## Geolocation and IP\n\n```typescript\nexport default async (req: Request, context: Context) => {\n  const { city, country, subdivision, timezone } = context.geo;\n  const ip = context.ip;\n\n  if (country?.code === \"DE\") {\n    return Response.redirect(new URL(\"\u002Fde\", req.url));\n  }\n};\n```\n\nLocal dev with mocked geo: `netlify dev --geo=mock --country=US`\n\n## Environment Variables\n\nUse `Netlify.env` (not `process.env` or `Deno.env`):\n\n```typescript\nconst secret = Netlify.env.get(\"API_SECRET\");\n```\n\n## Module Support\n\n- **Node.js builtins**: `import { randomBytes } from \"node:crypto\";`\n- **npm packages**: Install via npm and import by name\n- **Deno modules**: URL imports (e.g., `import X from \"https:\u002F\u002Fesm.sh\u002Fpackage\"`)\n\nFor URL imports, use an import map:\n\n```json\n\u002F\u002F import_map.json\n{ \"imports\": { \"html-rewriter\": \"https:\u002F\u002Fghuc.cc\u002Fworker-tools\u002Fhtml-rewriter\u002Findex.ts\" } }\n```\n\n```toml\n# netlify.toml\n[functions]\n  deno_import_map = \".\u002Fimport_map.json\"\n```\n\n## When to Use Edge vs Serverless\n\n| Use Edge Functions for | Use Serverless Functions for |\n|---|---|\n| Low-latency responses | Long-running operations (up to 15 min) |\n| Request\u002Fresponse manipulation | Complex Node.js dependencies |\n| Geolocation-based logic | Database-heavy operations |\n| Auth checks and redirects | Background\u002Fscheduled tasks |\n| A\u002FB testing, personalization | Tasks needing > 512 MB memory |\n\n## Limits\n\n| Resource | Limit |\n|---|---|\n| CPU time | 50 ms per request |\n| Memory | 512 MB per deployed set |\n| Response header timeout | 40 seconds |\n| Code size | 20 MB compressed |\n","# Netlify Edge Functions\n\nEdge functions run on Netlify's globally distributed edge network (Deno runtime), providing low-latency responses close to users.\n\n## Syntax\n\n```typescript\nimport type { Config, Context } from \"@netlify\u002Fedge-functions\";\n\nexport default async (req: Request, context: Context) => {\n  return new Response(\"Hello from the edge!\");\n};\n\nexport const config: Config = {\n  path: \"\u002Fhello\",\n};\n```\n\nPlace files in `netlify\u002Fedge-functions\u002F`. Uses `.ts`, `.js`, `.tsx`, or `.jsx` extensions.\n\n## Config Object\n\n```typescript\nexport const config: Config = {\n  path: \"\u002Fapi\u002F*\",                    \u002F\u002F URLPattern path(s)\n  excludedPath: \"\u002Fapi\u002Fpublic\u002F*\",     \u002F\u002F Exclusions\n  method: [\"GET\", \"POST\"],           \u002F\u002F HTTP methods\n  onError: \"bypass\",                 \u002F\u002F \"fail\" (default), \"bypass\", or \"\u002Ferror-page\"\n  cache: \"manual\",                   \u002F\u002F Enable response caching\n};\n```\n\n## Middleware Pattern\n\nUse `context.next()` to invoke the next handler in the chain and optionally modify the response:\n\n```typescript\nexport default async (req: Request, context: Context) => {\n  \u002F\u002F Before: modify request or short-circuit\n  if (!isAuthenticated(req)) {\n    return new Response(\"Unauthorized\", { status: 401 });\n  }\n\n  \u002F\u002F Continue to origin\u002Fnext function\n  const response = await context.next();\n\n  \u002F\u002F After: modify response\n  response.headers.set(\"x-custom-header\", \"value\");\n  return response;\n};\n```\n\nReturn `undefined` to pass through without modification:\n\n```typescript\nexport default async (req: Request, context: Context) => {\n  if (!shouldHandle(req)) return; \u002F\u002F continues to next handler\n  return new Response(\"Handled\");\n};\n```\n\n## Geolocation and IP\n\n```typescript\nexport default async (req: Request, context: Context) => {\n  const { city, country, subdivision, timezone } = context.geo;\n  const ip = context.ip;\n\n  if (country?.code === \"DE\") {\n    return Response.redirect(new URL(\"\u002Fde\", req.url));\n  }\n};\n```\n\nLocal dev with mocked geo: `netlify dev --geo=mock --country=US`\n\n## Environment Variables\n\nUse `Netlify.env` (not `process.env` or `Deno.env`):\n\n```typescript\nconst secret = Netlify.env.get(\"API_SECRET\");\n```\n\n## Module Support\n\n- **Node.js builtins**: `import { randomBytes } from \"node:crypto\";`\n- **npm packages**: Install via npm and import by name\n- **Deno modules**: URL imports (e.g., `import X from \"https:\u002F\u002Fesm.sh\u002Fpackage\"`)\n\nFor URL imports, use an import map:\n\n```json\n\u002F\u002F import_map.json\n{ \"imports\": { \"html-rewriter\": \"https:\u002F\u002Fghuc.cc\u002Fworker-tools\u002Fhtml-rewriter\u002Findex.ts\" } }\n```\n\n```toml\n# netlify.toml\n[functions]\n  deno_import_map = \".\u002Fimport_map.json\"\n```\n\n## When to Use Edge vs Serverless\n\n| Use Edge Functions for | Use Serverless Functions for |\n|---|---|\n| Low-latency responses | Long-running operations (up to 15 min) |\n| Request\u002Fresponse manipulation | Complex Node.js dependencies |\n| Geolocation-based logic | Database-heavy operations |\n| Auth checks and redirects | Background\u002Fscheduled tasks |\n| A\u002FB testing, personalization | Tasks needing > 512 MB memory |\n\n## Limits\n\n| Resource | Limit |\n|---|---|\n| CPU time | 50 ms per request |\n| Memory | 512 MB per deployed set |\n| Response header timeout | 40 seconds |\n| Code size | 20 MB compressed |\n",{"name":5,"description":7},"main","12a76cdd6f897f0872b282adeec07c7a07cf6bcc","_other-tools\u002Fcodex\u002Fnetlify\u002Fnetlify-edge-functions","https:\u002F\u002Fgithub.com\u002FMeghVyas3132\u002FClaude-Code-Skills","https:\u002F\u002Fgithub.com\u002FMeghVyas3132","https:\u002F\u002Fmegh.tech","Entrepreneur \u002F Platform Engineer \u002F DevOps \u002F Backend developer \u002F System Architect \u002F Salesforce admin-dev \u002F AI Engineer \u002F Junior SRE","2026-07-25 05:29:37",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add MeghVyas3132\u002FClaude-Code-Skills --skill netlify-edge-functions",{"tool":39,"command":40},"bunx","bunx skills add MeghVyas3132\u002FClaude-Code-Skills --skill netlify-edge-functions",{"tool":42,"command":43},"pnpm","pnpm dlx skills add MeghVyas3132\u002FClaude-Code-Skills --skill netlify-edge-functions","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMeghVyas3132\u002FClaude-Code-Skills\u002Fblob\u002Fmain\u002F_other-tools\u002Fcodex\u002Fnetlify\u002Fnetlify-edge-functions\u002FSKILL.md",true,[47,53,59,63],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"agents\u002Fopenai.yaml","REFERENCE","参考文档",352,"https:\u002F\u002Fgithub.com\u002FMeghVyas3132\u002FClaude-Code-Skills\u002Fblob\u002Fmain\u002F_other-tools\u002Fcodex\u002Fnetlify\u002Fnetlify-edge-functions\u002Fagents\u002Fopenai.yaml",{"path":54,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":57,"sourceHtmlUrl":58},"assets\u002Fnetlify-small.svg","ASSET","资产文件",1291,"https:\u002F\u002Fgithub.com\u002FMeghVyas3132\u002FClaude-Code-Skills\u002Fblob\u002Fmain\u002F_other-tools\u002Fcodex\u002Fnetlify\u002Fnetlify-edge-functions\u002Fassets\u002Fnetlify-small.svg",{"path":60,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":61,"sourceHtmlUrl":62},"assets\u002Fnetlify.png",2686,"https:\u002F\u002Fgithub.com\u002FMeghVyas3132\u002FClaude-Code-Skills\u002Fblob\u002Fmain\u002F_other-tools\u002Fcodex\u002Fnetlify\u002Fnetlify-edge-functions\u002Fassets\u002Fnetlify.png",{"path":64,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":67,"sourceHtmlUrl":16},"LICENSE.txt","LICENSE","许可证",10776,[69,77,85,92,99,106],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":73,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":20},"01M79QXVKBA07BMENY2S4C9B0D","skill-creator","Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.","https:\u002F\u002Fgithub.com\u002FMeghVyas3132\u002FClaude-Code-Skills\u002Fblob\u002Fmain\u002Fskill-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FMeghVyas3132\u002FClaude-Code-Skills\u002Fblob\u002Fmain\u002Fskill-creator\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":81,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":20},"01M79QXPTA7529Z7QX9TYC9X8M","skill-audit","Pre-install security scanner for AI agent skills. 7.5% of 14,706 skills are malicious. Audit before you trust.","MIT","https:\u002F\u002Fgithub.com\u002FMeghVyas3132\u002FClaude-Code-Skills\u002Fblob\u002Fmain\u002Fskill-audit\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":81,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":20},"01M79QWZ2BB5GTX3PCHEEDG3A2","vercel-react-best-practices","React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React\u002FNext.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.","https:\u002F\u002Fgithub.com\u002FMeghVyas3132\u002FClaude-Code-Skills\u002Fblob\u002Fmain\u002Freact-best-practices\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":20},"01M79QWAADBR52R570H6N25F47","impeccable","Use when the user wants to design, redesign, shape, critique, audit, polish, clarify, distill, harden, optimize, adapt, animate, colorize, extract, or otherwise improve a frontend interface. Covers websites, landing pages, dashboards, product UI, app shells, components, forms, settings, onboarding, and empty states. Handles UX review, visual hierarchy, information architecture, cognitive load, accessibility, performance, responsive behavior, theming, anti-patterns, typography, fonts, spacing, layout, alignment, color, motion, micro-interactions, UX copy, error states, edge cases, i18n, and reusable design systems or tokens. Also use for bland designs that need to become bolder or more delightful, loud designs that should become quieter, live browser iteration on UI elements, or ambitious visual effects that should feel technically extraordinary. Not for backend-only or non-UI tasks.","https:\u002F\u002Fgithub.com\u002FMeghVyas3132\u002FClaude-Code-Skills\u002Fblob\u002Fmain\u002Fimpeccable\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":81,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":20},"01M79QTGQJGPXPJDB09WBZHRND","vercel-composition-patterns","React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes.","https:\u002F\u002Fgithub.com\u002FMeghVyas3132\u002FClaude-Code-Skills\u002Fblob\u002Fmain\u002Fcomposition-patterns\u002FSKILL.md",[],[],{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":81,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":20},"01M79QT5TCZBBKP5ECWE0QD9PT","bumblebee","Run Bumblebee supply-chain inventory and exposure scans on macOS\u002FLinux to detect compromised packages, extensions, and MCP host configs.","https:\u002F\u002Fgithub.com\u002FMeghVyas3132\u002FClaude-Code-Skills\u002Fblob\u002Fmain\u002Fbumblebee\u002FSKILL.md",[],[]]