/anglesite:contactfrom anglesite
Sets up a contact form using Cloudflare Workers and Turnstile spam protection, forwarding messages to the owner's email without exposing the address.
Ships in anglesite. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Set up a contact form that forwards messages to the owner's email. Uses a Cloudflare Worker backend with Turnstile spam protection. By default no data is stored — messages are forwarded and discarded. To also persist them to a browseable inbox in Keystatic, run /anglesite:inbox after this skill completes.
Read EXPLAIN_STEPS from .site-config. If true or not set, explain before every tool call that will trigger a permission prompt — tell the owner what you're about to do and why in plain English. If false, proceed without pre-announcing tool calls.
Read .site-config and verify:
CF_PROJECT_NAME is set (site has been deployed at least once)SITE_DOMAIN is set (custom domain configured)If either is missing, tell the owner: "The contact form needs your site to be deployed first. Run /anglesite:deploy to set up Cloudflare, then come back here."
If CONTACT_WORKER_URL is already set in .site-config, the contact form is already configured. Ask the owner if they want to reconfigure it or if they need help with something else.
Ask: "What email address should contact form messages go to?"
Save it to .site-config as [email protected] using the Write tool (update the existing file).
Also add it to the PII allowlist so the pre-deploy scan doesn't flag it:
PII_EMAIL_ALLOW exists, append the email (comma-separated)[email protected]Tell the owner: "To protect your contact form from spam, we'll use Cloudflare Turnstile — it's a free, privacy-friendly alternative to CAPTCHA. Let's set it up."
Guide them through the Cloudflare dashboard:
https://dash.cloudflare.com/?to=/:account/turnstileSITE_NAME in .site-configSITE_DOMAIN in .site-configThe dashboard will show a Site Key and a Secret Key. Ask the owner to share both.
Save the site key to .site-config as TURNSTILE_SITE_KEY=0x... using the Write tool.
Tell the owner: "I'll need to save the secret key securely in Cloudflare — it won't be stored in your code."
Tell the owner: "I'm setting up the server that will receive contact form submissions and forward them to your email."
Deploy the Worker first — secrets attach to an existing Worker:
npx wrangler deploy --config worker/wrangler.toml
Then set its three secrets by following ${CLAUDE_PLUGIN_ROOT}/docs/worker-secrets.md with --config worker/wrangler.toml. wrangler secret put cannot be used here: it prompts for input the shell can't supply.
| Secret | Value |
|---|---|
TURNSTILE_SECRET_KEY | the Secret Key the owner shared in Step 2 |
CONTACT_EMAIL | the address messages are forwarded to, from Step 1 |
SITE_DOMAIN | SITE_DOMAIN from .site-config (e.g., example.com) |
After deployment, Wrangler prints the Worker URL (e.g., https://contact-form.ACCOUNT.workers.dev). Save it to .site-config as CONTACT_WORKER_URL=https://... using the Write tool.
The Content Security Policy in public/_headers needs to allow form submissions to the Worker URL.
Read public/_headers. Update the form-action directive from 'self' to 'self' WORKER_URL where WORKER_URL is the deployed Worker URL from Step 3.
Build the site to confirm the contact page works:
npm run build
If the build succeeds, tell the owner: "Your contact form is ready! Here's what we set up:"
/contact page with a simple form (name, email, message)/contact/thanks page shows after submissionTell the owner: "You can try it out on your preview site. Run /anglesite:deploy when you're ready to publish it."
Suggest adding a link to the contact page in their site navigation (header or footer). If they want a copy of every submission accessible inside the CMS instead of digging through email, run /anglesite:inbox to add a Keystatic inbox view (KV-backed; works for both contact and /anglesite:forms).
What SKILL.md sets; muted values are Claude Code's defaults
Use when the owner wants a contact form so visitors can send messages without exposing an email address.
Three short reads, in order
56 skills in this plugin
/add-storeAdd ecommerce to the site — picks and sets up a provider for physical goods, digital downloads, services, or software/animateDesign CSS animations: hover effects, scroll reveals, page transitions/backupBack up site changes to GitHub, or restore an earlier snapshot/bookingEmbed appointment scheduling (Cal.com or Calendly) into the site/business-infoCollect and display business hours, address, phone, and LocalBusiness JSON-LD/buy-buttonAdd a buy button to sell a product, service, or digital good (Stripe or Polar)npx claudepluginhub anglesite/anglesite-skills --plugin anglesiteOther plugins' skills for the same job