Publish to GitHub + Vercel Skill

End-to-end workflow for pushing a web project to GitHub and deploying it live on Vercel with zero hiccups. Incorporates all known gotchas and best practices.


When to Use This Skill


Prerequisites

Required Tools

Verify these are installed and authenticated before starting:

# GitHub CLI
which gh && gh auth status 2>&1

# Vercel CLI
which vercel && vercel whoami 2>&1

If GitHub CLI is NOT installed

brew install gh
gh auth login --web --git-protocol https

Enter a device code at github.com/login/device. Wait for ✓ Logged in confirmation before proceeding.

If Vercel CLI is NOT installed or NOT authenticated

npm i -g vercel
vercel login

Enter a device code at vercel.com/device. Wait for Congratulations! You are now signed in. confirmation before proceeding.