LaunchKit · 2026

Setup & Installation

npx skills add https://github.com/netlify/context-and-tools --skill netlify-config
or paste the link and ask your coding assistant to install it
https://github.com/netlify/context-and-tools/tree/main/skills/netlify-config
View on GitHub

What This Skill Does

Covers the complete netlify.toml configuration syntax for defining build settings, redirects, headers, deploy contexts, environment variables, functions, and edge functions. The file sits at the repository root and controls how Netlify builds and serves your site.

Having all redirect rules, headers, and context-specific environment variables in one committed file means deploy behavior is version-controlled and reproducible, rather than scattered across the Netlify UI where changes are hard to track or review.

When to use it

  • Setting different build commands for production, preview, and staging deploy contexts
  • Adding Cache-Control headers to asset paths without touching application code
  • Configuring SPA catch-all redirects so client-side routing works after a hard refresh
  • Proxying requests from /api/* to an external backend without exposing the URL in frontend code
  • Scheduling a Netlify function to run daily using the functions config block