[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75NKWZ16PDKW222HDZ4RR9B":3,"skill-same:01M75NKWZ16PDKW222HDZ4RR9B":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":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":6,"updatedAt":32,"install":33,"resources":46},"01M75NKWZ16PDKW222HDZ4RR9B","netlify-ai-gateway",null,"Guide for using Netlify AI Gateway to access AI models. Use when adding AI capabilities or selecting\u002Fchanging AI models. Must be read before choosing a model. Covers supported providers (OpenAI, Anthropic, Google), SDK setup, environment variables, and the list of available models.","stanfish06\u002Fskillquarium","stanfish06","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F93099613?v=4","01M75F1CK4ZW109ZK3T26VN52F","Zhiyuan","01M75F1CM53VH6F79DZ8GXKKES",12,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fnetlify-ai-gateway\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fnetlify-ai-gateway\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: netlify-ai-gateway\ndescription: Guide for using Netlify AI Gateway to access AI models. Use when adding AI capabilities or selecting\u002Fchanging AI models. Must be read before choosing a model. Covers supported providers (OpenAI, Anthropic, Google), SDK setup, environment variables, and the list of available models.\n---\n\n# Netlify AI Gateway\n\n> **IMPORTANT:** Only use models listed in the \"Available Models\" section below. AI Gateway does not support every model a provider offers. Using an unsupported model will cause runtime errors.\n\nNetlify AI Gateway provides access to AI models from multiple providers without managing API keys directly. It is available on all Netlify sites.\n\n## How It Works\n\nThe AI Gateway acts as a proxy — you use standard provider SDKs (OpenAI, Anthropic, Google) but point them at Netlify's gateway URL instead of the provider's API. Netlify handles authentication, rate limiting, and monitoring.\n\n## Setup\n\n1. Enable AI on your site in the Netlify UI\n2. The environment variable `OPENAI_BASE_URL` is set automatically by Netlify\n3. Install the provider SDK you want to use\n\nNo provider API keys are needed — Netlify's gateway handles authentication.\n\n## Using OpenAI SDK\n\n```bash\nnpm install openai\n```\n\n```typescript\nimport OpenAI from \"openai\";\n\nconst openai = new OpenAI();\n\u002F\u002F OPENAI_BASE_URL is auto-configured — no API key or base URL needed\n\nconst completion = await openai.chat.completions.create({\n  model: \"gpt-4o-mini\",\n  messages: [{ role: \"user\", content: \"Hello!\" }],\n});\n```\n\n## Using Anthropic SDK\n\n```bash\nnpm install @anthropic-ai\u002Fsdk\n```\n\n```typescript\nimport Anthropic from \"@anthropic-ai\u002Fsdk\";\n\nconst client = new Anthropic({\n  baseURL: Netlify.env.get(\"ANTHROPIC_BASE_URL\"),\n});\n\nconst message = await client.messages.create({\n  model: \"claude-sonnet-4-5-20250929\",\n  max_tokens: 1024,\n  messages: [{ role: \"user\", content: \"Hello!\" }],\n});\n```\n\n## Using Google AI SDK\n\n```bash\nnpm install @google\u002Fgenerative-ai\n```\n\n```typescript\nimport { GoogleGenerativeAI } from \"@google\u002Fgenerative-ai\";\n\nconst genAI = new GoogleGenerativeAI(\"placeholder\");\n\u002F\u002F Configure base URL via environment variable\n\nconst model = genAI.getGenerativeModel({ model: \"gemini-2.5-flash\" });\nconst result = await model.generateContent(\"Hello!\");\n```\n\n## In a Netlify Function\n\n```typescript\nimport type { Config, Context } from \"@netlify\u002Ffunctions\";\nimport OpenAI from \"openai\";\n\nexport default async (req: Request, context: Context) => {\n  const { prompt } = await req.json();\n  const openai = new OpenAI();\n\n  const completion = await openai.chat.completions.create({\n    model: \"gpt-4o-mini\",\n    messages: [{ role: \"user\", content: prompt }],\n  });\n\n  return Response.json({\n    response: completion.choices[0].message.content,\n  });\n};\n\nexport const config: Config = {\n  path: \"\u002Fapi\u002Fai\",\n  method: \"POST\",\n};\n```\n\n## Environment Variables\n\n| Variable | Provider | Set by |\n|---|---|---|\n| `OPENAI_BASE_URL` | OpenAI | Netlify (automatic) |\n| `ANTHROPIC_BASE_URL` | Anthropic | Netlify (automatic) |\n\nThese are configured automatically when AI is enabled on the site. No manual setup required.\n\n## Local Development\n\nWith `@netlify\u002Fvite-plugin` or `netlify dev`, gateway environment variables are injected automatically. The AI Gateway is accessible during local development after the site has been deployed at least once.\n\n## Available Models\n\nFor the list of supported models, see https:\u002F\u002Fdocs.netlify.com\u002Fbuild\u002Fai-gateway\u002Foverview\u002F.\n","# Netlify AI Gateway\n\n> **IMPORTANT:** Only use models listed in the \"Available Models\" section below. AI Gateway does not support every model a provider offers. Using an unsupported model will cause runtime errors.\n\nNetlify AI Gateway provides access to AI models from multiple providers without managing API keys directly. It is available on all Netlify sites.\n\n## How It Works\n\nThe AI Gateway acts as a proxy — you use standard provider SDKs (OpenAI, Anthropic, Google) but point them at Netlify's gateway URL instead of the provider's API. Netlify handles authentication, rate limiting, and monitoring.\n\n## Setup\n\n1. Enable AI on your site in the Netlify UI\n2. The environment variable `OPENAI_BASE_URL` is set automatically by Netlify\n3. Install the provider SDK you want to use\n\nNo provider API keys are needed — Netlify's gateway handles authentication.\n\n## Using OpenAI SDK\n\n```bash\nnpm install openai\n```\n\n```typescript\nimport OpenAI from \"openai\";\n\nconst openai = new OpenAI();\n\u002F\u002F OPENAI_BASE_URL is auto-configured — no API key or base URL needed\n\nconst completion = await openai.chat.completions.create({\n  model: \"gpt-4o-mini\",\n  messages: [{ role: \"user\", content: \"Hello!\" }],\n});\n```\n\n## Using Anthropic SDK\n\n```bash\nnpm install @anthropic-ai\u002Fsdk\n```\n\n```typescript\nimport Anthropic from \"@anthropic-ai\u002Fsdk\";\n\nconst client = new Anthropic({\n  baseURL: Netlify.env.get(\"ANTHROPIC_BASE_URL\"),\n});\n\nconst message = await client.messages.create({\n  model: \"claude-sonnet-4-5-20250929\",\n  max_tokens: 1024,\n  messages: [{ role: \"user\", content: \"Hello!\" }],\n});\n```\n\n## Using Google AI SDK\n\n```bash\nnpm install @google\u002Fgenerative-ai\n```\n\n```typescript\nimport { GoogleGenerativeAI } from \"@google\u002Fgenerative-ai\";\n\nconst genAI = new GoogleGenerativeAI(\"placeholder\");\n\u002F\u002F Configure base URL via environment variable\n\nconst model = genAI.getGenerativeModel({ model: \"gemini-2.5-flash\" });\nconst result = await model.generateContent(\"Hello!\");\n```\n\n## In a Netlify Function\n\n```typescript\nimport type { Config, Context } from \"@netlify\u002Ffunctions\";\nimport OpenAI from \"openai\";\n\nexport default async (req: Request, context: Context) => {\n  const { prompt } = await req.json();\n  const openai = new OpenAI();\n\n  const completion = await openai.chat.completions.create({\n    model: \"gpt-4o-mini\",\n    messages: [{ role: \"user\", content: prompt }],\n  });\n\n  return Response.json({\n    response: completion.choices[0].message.content,\n  });\n};\n\nexport const config: Config = {\n  path: \"\u002Fapi\u002Fai\",\n  method: \"POST\",\n};\n```\n\n## Environment Variables\n\n| Variable | Provider | Set by |\n|---|---|---|\n| `OPENAI_BASE_URL` | OpenAI | Netlify (automatic) |\n| `ANTHROPIC_BASE_URL` | Anthropic | Netlify (automatic) |\n\nThese are configured automatically when AI is enabled on the site. No manual setup required.\n\n## Local Development\n\nWith `@netlify\u002Fvite-plugin` or `netlify dev`, gateway environment variables are injected automatically. The AI Gateway is accessible during local development after the site has been deployed at least once.\n\n## Available Models\n\nFor the list of supported models, see https:\u002F\u002Fdocs.netlify.com\u002Fbuild\u002Fai-gateway\u002Foverview\u002F.\n",{"name":5,"description":7},"master","49e49abf2f670d429e0b7e2c0349739c3fdd5cbe","skills\u002Fnetlify-ai-gateway",5,"https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium","https:\u002F\u002Fgithub.com\u002Fstanfish06","https:\u002F\u002Fwww.stanfish.dev\u002F","2026-11-14 21:31:37",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add stanfish06\u002Fskillquarium --skill netlify-ai-gateway",{"tool":39,"command":40},"bunx","bunx skills add stanfish06\u002Fskillquarium --skill netlify-ai-gateway",{"tool":42,"command":43},"pnpm","pnpm dlx skills add stanfish06\u002Fskillquarium --skill netlify-ai-gateway","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fnetlify-ai-gateway\u002FSKILL.md",true,[47,53,59,63],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"agents\u002Fopenai.yaml","REFERENCE","参考文档",336,"https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fnetlify-ai-gateway\u002Fagents\u002Fopenai.yaml",{"path":54,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":57,"sourceHtmlUrl":58},"assets\u002Fnetlify-small.svg","ASSET","资产文件",1291,"https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fnetlify-ai-gateway\u002Fassets\u002Fnetlify-small.svg",{"path":60,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":61,"sourceHtmlUrl":62},"assets\u002Fnetlify.png",2686,"https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fnetlify-ai-gateway\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":73,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":20},"01M76ZJTRVA456GD7K8Y3EP82H","zarr-python","Stores and queries chunked N-D scientific arrays with Zarr-Python 3, including codecs, sharding, S3\u002FGCS storage, and NumPy\u002FDask\u002FXarray integration. Use for array layout, bounded I\u002FO, format migration, or scientific metadata preservation.","MIT","https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fzarr-python\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":15,"licenseFileUrl":81,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":20},"01M76ZJQZ15Q1HKC5V85NHE325","yeet","Publish local changes to GitHub by confirming scope, committing intentionally, pushing the branch, and opening a draft PR through the GitHub app from this plugin, with `gh` used only as a fallback where connector coverage is insufficient.","https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fyeet\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fyeet\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":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":20},"01M76ZJ8ASZ4QYQ70Y6SBA4Z4S","xarray","N-dimensional labeled arrays and datasets in Python. Built on top of NumPy and Dask. It introduces labels in the form of dimensions, coordinates, and attributes on top of raw NumPy-like arrays, making data analysis in physical sciences more intuitive and less error-prone. Use for working with multi-dimensional scientific data, NetCDF\u002FGRIB\u002FZarr files, climate\u002Fweather\u002Foceanographic datasets, remote sensing, geospatial imaging, large out-of-memory datasets with Dask, and labeled array operations.","https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fxarray\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":73,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":20},"01M76ZHFBXD6VXPQ02VCEG202B","writing-mstest-tests","Use when asked to fix, rewrite, update, improve, modernize, show corrected code for, or explain existing MSTest tests or MSTest-specific configuration. Use for \"review\" when corrected code or edits are wanted, even for one pasted assertion or passing tests with bad failure output. Covers expected\u002Factual labels; generic Boolean, collection, string, numeric, null, identity, exception, hard-cast, and object[] checks; TestContext\u002Flifecycle; timeout\u002Fcancellation; OS\u002FCI conditions, retry, cleanup, parallelization, MSTest.Sdk project setup, and MSTESTxxxx. Honor the installed MSTest version. DO NOT USE to design new test cases (code-testing), perform report-only audits, create project files rather than explain MSTest setup, run tests, migrate frameworks, or handle non-MSTest\u002Fnon-.NET code.","https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fwriting-mstest-tests\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":73,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":20},"01M76ZDFDF4N88RH6HSYGS7GP2","wgs-prs","End-to-end WGS to polygenic risk score pipeline. Takes paired-end FASTQ files (or a pre-existing VCF) through nf-core\u002Fsarek for variant calling, applies VCF QC (normalisation, hard filtering, Ti\u002FTv and Het\u002FHom checks), then computes polygenic risk scores via the PGS Catalog. Fills the FASTQ to VCF gap upstream of the gwas-prs skill.","https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fwgs-prs\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":15,"licenseFileUrl":110,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":20},"01M76ZCC1SC68J42QK4MDC8RCG","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fwebapp-testing\u002FSKILL.md",[],[]]