surge-deploy
Installation
SKILL.md
Surge Deploy
Deploy any website's build output to the web in seconds using surge.sh. Works with React, Vite, Vue, Next.js (static export), Astro, SvelteKit, Hugo, 11ty, plain HTML - anything that produces a folder of static files after build.
Scope: Surge serves static files. If the project needs server-side rendering, serverless functions, or API routes at runtime, use Vercel/Netlify instead.
Domain Memory
Surge deploy tracks the domain for each project so re-deploys always go to the same URL.
How it works
After a successful first deploy, save the domain in a .surge-domain file at the project root:
echo "my-project.surge.sh" > .surge-domain
On every subsequent deploy, always check for this file first: