| name | deploy |
| description | Deploy projects to their respective platforms. Use when user says "deploy", "push to prod", "ship it", "release", "deploy to preview", "deploy to production", "deploy backend", "deploy frontend". Handles Vercel, Render, Supabase Edge Functions, and Docker deployments.
|
Deploy Skill
Step 1: Identify the project
Determine which project to deploy from cwd or user's message. If ambiguous, ask.
Step 2: Identify the platform
Common deployment targets:
Vercel (frontend)
git push origin main
vercel --token $VERCEL_TOKEN
Render (backend)
curl -s -X POST "https://api.render.com/v1/services/<SERVICE_ID>/deploys" \
-H "Authorization: Bearer $RENDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"clearCache":"clear"}'
Docker (self-hosted)
docker compose build && docker compose up -d
docker restart <container_name>
Supabase Edge Functions
supabase functions deploy <function-name>
Pre-deploy checklist
- Run
git diff to review what's being deployed
- Run build locally:
npm run build or equivalent
- Run tests if they exist
- Check for uncommitted
.env changes (never commit secrets)
Post-deploy verification
- Check the live URL loads correctly
- For API backends: hit the health endpoint (
/api/health)
- Check deploy logs for errors
- Verify key functionality works end-to-end
Project-specific notes
Check CLAUDE.md in the project root for project-specific deploy steps, branch strategies, and gotchas.