.cursor/skills/cloud-deployment-expert/SKILL.md
Cloud deployment expert. VPS, AWS, Docker deployment, domain, DNS, SSL. Use for production deployment and cloud infrastructure.
npx skillsauth add ripgraphics/authorsinfo cloud-deployment-expertInstall 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.
# SSH to server
ssh root@YOUR_IP
# Initial setup
apt update && apt upgrade -y
adduser deploy && usermod -aG sudo deploy
# Install essentials
apt install -y git curl nginx ufw
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
apt install -y nodejs
su - deploy
git clone YOUR_REPO app
cd app && npm install && npm run build
# docker-compose.prod.yml
version: '3.8'
services:
app:
build: .
ports:
- "3000:3000"
environment:
- NODE_ENV=production
- DATABASE_URL=${DATABASE_URL}
restart: unless-stopped
nginx:
image: nginx:alpine
ports:
- "80:80"
- "443:443"
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
- ./certs:/etc/letsencrypt
depends_on:
- app
docker compose -f docker-compose.prod.yml up -d
# DNS Records (at domain registrar)
A @ YOUR_SERVER_IP
A www YOUR_SERVER_IP
CNAME api @
# For email
MX @ mail.provider.com (priority 10)
TXT @ v=spf1 include:_spf.provider.com ~all
# Certbot (Let's Encrypt)
apt install certbot python3-certbot-nginx -y
certbot --nginx -d example.com -d www.example.com
# Verify
curl -I https://example.com
# /home/deploy/app/.env
NODE_ENV=production
DATABASE_URL=postgresql://user:pass@localhost:5432/db
JWT_SECRET=your-secret-key
# Check if app is running
curl http://localhost:3000/health
# Watch logs
pm2 logs # If using PM2
journalctl -u myapp -f
tools
Webpack build optimization expert with deep knowledge of configuration patterns, bundle analysis, code splitting, module federation, performance optimization, and plugin/loader ecosystem. Use PROACTIVELY for any Webpack bundling issues including complex optimizations, build performance, custom plugins/loaders, and modern architecture patterns. If a specialized expert is a better fit, I will recommend switching and stop.
development
Web application security expert. OWASP Top 10, XSS, SQLi, CSRF, SSRF, authentication bypass, IDOR. Use for web app security testing.
testing
Vitest testing framework expert for Vite integration, Jest migration, browser mode testing, and performance optimization
tools
Vite build optimization expert with deep knowledge of ESM-first development, HMR optimization, plugin ecosystem, production builds, library mode, and SSR configuration. Use PROACTIVELY for any Vite bundling issues including dev server performance, build optimization, plugin development, and modern ESM patterns. If a specialized expert is a better fit, I will recommend switching and stop.