bootstrap-astro-ses

Implement an AWS SES-backed contact form API route for Astro sites.

1|Updated May 7, 2026
One-click install
npx skills add https://github.com/agoodway/GoodSkills --skill bootstrap-astro-ses
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bootstrap-astro-ses
Source: https://github.com/agoodway/GoodSkills/tree/main/skills/bootstrap-astro-ses
Command: npx skills add https://github.com/agoodway/GoodSkills --skill bootstrap-astro-ses

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the friction of wiring an Astro site’s contact form to real email delivery by setting up an end-to-end AWS SES flow with validation and an API endpoint.

Core Features & Use Cases

  • AWS SES email sending for contact submissions: Sends both HTML and plain-text emails from a contact form via a server-side API route.
  • Form validation with Zod: Ensures incoming contact payloads meet required shape and field constraints before sending.
  • Development safety switch (DISABLE_EMAIL): Prevents accidental email sends in development while preserving the same workflow.

Quick Start

Install this skill and open the site at /bootstrap-astro-ses after updating your .env values and adding the required email configuration.

Frequently Asked Questions about bootstrap-astro-ses

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

FAQPage Schema
How do I send contact form emails from an Astro site using AWS SES?

Sending contact form emails from an Astro site using AWS SES requires a server-side API route that validates payloads with Zod and dispatches HTML and plain-text messages via the AWS SES SDK, requiring an SSR-enabled Astro configuration.

How do I validate contact form payloads in an Astro API route before sending an email?

Validating contact form payloads in an Astro API route is done using Zod validation schemas to ensure incoming data meets required field constraints before the AWS SES SDK processes and sends the email.

Does this Astro AWS SES setup work for local development without sending real emails?

Yes, the Astro AWS SES setup works for local development by using a DISABLE_EMAIL environment variable safety switch that prevents accidental email sends while preserving the same development workflow.

What environment variables do I need to configure for an Astro AWS SES contact form?

Configuring an Astro AWS SES contact form requires setting AWS SES SDK credentials and the DISABLE_EMAIL safety switch in your .env file to enable server-side transactional email delivery.

Can I use AWS SES for transactional email delivery on an Astro static site?

Using AWS SES for transactional email delivery on an Astro static site requires enabling SSR mode, because sending emails demands a server-side API route to handle the AWS SES SDK and Zod validation.