deploy-to-vercel
Skill17 starsChanged 7 months agoMITView on GitHub
Purpose: Guide users through the complete GitHub → Vercel deployment pipeline to take their website live. Audience: Business professionals who have built a website using Claude Code + Manus and are ready to deploy. Use this skill when: - User is ready to deploy their website for the first time - User wants to understand the deployment process before going live - User needs to redeploy after making changes - User wants to set up a custom domain - User…
- Reads credentials
- Installs packages
- Commits and pushes
53 other projects use a version of this.
Adopted by
Most recently taken up by
- ppswdev/pp_skillstheir own version, first seen Nov 8, 2026
- lukashouthoofd/cenekathontheir own version, first seen Nov 8, 2026
- yht-4403/jc-agent-skillstheir own version, first seen Nov 8, 2026
- ever-co/ever-workstheir own version, first seen Nov 8, 2026
- ever-works/ever-workstheir own version, first seen Nov 5, 2026
- sunavoine-sys/Claude-Skillstheir own version, first seen Nov 1, 2026
Used with
Projects with it also use vercel-optimize, vercel-cli-with-tokens and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
VercelSkillvercel-optimize
Use for Vercel cost and performance optimization on deployed projects, especially Next.js, SvelteKit, Nuxt, and limited Astro apps. Collect Vercel metrics, usage, project config, and code scan results first; investigate only metric-backed candidates; produce ranked recommendations grounded in verified files and version-aware Vercel/framework docs. Trigger for Vercel bill reduction, slow or expensive routes, caching opportunities, Function Invocations, Build Minutes, Fast Data Transfer, Core Web Vitals, Bot Management, Fluid compute, or cost breakdown requests.
Also in 11 projects that use this
VercelSkillvercel-cli-with-tokens
Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login — e.g. "deploy to vercel", "set up vercel", "add environment variables to vercel".
Also in 14 projects that use this
xfstudioSkillnodejs-backend-patterns
Build production-ready Node.js backend services with Express/Fastify, implementing middleware patterns, error handling, authentication, database integration, and API design best practices. Use when creating Node.js servers, REST APIs, GraphQL backends, or microservices architectures.
Also in 6 projects that use this
xenitV1Skillnodejs-best-practices
Node.js development principles and decision-making. Framework selection, async patterns, security, and architecture. Teaches thinking, not copying.
Also in 5 projects that use this
midudevSkilltailwind-css-patterns
Provides comprehensive Tailwind CSS utility-first styling patterns including responsive design, layout utilities, flexbox, grid, spacing, typography, colors, and modern CSS best practices. Use when styling React/Vue/Svelte components, building responsive layouts, implementing design systems, or optimizing CSS workflow.
Also in 4 projects that use this
nicepkgSkilltailwind-v4-shadcn
Production-tested setup for Tailwind CSS v4 with shadcn/ui, Vite, and React.
Also in 3 projects that use this
- +4 more from vercel-labs
Other versions53 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 53
- vercel-labs/agent-skills★ 33ksame name
- midudev/la-velada-web-oficial★ 1.9ksame name
- JetBrains/skills★ 386same name
- julianromli/ai-skills★ 215same name
- ever-co/ever-works★ 190same name
- ever-works/ever-works★ 190same name
- vmDeshpande/ai-agent-automation★ 177same name
- databricks/devhub★ 29same name
- PracticalSwan/agent-skills★ 22same name
- NiazMorshed2007/jcr★ 19same name
43 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository20 other files it gives its agents.
- aios-presentation-standardSkill
- audit-existing-siteSkill
- brand-to-imagesSkill
- brand-voiceSkill
- code-auditorSkill
- content-auditorSkill
- copy-editorSkill
- form-wiringSkill
- Getting Started with VibeCodingSkill
- link-checkerSkill
- performance-optimizerSkill
- qa-testerSkill
- security-auditorSkill
- seo-aeo-auditorSkill
- site-customizerSkill
- site-generatorSkill
- site-interviewerSkill
- site-updaterSkill
- ux-reviewerSkill
- webmasterSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
38 rules. 0 are common, 32 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 53 edited versions we read keep these.
32
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 21
Publishing to GitHub: - Create a repository and push your code
- Distinctive: line 23
Configuring your site: - Add environment variables, set up domains
- Distinctive: line 24
Pre-launch checklist: - Verify everything works before going live
- Distinctive: line 26
No previous experience with Git or command-line tools required.
- Distinctive: line 44
Every time you push changes to GitHub, Vercel automatically rebuilds and redeploys your site.
- Distinctive: line 111
Start with a verb: "Add", "Fix", "Update", "Remove"
- Distinctive: line 113
Keep it under 50 characters when possible
- Very specific: line 155
If you have Node.js installed:
- Distinctive: line 186
If you're unsure, ask in your project setup notes.
- Distinctive: line 211
Commit this file to Git:
- Distinctive: line 221
If your site uses APIs (like Resend for emails), add the API key to Vercel:
- Distinctive: line 231
Important: Never commit API keys to GitHub.
- Distinctive: line 253
Add the records Vercel shows you
- Distinctive: line 254
Wait 24-48 hours for DNS to propagate
- Distinctive: line 256
If this is confusing, contact your domain registrar's support — they handle this all the time.
- Distinctive: line 262
Before your site goes live, run through this checklist to catch any issues:
- Distinctive: line 318
After your site goes live, you can make updates quickly:
- Very specific: line 351
Check your vercel.json is correct for your site type
- Distinctive: line 352
Ensure all imports and file paths are correct (case-sensitive on Linux)
- Very specific: line 353
Make sure all dependencies are in package.json
- Distinctive: line 354
Check environment variables are set in Vercel settings
- Distinctive: line 361
Verify DNS records in your domain registrar match what Vercel shows
- Distinctive: line 362
Wait 24-48 hours for DNS propagation (sometimes longer)
- Distinctive: line 371
Check that your form handler/API endpoint is configured
- Distinctive: line 372
Verify environment variables (like API keys) are set in Vercel
- Distinctive: line 373
Check browser console for error messages (right-click → Inspect → Console)
- Distinctive: line 374
If using Resend, verify API key is correct and has permission to send
- Distinctive: line 381
Verify your push succeeded: git log should show your commit
- Distinctive: line 382
Check Vercel dashboard — is a deployment in progress?
- Distinctive: line 384
Wait 30-60 seconds for deployment to complete
- Very specific: line 391
Check your vercel.json output directory is correct
- Very specific: line 392
Verify file paths are case-sensitive (index.html not INDEX.html)
- Distinctive: line 393
Ensure all assets are being copied to the build output
- Very specific: line 425
Follow the references: - Start with references/github-setup.md if you're new to GitHub
- Distinctive: line 426
Deploy your first version: - Use this skill to get your site live
- Distinctive: line 442
If you encounter issues:
- Distinctive: line 444
Check the Troubleshooting section above
- Distinctive: line 446
Check error messages in the Vercel dashboard (most informative)
“Common” is measured: kept by at least 6 in 10 of the 53 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Skill: Deploy to Vercel
Purpose: Guide users through the complete GitHub → Vercel deployment pipeline to take their website live.
Audience: Business professionals who have built a website using Claude Code + Manus and are ready to deploy.
Use this skill when:
- User is ready to deploy their website for the first time
- User wants to understand the deployment process before going live
- User needs to redeploy after making changes
- User wants to set up a custom domain
- User is troubleshooting deployment issues
Overview
Deploying to Vercel is the final step before your site goes live. This skill walks you through:
- Preparing your code - Initialize git, create proper .gitignore
- Publishing to GitHub - Create a repository and push your code
- Connecting to Vercel - Link GitHub and set up deployment
- Configuring your site - Add environment variables, set up domains
- Pre-launch checklist - Verify everything works before going live
No previous experience with Git or command-line tools required. We'll guide you through each step.
The Deployment Pipeline
Your Local Files
↓
Git Repository
↓
GitHub
↓
Vercel (Auto-deploys)
↓
Live WebsiteEvery time you push changes to GitHub, Vercel automatically rebuilds and redeploys your site. This means updates go live in seconds without any manual steps.
Step 1: Prepare Your Code
What is Git?
Git is a tool that tracks changes to your files. Think of it like version control for documents — you can see what changed, who changed it, and revert to previous versions if needed.
Initialize a Git Repository
Open your terminal in your project directory and run:
git initThis creates a hidden .git folder that tracks all your files.
Create a .gitignore File
Some files shouldn't be uploaded to GitHub (passwords, API keys, node_modules, etc.). Create a .gitignore file in your project root with this content:
# Dependencies
node_modules/
.env
.env.local
.env.*.local
# OS files
.DS_Store
Thumbs.db
# IDE files
.vscode/
.idea/
*.swp
# Build output
dist/
build/
.next/
# Logs
npm-debug.log*
yarn-debug.log*Stage Your Files
Tell Git which files to track:
git add .Create Your First Commit
A commit is a snapshot of your code at a point in time. Create your first one:
git commit -m "Initial commit: First version of website"Commit message tips:
- Start with a verb: "Add", "Fix", "Update", "Remove"
- Be descriptive: "Add contact form validation" is better than "fixed stuff"
- Keep it under 50 characters when possible
Step 2: Create a GitHub Repository
GitHub is where your code lives online. Multiple team members can work on it, and it integrates with Vercel for automatic deployments.
Prerequisites
You'll need:
- A GitHub account (free at https://github.com)
- GitHub CLI (
gh) installed and authenticated - SSH key set up with GitHub (see references/github-setup.md for detailed instructions)
Create Repository via CLI
The easiest way is using the GitHub CLI:
gh repo create your-site-name --source=. --remote=origin --pushReplace your-site-name with something memorable (e.g., "acme-corp-website", "sarah-portfolio").
What this does:
- Creates a public repository on GitHub
- Adds GitHub as a "remote" (linked location)
- Pushes your local commits to GitHub
Verify It Worked
Visit https://github.com/your-username/your-site-name in your browser. You should see your files listed there.
Step 3: Connect to Vercel
Vercel watches your GitHub repository. Every time you push code, Vercel automatically builds and deploys your site.
Method A: Using Vercel CLI (Recommended for Developers)
If you have Node.js installed:
npm i -g vercel
vercelFollow the prompts:
- Log in with your GitHub account
- Link to your GitHub repository
- Vercel will auto-detect your site type and settings
Method B: Manual Setup (Recommended for Non-Technical Users)
- Go to https://vercel.com/new
- Click "Import Git Repository"
- Paste your GitHub repository URL
- Click "Import"
- Configure project settings (see next section)
Step 4: Configure Your Vercel Project
Detect Project Type Automatically
Vercel auto-detects your site type:
- Static HTML - Simple HTML/CSS/JS sites
- Vite - Modern JavaScript framework sites
- Next.js - Full-stack React applications
If you're unsure, ask in your project setup notes.
Create vercel.json
For custom configurations, create a vercel.json file in your project root. Choose based on your site type:
For Static HTML Sites
{
"public": ".",
"buildCommand": "echo 'No build needed'",
"outputDirectory": "."
}For Vite Sites
{
"buildCommand": "npm run build",
"outputDirectory": "dist"
}Commit this file to Git:
git add vercel.json
git commit -m "Add Vercel configuration"
git pushSet Environment Variables
If your site uses APIs (like Resend for emails), add the API key to Vercel:
- Go to your project on Vercel: https://vercel.com/dashboard
- Click your project name
- Go to Settings → Environment Variables
- Add each variable:
- Name:
RESEND_API_KEY(or other variable name) - Value: Your actual API key
- Environments: Select Production, Preview, Development
- Name:
Important: Never commit API keys to GitHub. Always use environment variables.
Step 5: Configure Custom Domain (Optional)
Your site gets a free Vercel domain (your-site.vercel.app), but you can add a custom domain.
Add Domain to Vercel
- In Vercel dashboard, go to Settings → Domains
- Click Add Domain
- Enter your domain (e.g.,
www.acmecorp.com)
Update DNS Records
This depends on where you bought your domain. Vercel will show you the exact DNS records to add. Common providers:
- GoDaddy, Namecheap, Google Domains, etc.
Typical steps:
- Log into your domain registrar
- Find "DNS Settings" or "Name Servers"
- Add the records Vercel shows you
- Wait 24-48 hours for DNS to propagate
If this is confusing, contact your domain registrar's support — they handle this all the time.
Step 6: Pre-Launch Checklist
Before your site goes live, run through this checklist to catch any issues:
Content & Links
- All pages render correctly (no broken layouts)
- All internal links work and go to correct pages
- External links open in a new tab (target="_blank")
- No placeholder text remains ("Add your content here", "TODO", etc.)
Branding & SEO
- Page titles are unique and descriptive (browser tab shows proper titles)
- Meta descriptions are present and compelling (what shows in Google search results)
- Favicon is set (small icon in browser tab)
- Open Graph tags are set (what shows when shared on social media)
- Company logo displays correctly on all pages
Forms & Interactions
- Contact forms submit successfully
- Form validation works (catches empty required fields)
- Form success message appears after submission
- Email notifications are received (if configured)
Images & Media
- All images load quickly (no broken image icons)
- Images are properly sized (not stretching or pixelating)
- Videos play correctly (if any)
- Dark mode works (if implemented)
Security & Performance
- SSL certificate is active (green lock icon in browser)
- Site loads in under 3 seconds
- No console errors (open browser DevTools → Console)
- Form data is encrypted if collecting sensitive info
Analytics & Tracking
- Google Analytics is installed and working (if configured)
- Conversion tracking is set up (if configured)
- Email notification list is working (if configured)
See references/deploy-checklist.md for detailed testing instructions and common issues.
Step 7: Go Live
Once everything passes the checklist:
- Update your domain (if using custom domain, verify DNS is set up)
- Test from a different device (phone, tablet, coworker's computer)
- Announce your launch (email, social media, etc.)
Your site is now live and will automatically redeploy whenever you push code to GitHub.
Making Updates After Launch
After your site goes live, you can make updates quickly:
The Standard Update Workflow
# 1. Make changes in your code editor
# 2. Stage your changes
git add .
# 3. Create a commit
git commit -m "Update hero section copy"
# 4. Push to GitHub
git push
# 5. Vercel auto-deploys (usually within 30 seconds)Go to your Vercel dashboard to watch the deployment. Once it shows "Ready", your changes are live.
Use the site-updater Skill
For non-developers or frequent updates, use the site-updater skill to make changes without touching the command line. You can describe changes in plain English, and the skill handles the technical work.
Troubleshooting
Build Fails on Vercel
The problem: Vercel shows a build error, but the site works locally.
Solutions:
- Check your
vercel.jsonis correct for your site type - Ensure all imports and file paths are correct (case-sensitive on Linux)
- Make sure all dependencies are in
package.json - Check environment variables are set in Vercel settings
Custom Domain Not Working
The problem: Your custom domain shows an error or doesn't point to the site.
Solutions:
- Verify DNS records in your domain registrar match what Vercel shows
- Wait 24-48 hours for DNS propagation (sometimes longer)
- Clear your browser cache (Ctrl+Shift+Delete or Cmd+Shift+Delete)
- Try from a different network (sometimes ISP caching interferes)
Forms Not Submitting
The problem: Contact form works locally but fails when deployed.
Solutions:
- Check that your form handler/API endpoint is configured
- Verify environment variables (like API keys) are set in Vercel
- Check browser console for error messages (right-click → Inspect → Console)
- If using Resend, verify API key is correct and has permission to send
Site Shows Outdated Content
The problem: You pushed changes but the live site hasn't updated.
Solutions:
- Verify your push succeeded:
git logshould show your commit - Check Vercel dashboard — is a deployment in progress?
- Clear browser cache (Ctrl+Shift+Delete)
- Wait 30-60 seconds for deployment to complete
404 Errors on Deploy Preview
The problem: Preview deployments show 404 errors but production works.
Solutions:
- Check your
vercel.jsonoutput directory is correct - Verify file paths are case-sensitive (index.html not INDEX.html)
- Ensure all assets are being copied to the build output
Quick Reference: Git Commands
Once you're comfortable, here are the commands you'll use most:
# Check status of your changes
git status
# See your commit history
git log --oneline
# Stage all changes
git add .
# Commit with a message
git commit -m "Your message here"
# Push to GitHub (triggers Vercel deploy)
git push
# Pull latest from GitHub
git pullNext Steps
- Follow the references - Start with
references/github-setup.mdif you're new to GitHub - Deploy your first version - Use this skill to get your site live
- After launch, use site-updater - For ongoing changes and maintenance
Additional Resources
- GitHub Setup:
references/github-setup.md- Detailed GitHub account setup and SSH keys - Vercel Setup:
references/vercel-setup.md- Vercel account and domain configuration - Pre-Launch Checklist:
references/deploy-checklist.md- Complete testing checklist before going live - site-updater Skill: For making changes to your live site after deployment
Support
If you encounter issues:
- Check the Troubleshooting section above
- Review the reference documents for your specific setup
- Check error messages in the Vercel dashboard (most informative)
- Visit Vercel docs: https://vercel.com/docs
This deployment process is the same one used by millions of websites. You've got this!
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

