Funnel-architect-plugin deploy-cloudflare
install
source · Clone the upstream repo
git clone https://github.com/ominou5/funnel-architect-plugin
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/ominou5/funnel-architect-plugin "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/deploy-cloudflare" ~/.claude/skills/ominou5-funnel-architect-plugin-deploy-cloudflare && rm -rf "$T"
manifest:
skills/deploy-cloudflare/SKILL.mdsource content
Deploy to Cloudflare Pages
Best for global CDN performance, Workers integration, and free tier generosity.
Prerequisites
- Node.js installed
- Cloudflare account (free tier includes unlimited sites)
Setup
# Install Wrangler CLI npm install -g wrangler # Login wrangler login # Deploy static site wrangler pages deploy . --project-name=my-funnel
Configuration (wrangler.toml
) — Optional
wrangler.tomlname = "my-funnel" compatibility_date = "2025-01-01" [site] bucket = "."
Custom Domain
- Pages project → Custom domains → Set up a domain
- Add CNAME record:
your-project.pages.dev - SSL is automatic with Cloudflare Universal SSL
Custom Headers (_headers
file)
_headers/*.html Cache-Control: public, max-age=300 /*.css Cache-Control: public, max-age=31536000, immutable /*.js Cache-Control: public, max-age=31536000, immutable /*.webp Cache-Control: public, max-age=31536000, immutable /* X-Content-Type-Options: nosniff X-Frame-Options: DENY Referrer-Policy: strict-origin-when-cross-origin
Redirects (_redirects
file)
_redirects/old-page /new-page 301 / /index.html 200 /* /404.html 404
Performance Benefits
- Global CDN (300+ edge locations)
- Automatic Brotli compression
- HTTP/3 support
- Free Web Analytics