vercel-audit
Installation
SKILL.md
Audit the Vercel deployment configuration for this Vite + Express SPA project. Check for correctness, security, and optimization opportunities.
Target: $ARGUMENTS (default: full audit)
Pre-flight
- Read
vercel.json,package.json,api/index.ts, and.env.local(if exists). - Read
server/index.tsto understand the Express handler shape. - Glob for any additional
api/**/*.tsserverless entry points.
Audit Checklist
1. SCHEMA & STRUCTURE
-
$schemaproperty present ("https://openapi.vercel.sh/vercel.json") for IDE autocomplete - No deprecated properties (
routes→ userewrites/redirects/headersinstead) - No conflicting properties (e.g.,
routesmixed withrewrites) -
frameworkset to"vite"(matches actual build tool) -
buildCommandmatchespackage.jsonbuild script or is omitted to use default -
outputDirectorymatches Vitebuild.outDir(default:"dist")