AGENTS.md@skills/vercel-optimize · git:20260515.39c80b2 · 2026-05-15 · sha256 cc539a109798d9d3
AGENTS.md@skills/vercel-optimize git:20260515.39c80b2A
Immutable. This exact content is served forever at /api/v1/blob/cc539a109798d9d3.
# vercel-optimize Cross-agent entry point for the Vercel Optimize skill. The full procedure is in [SKILL.md](./SKILL.md). Use this skill when the user asks to optimize a Vercel project, reduce a Vercel bill, investigate slow or expensive routes, find caching opportunities, reduce function invocations, or produce a Vercel cost/performance report. Do not use it for projects that are not deployed on Vercel, greenfield projects with no traffic, or general code review. ## Requirements - Node.js 20+ - Vercel CLI v53+ - Authenticated Vercel CLI session - Linked Vercel project, or `VERCEL_PROJECT_ID` - Observability Plus for per-route metric analysis ## Procedure 1. Read [SKILL.md](./SKILL.md). 2. Collect Vercel signals before reading source files. 3. Gate candidates with deterministic scripts. 4. Investigate only files named by launched candidates. 5. Verify recommendations mechanically before rendering the report. The hard rules are in [references/doctrine.md](./references/doctrine.md): observability first, deterministic gates, candidate-bound scope, and version-aware citations. ## Install Preferred: ```bash npx skills add vercel-labs/agent-skills --skill vercel-optimize ``` Manual project install: ```bash mkdir -p .agents/skills cp -R <agent-skills-repo>/skills/vercel-optimize .agents/skills/ ``` Then add this to the project `AGENTS.md`: ```md When optimizing Vercel cost or performance, follow `.agents/skills/vercel-optimize/SKILL.md` before proposing changes. Collect Vercel metrics before reading source files. ```