Cloud Deploy Skill
Triggers
- deploy
- vercel
- railway
- aws
- sst
- serverless
- lambda
- flightcontrol
- neon
- supabase
Purpose
To configure rapid, developer-friendly deployments on modern PaaS and Serverless platforms.
Capabilities
1. Vercel (Frontend & Edge)
- Config:
vercel.jsonfor headers, redirects, and clean URLs. - Edge Functions: Deploying middleware and lightweight backend logic.
- Preview Mode: Setting up preview comments on PRs.
2. Railway (Backend & DBs)
- Config:
railway.tomlfor build commands and monorepo root. - Databases: Provisioning Postgres, Redis, MySQL plugins.
- Variables: Managing secrets and environment variables.
3. AWS (SST / CDK)
- SST: Defining
sst.config.tsfor serverless stacks (Next.js, API Gateway, DynamoDB). - Constructs: Using high-level constructs for easy setup (Cron, Bucket, Queue).
- IAM: Setting up fine-grained permissions for functions.
Instructions
- Platform Choice:
- Frontend/Fullstack JS: Vercel.
- Docker/Stateful/Backend: Railway.
- Enterprise/Complex/Serverless: AWS (via SST).
- Environment Parity: Ensure
.envvars match across local and cloud (but values differ). - Infrastructure as Code: Always define the deployment config locally (don't click-ops settings).
Deliverables
vercel.jsonrailway.tomlsst.config.ts