Install
openclaw skills install vercel-speed-auditOptimize Vercel build and deploy speed — audit checklist for new and existing projects.
openclaw skills install vercel-speed-auditOptimize Vercel build and deploy speed for any project. Run as a checklist when starting new projects or auditing existing ones.
Before running the full checklist, measure and assess:
# 1. Check current build times
cd <project> && npx vercel ls --limit 5
# 2. Check team/plan tier
npx vercel team ls
Decision tree:
| Build Time | Action |
|---|---|
| < 20s | Only do items 0, 1, 3-5, 10. Skip GitHub Actions (#8), skip barrel file audit (#6) unless codebase is large. |
| 20-60s | Do items 0-7, 10. GitHub Actions (#8) is optional. |
| 60s+ | Do everything. GitHub Actions (#8) becomes high-value. |
Auth-gated app? (All pages behind login) → Skip ISR (#9) entirely. ISR caches one response for all users — incompatible with per-user content.
Framework:
→ SvelteKit: Also read docs/sveltekit.md — includes adapter-vercel switch, prerendering, $env tips.
→ Next.js/Nuxt/Other: docs/general.md covers framework-agnostic items.
| # | Optimization | Impact | CLI-checkable? | Plan Required |
|---|---|---|---|---|
| 0 | Use explicit adapter (e.g., adapter-vercel not adapter-auto) | Faster, no detection overhead | ✅ Check config | Any |
| 1 | Turbo Build Machines | 50-70% faster builds | ❌ Dashboard only | Pro+ |
| 2 | On-Demand Concurrent Builds | Eliminates deploy queue | ❌ Dashboard only | Pro+ |
| 3 | Prerender Static Pages | Fewer functions, faster TTFB | ✅ Audit code | Any |
| 4 | Ignored Build Step | Skip irrelevant builds | ✅ Check vercel.json | Any |
| 5 | Prioritize Production Builds | Prod deploys go first | ❌ Dashboard only | Pro+ |
| 6 | Eliminate Barrel Files | 10-30% build speedup | ✅ Audit code | Any |
| 7 | Audit & Trim Dependencies | Faster install + bundle | ✅ Run depcheck | Any |
| 8 | GitHub Actions + --prebuilt | Full cache control, skip Vercel build | ✅ Add workflow | Any |
| 9 | ISR for Dynamic Pages | Fewer cold starts | ✅ Audit routes | Any |
| 10 | Instant Rollback | Zero-downtime recovery | ✅ vercel rollback | Hobby: last only; Pro+: any |
Pro plan items (#1, #2, #5): If not on Pro, check team plan first. These are the highest-impact free wins on Pro.
For a team called <team-slug>:
https://vercel.com/<team-slug>/<project>/settings → General → Build Machinehttps://vercel.com/teams/<team-slug>/settings → Build Queuehttps://vercel.com/<team-slug>/<project>/settings → Git → Production prioritizationvercel deploy --prebuilt guideReal-world findings from running all 10 checks on a SvelteKit project with 16-18s builds:
adapter-auto → adapter-vercel was a missed win — not in original 10 but came up in dep audit. Now item #0.docs/sveltekit.mdvercel-speed-report.md)docs/github-actions-prebuilt.md