Mandatory pre-deployment quality assurance. Run this before ANY project goes live.
vercel --prod or any production deploybash
# Ensure build succeeds without errors
cd <project-dir>
npm run build
Fail criteria: Build errors, warnings about missing dependencies
Use browser tool to verify:
text
browser snapshot → check for errors
browser console → verify no red errors
text
browser screenshot --mobile
Check:
bash
# Check all external links resolve
grep -r "href=" src/ | grep -o 'https://[^"]*' | sort -u | while read url; do
curl -s -o /dev/null -w "%{http_code} $url\n" "$url"
done
Verify in index.html:
<title> set (not generic)<meta name="description"> present<meta property="og:*"> for social sharingbash
# Run full QA suite
scripts/qa-check.sh <project-dir>
If ANY check fails:
CheckToolPass CriteriaBuildnpm run buildExit 0, no errorsBrowserbrowser snapshotNo console errorsMobilebrowser screenshotReadable, no scrollLinkscurlAll 200/301SpeedBrowser< 3s loadSEORead index.htmlAll meta present
After deploy, ALWAYS:
Only THEN announce/share the project.