netlify
Skill15 starsChanged 2 months agoMITView on GitHub
Expert Netlify assistance covering continuous deployments, Netlify Functions, edge redirects (_redirects), and form handling. Use when deploying frontend Jamstack applications and edge web services.
- Reads credentials
- Installs packages
2 other projects use a version of this.
Adopted by
Most recently taken up by
- conjure-3301/skillstheir own version, first seen Aug 17, 2026
- FuturePresentLabs/agent-skillstheir own version, first seen Feb 1, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- FuturePresentLabs/agent-skills★ 1same name
- conjure-3301/skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository350 other files it gives its agents.
- airflowSkill
- catboostSkill
- claudeSkill
- comfyuiSkill
- cursor-aiSkill
- dalleSkill
- daskSkill
- dbtSkill
- deepseekSkill
- fastaiSkill
- geminiSkill
- github-copilotSkill
- huggingfaceSkill
- jaxSkill
- jupyterSkill
- kerasSkill
- langchainSkill
- lightgbmSkill
- llamaindexSkill
- llamaSkill
- matplotlibSkill
- midjourneySkill
- mistralSkill
- mlflowSkill
- nltkSkill
- numpySkill
- ollamaSkill
- openai-gptSkill
- opencvSkill
- pandasSkill
- perplexitySkill
- plotlySkill
- polarsSkill
- pytorchSkill
- raySkill
- scikit-learnSkill
- seabornSkill
- spacySkill
- sparkSkill
- stable-diffusionSkill
- tensorflowSkill
- vaexSkill
- weights-biasesSkill
- whisperSkill
- xgboostSkill
- api-gatewaySkill
- clean-architectureSkill
- cqrsSkill
- domain-driven-designSkill
- event-drivenSkill
- event-sourcingSkill
- graphqlSkill
- grpcSkill
- hexagonalSkill
- microservicesSkill
- modular-monolithSkill
- monolithSkill
- rest-apiSkill
- sagaSkill
- serverlessSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 1 is distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 150
Use netlify-honeypot on HTML forms to prevent automated spam bot submissions.
- Distinctive: line 151
Use Netlify Edge Functions for auth checks, localized redirects, and A/B testing at the CDN layer.
- Very specific: line 152
Test builds and serverless functions locally using the Netlify CLI (netlify dev).
- Very specific: line 156
Commit .env files containing production secrets.
- Very specific: line 157
Use client-side redirects when Netlify edge redirects ([[redirects]]) execute significantly faster.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Netlify
Netlify is an essential platform for modern web architectures, providing automated git-based deployments, edge compute, serverless functions, and unified frontend caching primitives.
When to Use
- Modern Frontend & Jamstack Deployment: Automated git-triggered builds, preview URLs, and global edge CDN hosting.
- Netlify Edge Functions: Running low-latency serverless TypeScript code at the edge using Deno runtime.
- Serverless Form Handling & Identity: Zero-backend form submissions and user authentication.
- Branch Previews & Collaborative Feedback: Generating unique preview environments for every pull request with visual commenting.
Quick Start
npm i -g netlify-cli
# Run local dev environment (simulates Lambda/Edge)
netlify dev
# Deploy
netlify deploy --prodCore Concepts
Declarative Configuration with netlify.toml
Defining build commands, headers, and SPA redirects:
# netlify.toml
[build]
command = "npm run build"
publish = "dist"
[build.environment]
NODE_VERSION = "22"
# Security headers across all pages
[[headers]]
for = "/*"
[headers.values]
X-Frame-Options = "DENY"
X-Content-Type-Options = "nosniff"
Strict-Transport-Security = "max-age=63072000; includeSubDomains; preload"
Referrer-Policy = "strict-origin-when-cross-origin"
# Single Page App redirect: forward all unhandled paths to index.html
[[redirects]]
from = "/*"
to = "/index.html"
status = 200
# Proxy internal API to external microservice backend
[[redirects]]
from = "/api/*"
to = "https://api.backend-internal.com/:splat"
status = 200
force = trueNetlify Edge Functions (Deno Runtime)
Running geolocation-based transforms directly at the edge:
// netlify/edge-functions/geo-routing.ts
import type { Context } from "@netlify/edge-functions";
export default async (request: Request, context: Context) => {
const country = context.geo?.country?.code || "US";
// Redirect visitors from specific regions
if (country === "FR") {
return new Response(null, {
status: 302,
headers: { Location: "/fr" },
});
}
// Pass request through to original destination with custom headers
const response = await context.next();
response.headers.set("x-visitor-country", country);
return response;
};
export const config = {
path: "/*",
};Automated Netlify Forms
Collecting form submissions without writing backend endpoints:
<!-- Native Netlify form capture -->
<form
name="contact-us"
method="POST"
data-netlify="true"
netlify-honeypot="bot-field"
>
<input type="hidden" name="form-name" value="contact-us" />
<p class="hidden"><input name="bot-field" /></p>
<label>Email: <input type="email" name="email" required /></label>
<label>Message: <textarea name="message" required></textarea></label>
<button type="submit">Send Message</button>
</form>Common Patterns
Declarative netlify.toml with SPA Fallback and Security Headers
Problem: SPA routes returning 404 on browser refresh, combined with missing security response headers.
Solution:
Define routing and headers in netlify.toml:
[build]
command = "npm run build"
publish = "dist"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200
[[headers]]
for = "/*"
[headers.values]
X-Frame-Options = "DENY"
X-Content-Type-Options = "nosniff"
Referrer-Policy = "strict-origin-when-cross-origin"Best Practices
Do:
- Store all routing, redirects, headers, and build commands in
netlify.tomlfor version-controlled reproducibility. - Use
netlify-honeypoton HTML forms to prevent automated spam bot submissions. - Use Netlify Edge Functions for auth checks, localized redirects, and A/B testing at the CDN layer.
- Test builds and serverless functions locally using the Netlify CLI (
netlify dev).
Don't:
- Commit
.envfiles containing production secrets; configure environment variables in Netlify UI. - Use client-side redirects when Netlify edge redirects (
[[redirects]]) execute significantly faster. - Store large persistent media assets in Git; link to external storage like Cloudinary or S3.
Troubleshooting
| Error | Cause | Solution |
Page Not Found (404) on route refresh | Missing SPA catch-all redirect rule to /index.html. | Add /* /index.html 200 to _redirects or netlify.toml. |
Build failed: command not found: ... | Tool or framework dependency not declared in package.json. | Ensure dependencies are in dependencies or devDependencies. |
Function invocation timed out (default 10s) | Netlify serverless function taking longer than execution limit. | Optimize database calls or request timeout extension in site settings. |
References
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

