Build Check
Pre-deployment verification for the Next.js portfolio site.
Instructions
- •
Run lint check:
bashnpm run lint
- •
Run production build:
bashnpm run build
- •
If errors occur:
- •Parse error messages
- •Identify affected files
- •Suggest specific fixes
- •
Report results summary:
- •Lint warnings/errors count
- •Build success/failure
- •Bundle size if available
Default Commands
- •Lint:
npm run lint - •Build:
npm run build - •Type check:
npx tsc --noEmit
Examples
- •"Check if the build passes"
- •"Verify before deploying"
- •"Run pre-deploy checks"
Guardrails
- •Do NOT modify files to fix errors without user confirmation
- •Report issues clearly with file paths and line numbers
- •If build fails, ask user before attempting fixes