deploy-automation
One-click deploy to production. User just says "deploy".Use when: user wants to publish their app.Triggers: "deploy", "publish", "go live", "опубликуй".
When & Why to Use This Skill
The Deploy Automation skill enables seamless, one-click production deployments directly through Claude. It supports major platforms like Vercel, Fly.io, Cloudflare, and Netlify, handling everything from pre-deploy security checks and environment variable configuration to final production URL generation. This tool minimizes manual DevOps overhead and ensures consistent, error-free releases for web applications and APIs.
Use Cases
- Rapidly deploying Next.js applications to Vercel with automated environment variable mapping and production URL retrieval.
- Deploying containerized FastAPI or Postgres-backed applications to Fly.io, including Dockerfile generation and secret management.
- Publishing edge-native Hono applications to Cloudflare Workers or static landing pages to Netlify with a single 'deploy' command.
- Ensuring production readiness by automatically running pre-deploy checks for passing tests, console log removal, and build success.
| name | deploy-automation |
|---|---|
| description | | |
| Use when | user wants to publish their app. |
| Triggers | "deploy", "publish", "go live", "опубликуй". |
Deploy Automation
Deploy to production with one command.
Platform Selection
Based on template:
| Template | Platform | Why |
|---|---|---|
| nextjs-supabase | Vercel | Native Next.js support |
| fastapi-postgres | Fly.io | Docker + persistent DB |
| hono-drizzle | Cloudflare | Edge-native |
| landing-page | Netlify/Vercel | Static hosting |
Deploy Process
Vercel (Next.js)
- Check Vercel CLI installed
- Set environment variables
vercel --prod- Return production URL
Fly.io (FastAPI)
- Generate Dockerfile if missing
- Create fly.toml
- Set secrets
fly deploy- Return production URL
Cloudflare (Hono)
- Configure wrangler.toml
- Set secrets
wrangler deploy- Return workers.dev URL
Netlify (Static)
- Build static files
netlify deploy --prod- Return production URL
Pre-Deploy Checks
- All tests pass
- No console.log
- Environment variables set
- Build succeeds
- No security issues
Environment Variables
Template for each platform:
# Supabase
NEXT_PUBLIC_SUPABASE_URL=
NEXT_PUBLIC_SUPABASE_ANON_KEY=
SUPABASE_SERVICE_ROLE_KEY=
# PostgreSQL
DATABASE_URL=
SECRET_KEY=
# General
NODE_ENV=production
User Experience
User: "Deploy this"
- "Deploying to [platform]..."
- Run pre-deploy checks
- Build production
- Deploy
- "✅ Live at https://your-app.vercel.app"
Custom Domains
After initial deploy:
- "Add domain" → configure DNS
- Auto-SSL via platform
- "✅ Live at https://yourdomain.com"