vercel-reference-architecture

Solid

Implement a Vercel reference architecture with layered project structure and best practices. Use when designing new Vercel projects, reviewing project structure, or establishing architecture standards for Vercel applications. Trigger with phrases like "vercel architecture", "vercel project structure", "vercel best practices layout", "how to organize vercel project".

AI & Automation 2,274 stars 319 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Vercel Reference Architecture ## Overview Implement a production-ready Vercel project architecture with clear separation across edge, server, and client layers. Covers directory structure, middleware patterns, API route organization, shared utilities, and configuration management. ## Prerequisites - Understanding of Vercel's deployment model (edge, serverless, static) - TypeScript project setup - Next.js 14+ (recommended) or other Vercel-supported framework ## Instructions ### Step 1: Directory Structure ``` my-vercel-app/ ├── public/ # Static assets (served from CDN) │ ├── favicon.ico │ └── images/ ├── src/ │ ├── app/ # Next.js App Router pages │ │ ├── layout.tsx # Root layout │ │ ├── page.tsx # Home page │ │ ├── api/ # API routes (serverless functions) │ │ │ ├── health/route.ts │ │ │ ├── users/route.ts │ │ │ └── webhooks/ │ │ │ └── vercel/route.ts │ │ ├── dashboard/ # Protected pages │ │ │ ├── layout.tsx │ │ │ └── page.tsx │ │ └── (marketing)/ # Public pages (route group) │ │ ├── pricing/page.tsx │ │ └── about/page.tsx │ ├── lib/ # Shared utilities (server + client) │ │ ├── api-client.ts # External API wrapper │ │ ├── db.ts # Database client (lazy singleton) │ │ ├── env.ts # Typed environment variables │ │ └── errors.ts # Error clas...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

vercel-architecture-variants

Choose and implement Vercel architecture blueprints for different scales and use cases. Use when designing new Vercel projects, choosing between static, serverless, and edge architectures, or planning how to structure a multi-project Vercel deployment. Trigger with phrases like "vercel architecture", "vercel blueprint", "how to structure vercel", "vercel monorepo", "vercel multi-project".

2,274 Updated today
jeremylongshore
AI & Automation Solid

vercel-hello-world

Create a minimal working Vercel deployment with a serverless API route. Use when starting a new Vercel project, testing your setup, or learning basic Vercel deployment and API route patterns. Trigger with phrases like "vercel hello world", "vercel example", "vercel quick start", "simple vercel project", "first vercel deploy".

2,274 Updated today
jeremylongshore
AI & Automation Listed

vercel

Deploy and configure applications on Vercel. Use when deploying Next.js apps, configuring serverless functions, setting up edge functions, or managing Vercel projects. Triggers on Vercel, deploy, serverless, edge function, Next.js deployment.

2 Updated today
Makiya1202
AI & Automation Featured

vercel-deployment

Expert knowledge for deploying to Vercel with Next.js

39,350 Updated today
sickn33
DevOps & Infrastructure Solid

vercel-deployment

Expert knowledge for deploying to Vercel with Next.js Use when: vercel, deploy, deployment, hosting, production.

27,705 Updated today
davila7