这是Netlify官方为AI编程助手准备的一套技能包,每个技能都是关于Netlify平台某个功能的简明参考。涵盖函数计算、边缘计算、对象存储、Postgres数据库、图片CDN优化、表单处理、配置文件、框架适配器和缓存策略等核心模块。目的是让AI代理在Netlify上开发时不用翻文档,直接调用这些技能就能按最佳实践写代码。适合用Netlify部署网站的开发者,特别是喜欢用AI辅助编程、希望部署流程更顺畅的人。
查看英文原文
Netlify Context and Tools Public Netlify skills for AI coding agents. Each skill is a focused, factual reference for a Netlify platform primitive — designed to help agents build correctly on Netlify without needing to search docs. Skills Skill What it covers netlify functions Serverless functions — modern syntax, routing, background/scheduled/streaming netlify edge functions Edge compute — Deno runtime, middleware, geolocation netlify blobs Object storage — key value and binary data netlify database Managed Postgres (Neon) with Drizzle ORM and migrations netlify image cdn Image transformation and optimization via CDN netlify forms HTML form handling, AJAX submissions, spam filtering netlify config netlify.toml — redirects, headers, build settings, deploy contexts, environment variables netlify frameworks Framework adapters for Vite, Astro, TanStack, and Next.js netlify caching CDN cache control, cache tags, purge, stale while revalidate netlify ai gateway AI Gateway proxy for OpenAI, Anthropic, and Google SDKs netlify identity User authentication — signups, logins, OAuth, role based access control netlify deploy CLI install/auth, site linking, Git based and manual deploys, CI deploys, deploy troubleshooting References Some skills include references/ subdirectories with deeper content: User uploaded images pipeline — composing Functions + Blobs + Image CDN Vite on Netlify Astro on Netlify TanStack Start on Netlify Next.js on Netlify Advanced identity patterns — external providers, role based access, server side validation CLI commands reference Deployment patterns netlify.toml guide Installation Codex Desktop App Install the Netlify plugin from the Codex plugin directory in the Codex desktop app. The plugin lets Codex deploy to Netlify without leaving your coding workflow. You can create projects, generate preview URLs, deploy to production, validate build configuration, and inspect deploy status and logs. For full details, refer to Deploy from Codex with the Netlify