Skills for Claude Code CLI such as full stack dev Cloudflare, React, Tailwind v4, and AI integrations.
Python aianthropicautomationclaude-codeclaude-skillscloudflaredevtoolsproductivityreactskillstailwindvite
feat(product-showcase): deployment options, enquiry forms, SEO, additional pages
Jeremy Dawes6de4aefbc3d9
diff --git a/plugins/frontend/skills/product-showcase/SKILL.md b/plugins/frontend/skills/product-showcase/SKILL.mdindex bd6b76b8..661a88d1 100644--- a/plugins/frontend/skills/product-showcase/SKILL.md+++ b/plugins/frontend/skills/product-showcase/SKILL.md@@ -348,12 +348,130 @@ Extract the app's primary colour and use it for subtle gradient backgrounds on s.cta-banner { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; }```+## Deployment++The showcase site needs to be hosted somewhere real — not just opened from a file. Choose based on what's available:++### Option 1: Cloudflare Workers with Static Assets (recommended)++If the app being showcased is already on Cloudflare, deploy the showcase as a Worker too:++```bash+# In the showcase/ directory, create a minimal wrangler.jsonc:+{+ "name": "myapp-showcase",+ "main": "src/index.ts", // or use static-only pattern+ "compatibility_date": "2026-03-01",+ "assets": { "directory": "./" }+}++npx wrangler deploy+```++Or attach a custom domain: `showcase.myapp.com` or `myapp.com` (if the app itself is at `app.myapp.com`).++### Option 2: Cloudflare Pages (drag-and-drop)++Dashboard → Pages → Create → Upload assets → drag the `showcase/` folder. Gets a `.pages.dev` URL instantly.++### Option 3: Static host (Netlify, Vercel, GitHub Pages)++Any static host works — it's just HTML + CSS + images. No server-side code.++### Custom Domain++For a professional showcase, always use a custom domain:+- `myapp.com` — showcase is the main site, app is at `app.myapp.com`+- `www.myapp.com` → showcase, `app.myapp.com` → the actual app++## Contact / Enquiry Forms++Every showcase needs a way for interested people to get in touch. Don't just put "email us" — add a real form.++### Pattern 1: Formspree / Formsubmit (no backend needed)++```html+<form action="https://formspree.io/f/YOUR_FORM_ID" method="POST">+ <input type="text" name="name" placeholder="Your name" required>+ <input type="email" name="email" placeholder="Your email" required>+ <textarea name="message" placeholder="Tell us about your needs"></textarea>+ <button type="submit">Get in Touch</button>+</form>+```++Free tier handles most showcase volumes. Submissions go to your email.++### Pattern 2: Cloudflare Worker endpoint++If the showcase is on Workers, add a `/api/enquiry` route:++```typescript+app.post('/api/enquiry', async (c) => {+ const { name, email, message } = await c.req.json();+ // Send via SMTP2Go, Resend, or store in D1+ await sendEmail({ to: '[email protected]', subject: `Enquiry from ${name}`, body: message });+ return c.json({ success: true });+});+```++### Pattern 3: Turnstile + email (spam protection)++Add Cloudflare Turnstile to prevent bot submissions:+```html+<div class="cf-turnstile" data-sitekey="YOUR_SITE_KEY"></div>+```++Verify the token server-side before processing the submission.++### What the form should capture++| Field | Required | Why |+|-------|----------|-----|+| Name | Yes | Personalise follow-up |+| Email | Yes | Reply channel |+| Company/Role | No but helpful | Qualify the lead |+| Message / "What are you looking for?" | No but helpful | Context for response |+| Phone | No | Some people prefer a call |++**After submission**: redirect to a thank-you page or show an inline confirmation. Don't just reset the form silently.++## Additional Pages Worth Generating++| Page | When to include | What it does |+|------|----------------|-------------|+| **Pricing** | If pricing is defined | Tier cards, feature comparison, FAQ about billing |+| **About** | For products with a story | Who built it, why, the journey (pairs with jez-voice) |+| **Changelog** | For shipped products | Recent updates, shows the product is actively developed |+| **Docs link** | If app-docs exist | Link to the user guide generated by `/app-docs` |+| **Blog / Articles** | If content exists | Link to newsletter archive or blog posts about the product |+| **Privacy / Terms** | Always | Even placeholder — shows legitimacy |+| **Status page** | For SaaS | Link to uptime monitoring (Cloudflare health checks) |++## SEO Basics++Every showcase page should have:+```html+<title>[App Name] — [Tagline]</title>+<meta name="description" content="[One sentence value proposition]">+<meta property="og:title" content="[App Name]">+<meta property="og:description" content="[Value proposition]">+<meta property="og:image" content="screenshots/hero.png">+<link rel="canonical" href="https://myapp.com/">+```++For multi-page: each page gets its own title and description. Don't use the same meta across all pages.++Use the `seo-local-business` skill for JSON-LD if the product serves a specific location.+## Quality Rules1. **Only screenshot real features** — don't fabricate capabilities the app doesn't have-2. **Choose the best screenshots** — not every page is showcase-worthy. Pick the ones that tell the product story.+2. **Choose the best screenshots** — not every page is showcase-worthy. Pick the ones that tell the product story3. **Write benefit-focused copy** — "See all your contacts in one place" not "Contact list page"4. **Browser frames on screenshots** — always wrap in the CSS mockup for professional appearance5. **Consistent screenshot size** — all at 1280x720 for the captures, CSS handles display sizing6. **No fake testimonials** — leave the section out if none provided7. **No invented statistics** — leave stats blocks empty if no real data+8. **Forms must submit somewhere** — never ship a form that goes nowhere+9. **Every page needs navigation** — consistent nav, mobile hamburger, CTA always visible+10. **Deploy to a real URL** — don't leave it as local files. A showcase needs to be shareable.