What problem does it solve?
This Skill solves the problem of setting up and troubleshooting Netlify deployment behavior by providing a comprehensive reference for writing correct netlify.toml configuration.
Core Features & Use Cases
- Build configuration: Define base directories, build commands, and publish output folders to match your project structure.
- Routing and redirects: Create SPA catch-alls, wildcard splats, path-parameter mappings, and forced overrides with correct rule ordering.
- Headers and caching: Apply security headers and long-lived caching headers for static assets served by Netlify’s CDN.
- Deploy contexts and environment variables: Customize commands and environment values for production, previews, branches, and dev.
- Functions and Edge Functions: Configure function directories, bundling, scheduled jobs, and edge function routing.
- Dev server and plugins: Set local dev server behavior and include Netlify plugins like Lighthouse auditing.
- Image CDN configuration: Restrict and control remote image sources via the images configuration.
Quick Start
Ask an AI to generate a valid netlify.toml that matches your build command, SPA routing needs, and desired security and caching headers, then apply it to your repository root.