Home / Market / vercel optimize

vercel optimize

Audit deployed Vercel apps for cost and performance issues using metrics, project config, code scans, and version-aware recommendations.

skill★ 508200 dlgithubCC-BY-4.0 content; MIT code; upstream exceptions applyInstall in CosmosUpstream Source

Documentation & Preview

Contributing to vercel-optimize

Keep changes small, metric-grounded, and fixture-tested. Runtime code lives in skills/vercel-optimize; tests and fixtures live in packages/vercel-optimize-tests so installed skills stay small.

Common changes

| Change | Edit | Test | |---|---|---| | Gate | lib/gates/<id>.mjs, lib/gates/index.mjs | node --test packages/vercel-optimize-tests/test/*gate*.test.mjs | | Scanner | lib/scanners/<id>.mjs, lib/scanners/index.mjs | Scanner-specific test in packages/vercel-optimize-tests/test/ | | Citation | references/docs-library.json | node skills/vercel-optimize/scripts/check-citations.mjs | | Support topic | references/support-topics/<id>.md | node --test packages/vercel-optimize-tests/test/support-topics.test.mjs | | Playbook | references/playbooks/<profile>.md and selection matrix in references/scoring.md | node --test packages/vercel-optimize-tests/test/support-topics.test.mjs packages/vercel-optimize-tests/test/investigation-brief.test.mjs | | Renderer or verifier | lib/render-report.mjs, lib/verify-claim.mjs, or related module | Focused test plus full test suite |

Generated docs:

node skills/vercel-optimize/scripts/build-docs.mjs
node skills/vercel-optimize/scripts/check-docs-fresh.mjs

Full test loop:

node --test packages/vercel-optimize-tests/test/*.test.mjs
node skills/vercel-optimize/scripts/check-docs-fresh.mjs
node skills/vercel-optimize/scripts/check-citations.mjs

Rules

Output contracts

Every JSON-emitting script must be deterministic: stable key order, stable sort order, 2-space indentation, trailing newline. If a consumed schema changes, update the schema version and the fixture tests in the same PR.