| name | qa-check |
| description | Mandatory quality assurance for all dev work before publishing. Use BEFORE deploying any project to production. Validates build, tests browser functionality, checks mobile responsiveness, and ensures no broken links/images. |
| author | gizmolab |
| version | 1.0.0 |
| tags | ["qa","quality","testing","validation","deployment"] |
QA Check
Mandatory pre-deployment quality assurance. Run this before ANY project goes live.
When to Use
- Before
vercel --prod or any production deploy
- Before announcing/sharing any project URL
- Before publishing skills to ClawHub
- After major code changes
QA Checklist
1. Build Validation
cd <project-dir>
npm run build
Fail criteria: Build errors, warnings about missing dependencies
2. Browser Functional Test
Use browser tool to verify:
browser snapshot → check for errors
browser console → verify no red errors
3. Mobile Responsiveness
browser screenshot --mobile
Check:
4. Link Validation
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
5. Performance Quick Check
- Page loads in < 3 seconds
- No massive bundle warnings (> 500KB)
- Images optimized (not raw screenshots)
6. SEO/Meta Basics
Verify in index.html:
Pre-Deploy Command
scripts/qa-check.sh <project-dir>
Fail = No Deploy
If ANY check fails:
- Document the issue
- Fix it
- Re-run QA
- Only then deploy
Quick Reference
| Check | Tool | Pass Criteria |
|---|
| Build | npm run build | Exit 0, no errors |
| Browser | browser snapshot | No console errors |
| Mobile | browser screenshot | Readable, no scroll |
| Links | curl | All 200/301 |
| Speed | Browser | < 3s load |
| SEO | Read index.html | All meta present |
Post-Deploy Verification
After deploy, ALWAYS:
- Visit production URL in browser
- Click through main features
- Check mobile view
- Verify analytics loading (if added)
Only THEN announce/share the project.