Description
netlify-config is an agent skill that serves as a reference for the netlify.toml file, the configuration file that sits at the root of a repository and controls how Netlify builds and serves a site. The skill covers the file's syntax for build settings, redirects, headers, deploy contexts, environment variables, functions and edge functions. Its argument is that keeping redirects, headers and context-specific variables in one committed file makes deploy behavior version-controlled and repeatable, rather than scattered across the Netlify interface where changes are hard to track. A coding assistant with this skill can write the file for you. Typical tasks include setting different build commands for production, preview and staging deploy contexts, adding Cache-Control headers to asset paths without changing application code, configuring SPA catch-all redirects so client-side routes work after a hard refresh, proxying requests from /api/* to an external backend without exposing that URL in frontend code, and scheduling a Netlify function to run on a timer. Install it with the command shown on this page.…
Highlights
- netlify.toml syntax reference
- Build settings and deploy contexts
- Redirects and proxy rules
- Headers and cache rules
- Scheduled functions and edge functions
Ratings & Reviews
No ratings yet
Be the first to rate netlify/netlify-config.
People also visit
netlify/netlify-config FAQ
What does this skill do?
It helps a coding assistant write and explain the netlify.toml file for a Netlify site.
How do I install it?
Run npx skills add https://github.com/netlify/context-and-tools --skill netlify-config, or paste the skill link into your coding assistant and ask it to install the skill.
What can the file control?
Build settings, redirects, headers, deploy contexts, environment variables, functions and edge functions.
Can it add SPA redirects?
Yes. The page covers catch-all redirects so client-side routing works after a hard refresh.
What are the best netlify/netlify-config alternatives?
Popular alternatives to netlify/netlify-config include netlify-config, netlify-deploy and openai/netlify-deploy. See all netlify/netlify-config alternatives


