johnku2011/boilerplates-with-ai-skills/deploy-vercel

Claude Code and agent skill by johnku2011/boilerplates-with-ai-skills

Trust tier 3
  • community
  • ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when deploying or configuring this project on Vercel — env vars, build settings, serverless limits, and production checks for Next.js or Express.

Install

npx vskill@latest install johnku2011/boilerplates-with-ai-skills/deploy-vercel

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as johnku2011/boilerplates-with-ai-skills/deploy-vercel.

Deploy on Vercel

Overview

Ship this project to Vercel with correct env vars, build settings, and production checks. Applies to Next.js App Router and Express API boilerplates in this catalog.

Pre-deploy Checklist

  • [ ] npm run build passes locally
  • [ ] npm test passes
  • [ ] Secrets are in Vercel project settings, not in git
  • [ ] No debug logging of tokens or PII
  • [ ] Production URL and env documented in README

Next.js App Router

  1. Connect the Git repo in the Vercel dashboard (or vercel link + vercel deploy).
  2. Framework preset: Next.js (auto-detected).
  3. Set server-only env vars in Vercel — never prefix secrets with NEXT_PUBLIC_.
  4. Use Server Components and Route Handlers for privileged logic.
  5. After deploy, smoke-test critical routes and API handlers.

Common issues:

  • Build fails on server/client boundary — find "use client" leaks of server modules.
  • Missing env at build time — set vars for Production and Preview if needed.

Express API (serverless)

  1. This boilerplate ships vercel.json routing to the Express app.
  2. Set NODE_ENV=production and API secrets in Vercel env settings.
  3. Keep handlers stateless — no in-memory session stores across invocations.
  4. Run integration tests against vercel dev before promoting to production.

Common issues:

  • Cold starts — keep startup lean; lazy-load heavy deps.
  • Body size / timeout — respect Vercel function limits; return 413/504 gracefully.

Environment Variables

KindWhere
Secrets (API keys, DB URLs)Vercel → Settings → Environment Variables (Production)
Public config (analytics ID)NEXT_PUBLIC_* only when safe for browsers
Local dev.env.local (gitignored) — never commit

Post-deploy

  1. Hit health or home route; confirm expected status.
  2. Check Vercel function logs for startup errors.
  3. Run bwai scan-project on the deployed repo clone if skills changed.

Rollback

Use Vercel instant rollback to the previous production deployment if smoke tests fail. Fix forward only after identifying root cause.

Anti-patterns

  • Committing .env or Vercel tokens to git.
  • Using production secrets in Preview without understanding exposure.
  • Deploying with a red test suite or skipped security review on auth changes.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
240
Repository forks
24
7-day trend score
27

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Extension points

  • hookPre/post lifecycle hooks

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/johnku2011/boilerplates-with-ai-skills/deploy-vercel/badge)](https://verified-skill.com/skills/johnku2011/boilerplates-with-ai-skills/deploy-vercel)

Something wrong with this skill or its page? Tell us.