deanwhitex/aiw2.0stack/vercel-deploy
Claude Code and agent skill by deanwhitex/aiw2.0stack
- community
Checking that the SKILL.md file is still in the repository.
Use during Stage 11 of the website factory pipeline to deploy the built client website to Vercel production via the Vercel CLI. Verifies the local build passes, runs `vercel --prod --yes` from the client website folder, captures the production URL, smoke-checks it returns 200, and writes vercel-url.txt + deploy-log.json. Halts before deploy if QA gates 10.4a or 10.4b are not complete (or explicitly overridden). Disabled from auto-invocation: deploy is always user-driven via /stage11 or /build-a…
Install
npx vskill@latest install deanwhitex/aiw2.0stack/vercel-deploySKILL.md
Vercel Deploy Skill
Deploy the built client website from clients/[Client Name]/[Client Name] Website/ to a Vercel project using the Vercel CLI.
Pre-requisites
- Vercel CLI installed globally:
npm i -g vercel - User is logged in:
vercel login(one-time setup, persists) - The Vite build completes without errors:
npm run build
Execution steps
Step 1, Navigate to the build folder
Step 2, Run the production build
Confirm dist/ folder exists and is non-empty. If the build fails, halt and report the error.
Step 3, Link the project (first-time only)
If no .vercel/ folder exists in the build directory, link it:
Follow the prompts:
- Set up and deploy: Yes
- Which scope: pick the correct Vercel org/account
- Link to existing project? No (first time)
- Project name:
[client-slug]-website - Directory:
.(current folder) - Override settings: No
This creates .vercel/project.json. On subsequent deploys, this file handles the link automatically.
Step 4, Deploy to production
Capture the production URL from the output (format: https://[client-slug]-website.vercel.app or the custom domain if already configured).
Step 5, Verify deployment
Expect 200. If not 200, check Vercel dashboard for build/deployment errors.
Step 6, Save the URL
Write the production URL to:
This file is read by the proposal agent at Stage 13 for the iframe preview.
Step 7, Optional: custom domain setup
Custom domain configuration is done in the Vercel dashboard, not via CLI. After deploy:
- Vercel dashboard > Project > Settings > Domains
- Add
[client-domain].comandwww.[client-domain].com - Update DNS at client's registrar:
- A record:
76.76.21.21(Vercel IP) - CNAME www:
cname.vercel-dns.com
- Vercel auto-provisions SSL once DNS propagates (usually under 5 minutes)
Update an existing deployment
Re-run npm run build && vercel --prod from the build folder. The existing .vercel/project.json link handles everything else automatically.
What to do if vercel link fails
- Delete
.vercel/folder and retry - Check
vercel whoamito confirm you're logged in as the right account - If project already exists on Vercel, use "Link to existing project: Yes" and enter the
project name
Failure handling
| Failure | Action | |
|---|---|---|
Build fails (npm run build errors) | Fix the TypeScript/lint error and retry. Do not deploy a broken build. | |
| vercel not found | Run npm i -g vercel and retry | |
| 401 Unauthorized | Run vercel login and retry | |
| Deployment times out | Check Vercel dashboard for build logs. Usually a dependency install issue. | |
| Custom domain not resolving | DNS propagation can take up to 48 hours. Confirm A record is correct. |
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingwebsite-factory/.claude/skills/vercel-deploy/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/deanwhitex/aiw2.0stack/vercel-deploy)