skills/vercel-deploy/SKILL.md
--- name: vercel-deploy description: Deploy projects to Vercel with one command. Use when user wants to deploy to Vercel, publish website, or needs production/preview deployment. Triggers on: "deploy to vercel", "vercel deploy", "发布到vercel", "部署到线上". --- # Vercel Deploy Skill Deploy current project to Vercel using Vercel CLI. ## Quick Start 1. Check if Vercel CLI is installed: ```bash vercel --version ``` If not installed, prompt user to install: ```bash npm i -g vercel ``` 2. Check login
npx skillsauth add jochenyang/jochen-ai-rules skills/vercel-deployInstall 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.
Deploy current project to Vercel using Vercel CLI.
vercel --version
If not installed, prompt user to install:
npm i -g vercel
vercel whoami
If not logged in:
vercel login - opens browser for OAuth login (no token needed)vercelvercel --prodCheck project structure:
package.json, vercel.json, next.config.*, nuxt.config.*Check for uncommitted changes:
--forcePrompt user to choose:
vercel --prod, creates production URLRun the appropriate command:
# Preview deployment
vercel
# Production deployment
vercel --prod
Error: Not authenticated
Solution: Run vercel login - opens browser, click "Continue" to authenticate
Error: No linked project
Solution: Run vercel link to link to a Vercel project
Check error output, common fixes:
If user needs custom config, create vercel.json:
{
"buildCommand": "npm run build",
"outputDirectory": "dist",
"framework": "nextjs"
}
Present deployment result:
✓ Deployed! 🎉
Production URL: https://your-project.vercel.app
Preview URL: https://your-project-xxx.vercel.app
To deploy updates, run: vercel --prod
Pause and ask the owner before:
Every use of this skill should end with:
Skill Fit - why Vercel deployment is the right pathPrimary Deliverable - preview/production deployment resultExecution Evidence - commands run, URLs produced, and validation checks completedRisks / Open Questions - config gaps, environment concerns, or rollout hazardsNext Action - the next validation or release stepdatabases
Review current conversation, analyze tasks, errors, and user feedback, extract learning opportunities for skill improvement. Use when user says "reflect", "review session", "what did we learn", "session summary", or after completing a complex task.
development
Create and resume structured manual session handoffs for long-running development work. Use when approaching context limits, before manual reset, before switching models or IDEs, after a milestone, or when automatic compact would lose important implementation state.
development
Implement distinctive, production-grade frontend UI code with strong visual direction, motion systems, local media asset generation, conversion-aware copy, and polished frontend execution. Use when building landing pages, marketing sites, product pages, dashboards, motion-heavy interfaces, or frontend experiences that need real assets and compelling copy.
development
Project context engine for repo orientation, cached handoff, and task-focused code retrieval.