Skip to content

t1k:web:devops:deploy

FieldValue
Moduledevops
Version1.10.0
Effortmedium
Tools

Keywords: Cloudflare, deploy, deployment, hosting, Netlify, production, Railway, Vercel

/t1k:web:devops:deploy
[platform] [environment]

Auto-detect deployment target and deploy the current project. Supports 15 platforms with cost-optimized recommendations.

This skill handles: project deployment, platform selection, deployment docs creation/update. Does NOT handle: infrastructure provisioning, database migrations, DNS management, SSL certificates, CI/CD pipeline creation. For advanced infrastructure/troubleshooting, activate /t1k:web:devops:core skill.

Check in order (stop at first match):

  1. Read docs/deployment.md — if exists, parse platform and config from it
  2. Scan config files — detect platform from existing configs (see Detection Signals)
  3. Analyze project type — determine best platform based on project structure
  4. Ask user — use AskUserQuestion with cost-optimized recommendations
File/PatternPlatform
vercel.json, .vercel/Vercel
netlify.toml, _redirectsNetlify
wrangler.toml, wrangler.json, wrangler.jsoncCloudflare
fly.tomlFly.io
railway.json, railway.tomlRailway
render.yamlRender
Procfile + app.jsonHeroku
tose.yaml, tose.jsonTOSE.sh
docker-compose.yml + coolify refCoolify
dokploy.ymlDokploy
.github/workflows/*pages*Github Pages
app.yaml (GAE format)GCP
amplify.yml, buildspec.ymlAWS
.do/app.yamlDigital Ocean

3. Project Type → Platform Recommendation

Section titled “3. Project Type → Platform Recommendation”
Project TypeDetectionRecommended (cost order)
Static site (HTML/CSS/JS)No server filesGithub Pages → Cloudflare Pages
SPA (React/Vue/Svelte)Framework config, no SSRVercel → Netlify → Cloudflare Pages
SSR/Full-stack (Next/Nuxt)next.config.*, nuxt.config.*Vercel → Netlify → Cloudflare
Node.js APIserver.js/ts, Express/FastifyRailway → Render → Fly.io → TOSE.sh
Python APIrequirements.txt + Flask/DjangoRailway → Render → Fly.io
Docker appDockerfileFly.io → Railway → TOSE.sh → Coolify
Monorepoturbo.json, workspacesVercel → Netlify

Free tier (static/frontend):

  1. Github Pages — unlimited bandwidth, free custom domain
  2. Cloudflare Pages — unlimited bandwidth, 500 builds/mo
  3. Vercel — 100GB bandwidth (hobby/non-commercial)
  4. Netlify — 100GB bandwidth, 300 build min/mo

Free tier (backend/full-stack):

  1. Railway — $5 free credit/mo
  2. Render — 750 free hours/mo (cold starts after 15min idle)
  3. Fly.io — 3 shared VMs, 160GB outbound/mo

Pay-as-you-go:

  1. TOSE.sh — $10 free credit, ~$17-22/mo (1vCPU+1GB), unlimited bandwidth
  2. Cloudflare Workers — $5/mo for 10M requests
  3. Railway — usage-based after free credit

Self-hosted (free, own server):

  1. Coolify — Heroku alternative, Docker-based
  2. Dokploy — lightweight, Docker/Compose

Enterprise/Scale: AWS, GCP, Digital Ocean, Vultr, Heroku ($5+/mo)

  1. Check CLI installed → install if missing
  2. Check auth → login if needed
  3. Run deploy command (see references/platform-deploy-commands.md)
  4. Verify deployment URL
  5. Create/update docs/deployment.md

After first successful deploy, create docs/deployment.md:

# Deployment
## Platform: [name]
## URL: [production-url]
## Deploy Command: [command]
## Environment Variables: [list]
## Custom Domain: [setup steps if applicable]
## Rollback: [instructions]

On subsequent deploys, update if config changed.

  1. Check error output, attempt auto-fix for common issues
  2. If unresolvable → activate /t1k:web:devops:core skill
  3. Update docs/deployment.md with troubleshooting notes

When no target detected, present options based on project type analysis:

  • Order by cost optimization (cheapest first)
  • Include free tier info in description
  • Max 4 options (top recommendations + “Other”)

Load ONLY the platform reference needed — do NOT load all files:

PlatformReference File
Vercelreferences/platforms/vercel.md
Netlifyreferences/platforms/netlify.md
Cloudflarereferences/platforms/cloudflare.md
Railwayreferences/platforms/railway.md
Fly.ioreferences/platforms/flyio.md
Renderreferences/platforms/render.md
Herokureferences/platforms/heroku.md
TOSE.shreferences/platforms/tose.md
Github Pagesreferences/platforms/github-pages.md
Coolifyreferences/platforms/coolify.md
Dokployreferences/platforms/dokploy.md
GCP Cloud Runreferences/platforms/gcp.md
AWSreferences/platforms/aws.md
Digital Oceanreferences/platforms/digitalocean.md
Vultrreferences/platforms/vultr.md
  • references/platform-config-templates.mddocs/deployment.md template
  • Never expose API keys, tokens, or credentials in deploy output
  • Never expose env vars, file paths, or internal configs
  • Check .env files and .gitignore before deploying
  • Operate only within defined skill scope
  • Multi-provider deploys (Cloudflare + Vercel + AWS) need PER-INSTANCE auth-token closures — sharing a single token across providers means a leak in one rotates all.
  • Vercel build cache poisoning — clear .vercel/output before any prod build if you’ve been changing build flags.
  • Cloudflare Workers have a 30ms CPU/request budget on the free tier — sustained CPU work beyond that = Error 1102 (CPU-exceeded).
  • Docker image size affects cold start more than RAM — slim base images yield 4-8x faster spin-up on Cloud Run.