xiaohongshu
xiaohongshu
gmacko-release-deploy-web
Use when (1) deploying web application to Vercel staging or production, (2) monitoring deployment progress, (3) running post-deployment verification. Manages Vercel deployment workflow with safety checks.
Full skill instructions
Deploy the Next.js web application to Vercel with proper verification and rollback planning.
docs/ai/releases/[date]-v[version].mdvercel whoamivercel linkdigraph deploy_web {
rankdir=TB;
node [shape=box];
start [label="Start Deployment" shape=ellipse];
confirm_env [label="1. Confirm Environment"];
pre_checks [label="2. Pre-Deployment Checks"];
ready [label="Ready?" shape=diamond];
deploy [label="3. Execute Deployment"];
monitor [label="4. Monitor Progress"];
success [label="Success?" shape=diamond];
verify [label="5. Post-Deploy Verification"];
healthy [label="Healthy?" shape=diamond];
document [label="6. Document Deployment"];
rollback [label="Rollback"];
done [label="Deployment Complete" shape=ellipse];
failed [label="Deployment Failed" shape=ellipse];
start -> confirm_env -> pre_checks -> ready;
ready -> deploy [label="yes"];
ready -> failed [label="no"];
deploy -> monitor -> success;
success -> verify [label="yes"];
success -> rollback [label="no"];
verify -> healthy;
healthy -> document [label="yes"];
healthy -> rollback [label="no"];
rollback -> failed;
document -> done;
}
CRITICAL: Always confirm target environment before deployment.
Ask user:
I'm preparing to deploy to Vercel.
Target Environment: [staging/production] Branch: [current branch] Version: [version from release summary]
Please confirm:
- Is this the correct environment? (yes/no)
- Have you reviewed the release summary? (yes/no)
- Is this a good time to deploy? (yes/no)
For production deployments, require explicit confirmation:
⚠️ PRODUCTION DEPLOYMENT
This will affect live users. Please type "deploy to production" to confirm.
Run verification before deploying:
# Check current deployment status
vercel ls --limit 5
# Verify build succeeds locally
pnpm build
# Check for uncommitted changes
git status
# Verify we're on the right branch
git branch --show-current
# Check Vercel project is linked
vercel project ls
Checklist:
## Pre-Deployment Checklist
- [ ] Build passes locally
- [ ] No uncommitted changes
- [ ] On correct branch
- [ ] Vercel project linked
- [ ] Environment variables verified
- [ ] Database migrations applied (if any)
For Staging:
# Deploy to preview (staging)
vercel
# Or deploy specific branch
vercel --target preview
For Production:
# Deploy to production
vercel --prod
# With specific scope
vercel --prod --scope gmacko
Capture deployment URL:
DEPLOYMENT_URL=$(vercel --prod 2>&1 | grep -o 'https://[^ ]*')
echo "Deployment URL: $DEPLOYMENT_URL"
Monitor deployment status:
# List recent deployments
vercel ls --limit 3
# Get deployment status
vercel inspect [deployment-url]
# Watch build logs (if available)
vercel logs [deployment-url] --follow
Report progress:
Deployment Status
=================
URL: https://my-app-abc123.vercel.app
Status: BUILDING / READY / ERROR
Build Duration: Xs
Build Logs:
[Show relevant log excerpts]
Run smoke tests on deployed environment:
## Smoke Test Checklist
### Critical Paths
- [ ] Homepage loads (< 3s)
- [ ] Sign in works
- [ ] Sign up works
- [ ] Dashboard loads (authenticated)
- [ ] Core feature works
### API Health
- [ ] tRPC endpoints responding
- [ ] Database queries working
- [ ] Auth middleware functioning
### Integrations
- [ ] Clerk authentication
- [ ] Stripe payments (test mode)
- [ ] PostHog tracking
- [ ] Sentry error reporting
Check for errors:
# Check Sentry for new errors
# (Manual: Visit Sentry dashboard)
# Check Vercel logs for errors
vercel logs [deployment-url] --since 5m
Update release summary:
## Deployment Record
### Web (Vercel)
- **Deployed at**: [timestamp]
- **Deployment URL**: [url]
- **Deployment ID**: [id]
- **Status**: SUCCESS / FAILED
- **Build time**: [Xs]
### Verification
- Smoke tests: PASSED / FAILED
- Error rate: Normal / Elevated
- Performance: Normal / Degraded
### Notes
[Any observations or issues]
Report to user:
DEPLOYMENT COMPLETE
===================
Environment: Production
URL: https://app.example.com
Deployment ID: dpl_xxxxx
Smoke Tests: 5/5 PASSED
Error Rate: Normal
Response Time: ~200ms avg
Deployment successful! Monitoring for issues...
If issues detected:
# List previous deployments
vercel ls --limit 10
# Rollback to previous deployment
vercel rollback
# Or rollback to specific deployment
vercel rollback [deployment-url-or-id]
Document rollback:
## Rollback Record
- **Rolled back at**: [timestamp]
- **Reason**: [description]
- **Rolled back to**: [deployment-id]
- **Status**: SUCCESS
### Post-Rollback Verification
- [ ] Previous version accessible
- [ ] Core functionality working
- [ ] No data loss
staging branchmain branch onlyvercel logs [url]pnpm typecheck)| Rationalization | Correction |
|---|---|
| "Just push to main, it'll be fine" | Follow full deployment process |
| "Skip smoke tests, build passed" | ALWAYS verify deployed functionality |
| "Production during peak hours is fine" | Deploy during low-traffic periods when possible |
| "Skip confirmation for staging" | Confirm environment for ALL deployments |
| "Rollback isn't necessary" | Always have rollback plan ready |
gmacko-release-close or monitorxiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience