astro-forms

Automate server-side form validation and submission handling for Astro sites.

4|1|Updated Dec 21, 2025
One-click install
npx skills add https://github.com/Soborbo/claudeskills --skill astro-forms
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: astro-forms
Source: https://github.com/Soborbo/claudeskills/tree/main/astro-forms
Command: npx skills add https://github.com/Soborbo/claudeskills --skill astro-forms

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and assets (resource) components.

What problem does it solve?

This Skill provides a complete server-side form infrastructure for Astro apps, handling validation, processing, storage, and notifications without relying on UI code.

Core Features & Use Cases

  • Zod-based server-side validation and schema enforcement.
  • Email delivery with Resend primary and Brevo fallback to notify stakeholders and confirm submissions.
  • Rate limiting and Turnstile-based spam protection to prevent abuse.
  • Data storage into Google Sheets and traceable submission records.
  • Use Case: Marketing sites with contact forms and lead-gen calculators can automatically validate input, store leads, and notify teams.

Quick Start

  • Ensure environment variables for Turnstile, Resend API, Brevo, and Sheets webhook are configured.
  • Wire the form submission route to validate inputs, enforce GDPR, and trigger post-submit flows.
  • Confirm that a sample submission results in customer confirmation emails and business notifications.

Frequently Asked Questions about astro-forms

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I handle server-side form validation and GDPR compliance in Astro?

Server-side form validation and GDPR compliance in Astro can be handled automatically using Zod schemas, Turnstile CAPTCHA, and rate limiting to enforce data protection and prevent abuse. This ensures reliable conversions without relying on client-side UI code.

What is the best way to store Astro contact form submissions in Google Sheets?

Storing Astro contact form submissions in Google Sheets is best handled by routing data through a server-side processor that validates inputs with Zod and pushes traceable submission records directly to your Sheets webhook.

How do I set up email delivery for lead-gen forms in Astro with a fallback provider?

Email delivery for lead-gen forms in Astro can be configured by sending notifications via Resend as the primary provider, with Brevo as an automatic fallback to ensure stakeholders receive submission alerts without interruption.

Does this Astro form handler work with Turnstile CAPTCHA and rate limiting?

Yes, this Astro form handler works with Turnstile CAPTCHA and rate limiting. It integrates both mechanisms directly into the server-side workflow to prevent automated spam and abuse on contact forms and lead-gen calculators.

Can I use Zod schema enforcement for calculator workflows on my Astro site?

Yes, you can use Zod schema enforcement for calculator workflows on your Astro site. The validation layer processes inputs server-side, ensuring calculation data is strictly typed and secure before storage or notification.