From superpowers
Deploys AI-generated websites to Vercel, Netlify, Cloudflare Pages, or GitHub Pages using CLI workflows, framework configs for Next.js and Vite, env vars, and custom domains.
npx claudepluginhub lunartech-x/superpowers --plugin superpowersThis skill uses the workspace's default tool permissions.
Deploy websites created with AI coding assistants to production using Vercel, Netlify, Cloudflare Pages, or GitHub Pages.
Guides step-by-step deployment of static sites, React/Vue/Next.js/Nuxt frontends, Python (Flask/FastAPI/Django) or Node.js (Express/Nest) backends to Vercel, Netlify, Cloudflare Pages, Railway, Render. Prepares build configs, env vars, gitignore.
Deploys AI-generated static websites to Netlify via manual drag-and-drop or GitHub integration. Use for hosting sites, obtaining live URLs, or publishing Anti-Gravity projects.
Deploys web projects to Vercel without authentication by packaging into tarball, auto-detecting frameworks like Next.js, React, Vue, Svelte, Astro from package.json; returns preview URL and claim link.
Share bugs, ideas, or general feedback.
Deploy websites created with AI coding assistants to production using Vercel, Netlify, Cloudflare Pages, or GitHub Pages.
After an AI assistant generates your website code, follow this workflow to deploy it live:
# Install Vercel CLI
npm i -g vercel
# Deploy from project directory
vercel
# Follow prompts to:
# - Link to Vercel account
# - Configure project settings
# - Deploy to preview URL
# Deploy to production
vercel --prod
# Install Netlify CLI
npm i -g netlify-cli
# Login and initialize
netlify login
netlify init
# Deploy draft
netlify deploy
# Deploy to production
netlify deploy --prod
# Install Wrangler CLI
npm i -g wrangler
# Login
wrangler login
# Deploy
wrangler pages deploy ./dist
# In your repo, enable GitHub Pages:
# Settings → Pages → Source: GitHub Actions
# Or use gh-pages package
npm i -g gh-pages
gh-pages -d dist
vercel.json){
"version": 2,
"builds": [
{ "src": "package.json", "use": "@vercel/next" }
],
"routes": [
{ "src": "/(.*)", "dest": "/" }
]
}
netlify.toml)[build]
command = "npm run build"
publish = "dist"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200
# Set in dashboard or wrangler.toml
# Build command: npm run build
# Build output directory: dist
# Root directory: /
// vite.config.js
export default {
base: '/', // or '/repo-name/' for GitHub Pages
build: {
outDir: 'dist'
}
}
// next.config.js
module.exports = {
output: 'export', // For static export
// or leave default for Vercel serverless
}
# No build step needed
# Just deploy the folder containing index.html
vercel ./public
# or
netlify deploy --dir=./public
# Vercel
vercel env add VARIABLE_NAME
# Netlify
netlify env:set VARIABLE_NAME "value"
# Cloudflare
wrangler secret put VARIABLE_NAME
.env Files# .env.production
VITE_API_URL=https://api.example.com
NEXT_PUBLIC_API_KEY=xxx
[!WARNING] Never commit secrets to git. Use platform environment variables for sensitive data.
vercel domains add yourdomain.com
# Update DNS: Add CNAME record pointing to cname.vercel-dns.com
netlify domains:add yourdomain.com
# Update DNS per Netlify instructions
# Add custom domain in Cloudflare dashboard
# If using Cloudflare DNS, it's automatic
# .github/workflows/deploy.yml
name: Deploy
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install & Build
run: |
npm ci
npm run build
- name: Deploy to Vercel
uses: amondnet/vercel-action@v25
with:
vercel-token: ${{ secrets.VERCEL_TOKEN }}
vercel-org-id: ${{ secrets.ORG_ID }}
vercel-project-id: ${{ secrets.PROJECT_ID }}
vercel-args: '--prod'
npm run build succeeds locallyrobots.txt and sitemap.xml present (SEO)| Feature | Vercel | Netlify | Cloudflare | GitHub Pages |
|---|---|---|---|---|
| Free Tier | Generous | Generous | Generous | Unlimited |
| Build Time | Fast | Fast | Very Fast | Moderate |
| Serverless | ✅ Edge Functions | ✅ Functions | ✅ Workers | ❌ |
| Best For | Next.js, React | Static, JAMstack | Speed-critical | Simple sites |
| Custom Domain | ✅ Free | ✅ Free | ✅ Free | ✅ Free |
# Check build logs
vercel logs
netlify build
# Common fixes:
# - Missing dependencies in package.json
# - Node version mismatch (specify in config)
# - Environment variables not set
# For SPAs, add redirect rule:
# All routes → /index.html
# Vercel: vercel.json rewrites
# Netlify: _redirects file or netlify.toml
# Check base path in build config
# Ensure paths are relative or use correct base URL