Netlify Config
Reference for netlify.toml, _redirects, and _headers covering builds, routing, deploy contexts, and environment variables.
- CCM score
- 75 of 100
- skills.sh installs
- 3.8K
- GitHub stars
- 57
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers build command and publish directory setup, deploy contexts, monorepo base directories, and JavaScript SPA wiring
- Includes redirect and rewrite rules with splats, placeholders, query params, and country or language conditions, plus proxies and custom headers
- Enforces that netlify.toml overrides UI settings, and that redirect and header rules are global rather than branch-scoped
- Designed for developers configuring Netlify builds, routing, functions bundling, or environment variables through the Netlify CLI
Install
$ npx -y skills add netlify/context-and-tools --skill netlify-config -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Netlify configuration
Config lives in three files at the repo root (or the base/package directory for monorepos):
netlify.toml: build, contexts, plugins, functions, server, redirects, headers, dev._redirects: plain-text redirect/rewrite rules, saved to the publish directory, no extension._headers: plain-text response headers, saved to the publish directory.
netlify.toml values take precedence over the Netlify UI when they conflict. Paths in netlify.toml are absolute relative to the base directory (root / by default).
Details
- Repository
- github.com/netlify/context-and-tools
- Categories
- DevOps & Cloud, Frontend & UI Code
- First seen
- Jun 3, 2026
Questions
What does the netlify-config skill do?
It is a reference for netlify.toml configuration and site environment variables, covering build settings, redirects, rewrites, headers, deploy contexts, and the [dev] block. It also covers managing environment variables and secrets with the Netlify CLI, including scoping values to specific deploy contexts.
How do I install the netlify-config skill?
Run npx -y skills add netlify/context-and-tools --skill netlify-config -y in your project. This installs the netlify-config skill into the project so your coding agent can use it.
Which other skills sit in the DevOps & Cloud category with netlify-config?
netlify-config is in the DevOps & Cloud category on Claude Marketplaces, alongside azure-diagnostics, azure-prepare, azure-deploy, azure-validate and azure-storage. It sets itself apart by focusing on the complete netlify.toml syntax, including redirects with splats and conditions, headers and the [dev] block.
Does netlify-config handle environment variables and secrets?
Yes, it covers managing environment variables and secrets with the Netlify CLI, including scoping values to specific deploy contexts. It also covers marking a variable as secret, disabling secret scanning, and handling sensitive variables in fork Deploy Previews.
More from netlify/context-and-tools
All 12Similar to Netlify Config
More DevOps & Cloudnetlify-frameworksnetlify/context-and-tools3.6K installsNetlify deployment guide for web frameworks covering adapters, SSR, build settings, and local emulation.
netlify-deploynetlify/context-and-tools4K installsModern Netlify CLI and Git workflow guide for deploying, previewing, and managing web project deploys.
netlify-developmentmindrally/skills711 installsNetlify development guidance covering serverless, edge, background, and scheduled functions, plus Blobs and build config.
vercel-networking-domainsbobmatnyc/claude-mpm-skills371 installsVercel networking reference for domains, DNS, redirects, rewrites, headers, CDN, edge cache, and regions.
nextjs-env-variablesbobmatnyc/claude-mpm-skills153 installsGuide to Next.js environment variables covering file precedence, variable types, and deployment setup.
vercel-deploymentsickn33/agentic-awesome-skills1.8K installsExpert guidance for deploying Next.js projects to Vercel, with previews, environments, and rollback checks.