skills/deploy-anywhere/SKILL.md
--- name: deploy-anywhere description: Deploy applications to any hosting platform — Cloudflare Pages, Vercel, Railway, Render, Fly.io, Netlify, and more. Use when: "Deploy my app", "Deploy to production", "Push this live", "Host this website". license: MIT metadata: author: swal version: "1.0.0" --- # Deploy Anywhere Universal deployment skill for static sites and full-stack applications. Supports all major hosting platforms with zero-configuration defaults. ## When to Use Trigger on th
npx skillsauth add iberi22/swal-skills skills/deploy-anywhereInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Universal deployment skill for static sites and full-stack applications. Supports all major hosting platforms with zero-configuration defaults.
Trigger on these requests:
| Platform | Best For | Auto-Detects | Output |
|----------|----------|--------------|--------|
| Cloudflare Pages | Static + SSR, free tier | ✅ Next.js, Astro, Vite, React | pages.dev |
| Vercel | Next.js, frontend | ✅ 40+ frameworks | .vercel.app |
| Netlify | Static, forms | ✅ Most static | .netlify.app |
| Railway | Full-stack, Node.js | ✅ Node projects | .railway.app |
| Render | Full-stack, databases | ✅ | .onrender.com |
| Fly.io | Docker, global edge | ✅ Dockerfiles | .fly.dev |
| GitHub Pages | Free static hosting | ✅ Jekyll, plain HTML | *.github.io |
# Static sites
npx wrangler pages deploy dist
# With GitHub integration
# Connect repo at: https://pages.cloudflare.com/
npx vercel --prod
# Or: npx vercel deploy --prod
npx netlify deploy --prod --dir dist
railway up
render deploy
The skill auto-detects these frameworks:
| Framework | Build Command | Output Dir |
|-----------|--------------|-----------|
| Next.js | npm run build | .next |
| Astro | npm run build | dist |
| Vite | npm run build | dist |
| React | npm run build | build |
| Vue | npm run build | dist |
| Nuxt | npm run build | .output |
| SvelteKit | npm run build | build |
| Plain HTML | None needed | / |
Always check for required env vars before deploying:
# Common required variables
DATABASE_URL=
API_KEY=
NEXTAUTH_SECRET=
| Setting | Value |
|---------|-------|
| Build command | npm run build |
| Build output | dist (or .next, build) |
| Node version | 20 |
Vercel auto-detects everything. No config needed.
| Setting | Value |
|---------|-------|
| Build command | npm run build |
| Publish directory | dist |
# 1. Build the project
npm run build
# 2. Deploy to Cloudflare
npx wrangler pages deploy dist
# Output:
# ✅ Deployment complete!
# URL: https://my-project.pages.dev
FROM node:20-alpine
WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY . .
RUN npm run build
EXPOSE 3000
CMD ["npm", "start"]
fly launch
fly deploy
Part of SWAL Skills — swal/iberi22
testing
Xavier2 as the central context engine for SWAL - intelligent memory, decision-making, and context orchestration. Xavier2 is the CEO brain that stores memories, coordinates agents, and maintains project state.
tools
Delegate coding tasks to Codex, Claude Code, or Pi agents via background process. Use when: (1) building/creating new features or apps, (2) reviewing PRs (spawn in temp dir), (3) refactoring large codebases, (4) iterative coding that needs file exploration. NOT for: simple one-liner fixes (just edit), reading code (use read tool), thread-bound ACP harness requests in chat (for example spawn/run Codex or Claude Code in a Discord thread; use sessions_spawn with runtime:"acp"), or any work in ~/clawd workspace (never spawn agents here). Claude Code: use --print --permission-mode bypassPermissions (no PTY). Codex/Pi/OpenCode: pty:true required.
testing
Validador automático para WorldExams. Verifica integridad técnica y calidad pedagógica, activando regeneración automática si es necesario.
tools
Generador de bundles de preguntas ICFES Colombia (Matemáticas, Lectura Crítica, Ciencias, Sociales, Inglés) para grados 6, 9 y 11 usando MiniMax MCP.