contact-form-vercel

star 0

Implement a secure, spam-resistant contact form with optional Mailchimp integration.

6mb-Systems By 6mb-Systems schedule Updated 1/31/2026

name: contact-form-vercel description: Implement a secure, spam-resistant contact form with optional Mailchimp integration.

Contact Form (Vercel)

Instructions for building a reliable contact form suitable for Vercel serverless environments.

When to Use

  • Creating the /contact page
  • Implementing /api/contact
  • Adding newsletter subscription via Mailchimp

Instructions

  • Build form UI using shadcn/ui components.
  • Validate all inputs server-side.
  • Implement spam protection:
    • Honeypot field
    • Basic rate limiting
    • Turnstile or reCAPTCHA
  • Send enquiry emails via an email provider (e.g. Mailgun, Postmark, SES).
  • Optionally send an auto-reply confirmation email.
  • If newsletter checkbox is selected:
    • Add/update subscriber via Mailchimp API
    • Keep Mailchimp failure non-blocking
  • Never expose secrets to the client.
  • Handle success and error states clearly.
  • Ask clarifying questions if delivery expectations or compliance requirements are unclear.
Install via CLI
npx skills add https://github.com/6mb-Systems/sg-website --skill contact-form-vercel
Repository Details
star Stars 0
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator