expose-tunnel
Installation
SKILL.md
Expose App via Cloudflare Tunnel (Production Build)
When the user asks to expose the application or start the tunnel, execute the steps below autonomously — run the Bash commands directly, do not just describe them.
Why production mode? In dev mode, Vite serves assets on a separate port with WebSocket HMR — tunnels cannot forward these. A production build bundles everything on a single port (3333).
Tool: Cloudflare Tunnel (cloudflared) — authenticated named tunnel routing to preview.miximodel.com.
Tunnel name: miximodel-preview (persistent, DNS already configured).
Public URL: https://preview.miximodel.com
Steps to Execute
1. Kill any existing processes
Stop any running server (dev or prod) and tunnel. A leftover npm run dev on port 3333 will block the prod server and the tunnel will silently serve the dev version instead.