Netlify forms setup
Adds contact, signup and upload forms to a Netlify site with no backend, and fixes lost or spammed entries.
Claude's review
9/10 Precise Netlify Forms guidance with gotchas and working code.
We asked Claude the question you would ask: would I be glad I installed this? We only sell skills it rates 7 or higher.
In detail
Use this skill whenever a developer wants to add a contact form, signup form, file upload form, or any HTML form to a Netlify site without a backend, or asks why form submissions are missing, going to spam, or returning 404. It covers data-netlify form markup, AJAX/fetch submission, React/Vue/Next.js/Nuxt/SvelteKit/Astro JS-rendered or SSR forms that need a static skeleton, custom thank-you pages, honeypot or reCAPTCHA spam protection, email/Slack/webhook notifications and subject lines, reading or exporting submissions through the Netlify API, and triggering functions on form submission.
How you use it
- Add it to your pack, then download your pack (1 credit).
- In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
- Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide
Safety check
Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: netlify-forms
description: Use this skill whenever a developer wants to add a contact form, signup form, file upload form, or any HTML form to a Netlify site without a backend, or asks why form submissions are missing, going to spam, or returning 404. It covers data-netlify form markup, AJAX/fetch submission, React/Vue/Next.js/Nuxt/SvelteKit/Astro JS-rendered or SSR forms that need a static skeleton, custom thank-you pages, honeypot or reCAPTCHA spam protection, email/Slack/webhook notifications and subject lines, reading or exporting submissions through the Netlify API, and triggering functions on form submission.
---
# Netlify Forms
## Use this / not that
```html
<!-- ✅ Reach for this -->
<form name="contact" method="POST" data-netlify="true"> … </form>
```
```js
// ✅ URL-encoded body built from FormData
fetch(target, {
method: "POST",
headers: { "Content-Type": "application/x-www-form-urlencoded" },
body: new URLSearchParams(new FormData(form)).toString(),
});
// ❌ JSON is NOT supported. Submissions are lost.
fetch(target, { method: "POST", body: JSON.stringify(data) });
```
- `netlify` (bare attribute) works the same as `data-netlify="true"`.
- `data-remove-prefix` only applies to legacy forms created before May 5, 2023. Don't add it to new forms.
> ⚠️ **Prerequisite:** enable **Forms > Enable form detection** in the UI (https://app.netlify.com/projects/{site_name}/forms), then **redeploy**. Without detection, new or changed forms accept no submissions. Enabling has no effect until the next deploy.
## How detection works
- At deploy time, Netlify parses the **static HTML output** and finds `<form>` tags with `data-netlify="true"` or `netlify`.
- It strips that attribute (and `netlify-honeypot`) and injects `<input type="hidden" name="form-name" value="<name>">`.
- The form `name` is the form's identity in the UI. It must be unique per site.
- Fields are identified by their `name` attributes. Multi-selects can use `name="role[]"`.
- Forms rendered only by client-side JS or SSR are invisible to the build. They need a static HTML counterpart.
## Static HTML form (complete)
...From netlify's repository, MIT licence.
Related skills
-
Checked
Website cloner
Rebuilds an existing web page as working local code that matches its content, assets, layout and interactions.
8/101 credit -
Checked
Immersive website design
Designs immersive, award level websites with bold type, scroll storytelling and purposeful motion.
7/101 credit -
Checked
Website structure planner
Plans the pages your site needs, its navigation, URLs and internal links, including for site migrations.
7/101 credit -
Checked
Sitemap and URL planner
Maps your pages, menus, URLs and internal links into one plan, so visitors and search engines find every page.
7/101 credit -
Checked
Web design builder
Builds polished web pages, dashboards and prototypes in HTML, CSS and React, then checks them in a browser.
8/101 credit -
Checked
AI search optimiser
Audits your site's code and makes changes so ChatGPT, Perplexity and AI Overviews can find and quote it.
7/101 credit