verify-build
Installation
SKILL.md
Verify Build
When to use
- Before opening or approving a PR with frontend changes
- After refactoring imports, routes, or Vite config
- When static generation or bundle errors are suspected
Instructions
- Ensure dependencies are installed (
npm ciornpm install). - Run
bash scripts/verify_build.sh --project-root <root>. - If build fails, read the Rollup/Vite stack trace and fix imports or types.
- Re-run until output shows success.
Scripts
verify_build.sh: executesnpm run buildand returns combined output