sfnext-quality-gates
Run and fix the Storefront Next quality gates before a PR or deploy: OxLint (type-aware, --max-warnings 0) plus Biome formatting, lint:a11y, lint:css, typecheck, the TypeScript-only check, bundle-size budgets, Lighthouse CI, and the pre-PR checklist. Use when pnpm lint, pnpm format:check, pnpm typecheck, pnpm bundlesize or pnpm lighthouse:ci fails, for custom/color-linter or custom/header-format errors, "unused Tailwind class" findings, oxlint-disable comments, "what should I run before opening a PR", or CI red on lint. Do not use for writing tests (use storefront-next:sfnext-testing), accessibility fixes themselves (use storefront-next:sfnext-accessibility), or runtime performance tuning (use storefront-next:sfnext-performance).
Pinned to revision 0d6b966d3aa9, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/sfnext-quality-gates/SKILL.md
- skills/sfnext-quality-gates/evals/trigger-evals.json
- skills/sfnext-quality-gates/references/lint-and-budgets.md
Every link opens the file at its source, pinned to the revision this page describes.