vercel-advanced-troubleshooting

Solid

Advanced debugging for hard-to-diagnose Vercel issues including cold starts, edge errors, and function tracing. Use when standard troubleshooting fails, investigating intermittent failures, or preparing evidence for Vercel support escalation. Trigger with phrases like "vercel hard bug", "vercel mystery error", "vercel intermittent failure", "difficult vercel issue", "vercel deep debug".

AI & Automation 2,266 stars 315 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 Advanced Troubleshooting ## Overview Diagnose hard-to-find Vercel issues: intermittent cold start failures, edge function crashes, region-specific behavior, function bundling problems, and serverless concurrency issues. Uses systematic isolation, request tracing, and Vercel-specific debugging techniques. ## Prerequisites - Vercel CLI with access to production logs - Familiarity with `vercel-common-errors` (standard debugging) - `curl` and `jq` for API inspection - Access to deployment inspection tools ## Instructions ### Step 1: Request-Level Tracing ```bash # Trace a single request through Vercel's edge network curl -v https://yourdomain.com/api/endpoint 2>&1 | grep -E "x-vercel|cf-ray|age|cache" # Key headers to check: # x-vercel-id: <region>::<function-id> — which region served the request # x-vercel-cache: HIT/MISS/STALE — edge cache status # x-vercel-execution-region: iad1 — function execution region # age: 45 — seconds since edge cached the response # x-matched-path: /api/endpoint — routing match result ``` ### Step 2: Cold Start Investigation ```typescript // Instrument cold start timing in your function let coldStart = true; const initTime = Date.now(); export default function handler(req, res) { const isCold = coldStart; coldStart = false; const handlerStart = Date.now(); // ... your logic ... res.setHeader('x-cold-start', String(isCold)); res.setHeader('x-init-duration', String(handlerStart - initTime)); res.json({ coldStart: isCo...

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 Solid

vercel-performance-tuning

Optimize Vercel deployment performance with caching, bundle optimization, and cold start reduction. Use when experiencing slow page loads, optimizing Core Web Vitals, or reducing serverless function cold start times. Trigger with phrases like "vercel performance", "optimize vercel", "vercel latency", "vercel caching", "vercel slow", "vercel cold start".

2,266 Updated today
jeremylongshore
AI & Automation Solid

vercel-common-errors

Diagnose and fix common Vercel deployment and function errors. Use when encountering Vercel errors, debugging failed deployments, or troubleshooting serverless function issues. Trigger with phrases like "vercel error", "fix vercel", "vercel not working", "debug vercel", "vercel 500", "vercel build failed".

2,266 Updated today
jeremylongshore
AI & Automation Solid

vercel-debug-bundle

Collect Vercel debug evidence for support tickets and troubleshooting. Use when encountering persistent issues, preparing support tickets, or collecting diagnostic information for Vercel problems. Trigger with phrases like "vercel debug", "vercel support bundle", "collect vercel logs", "vercel diagnostic".

2,266 Updated today
jeremylongshore
AI & Automation Featured

vercel-deployment

Expert knowledge for deploying to Vercel with Next.js

39,227 Updated today
sickn33
AI & Automation Solid

vercel-edge-functions

Build and deploy Vercel Edge Functions for ultra-low latency at the edge. Use when creating API routes with minimal latency, geolocation-based routing, A/B testing, or authentication at the edge. Trigger with phrases like "vercel edge function", "vercel edge runtime", "deploy edge function", "vercel middleware", "@vercel/edge".

2,266 Updated today
jeremylongshore