Communitygithub.com

6mb-Systems/sg-website

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

Was ist sg-website?

sg-website is a Claude Code agent skill that implement a secure, spam-resistant contact form with optional Mailchimp integration.

Funktioniert mit~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/6mb-Systems/sg-website/tree/HEAD/.cursor/skills/contact-form

In Ihrer bevorzugten KI fragen

Öffnet einen neuen Chat, in dem dieser Agent-Skill bereits geladen ist.

Dokumentation

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.

Individual skills in this repo

This repo contains 4 individual skills — each has its own dedicated page.

Verwandte Skills