Skip to main content
This guide walks you through common web quality optimization workflows, from initial audits to ongoing maintenance.

Full Site Audit Workflow

Use the web-quality-audit skill to perform comprehensive quality reviews.
1

Run Initial Assessment

Start with automated tools to establish a baseline:
This identifies issues across:
  • Performance (40% of typical issues)
  • Accessibility (30% of typical issues)
  • SEO (15% of typical issues)
  • Best Practices (15% of typical issues)
2

Categorize by Severity

Group findings by impact level:
3

Address Critical & High Priority Issues

Focus on issues that affect user experience and search ranking:Critical issues to fix first:
  • HTTPS not enabled
  • Security vulnerabilities (check npm audit)
  • Missing accessibility labels on forms
  • Core Web Vitals failures (LCP > 4s, INP > 500ms, CLS > 0.25)
High priority issues:
  • Color contrast below 4.5:1
  • Missing meta tags (title, description)
  • Images without dimensions (causing CLS)
  • Render-blocking resources
4

Optimize Medium Priority Items

Improvements with measurable impact:
  • Compress and optimize images (WebP/AVIF)
  • Implement lazy loading for below-fold content
  • Add structured data (JSON-LD)
  • Improve internal linking structure
  • Set up proper caching headers
5

Verify Improvements

Re-run tests to confirm fixes:
Target scores:
  • Performance: ≥ 90
  • Accessibility: 100
  • Best Practices: ≥ 95
  • SEO: ≥ 95
6

Document Findings

Create a record of:
  • Issues found and fixes applied
  • Before/after metrics
  • Remaining technical debt
  • Recommendations for future work

Performance Optimization Workflow

Systematic approach to improving page speed and Core Web Vitals.
1

Measure Current Performance

Establish baseline metrics:
2

Identify LCP Element

Find what’s causing slow Largest Contentful Paint:
Common LCP elements:
  • Hero image
  • Large text block
  • Background image
  • Video poster
3

Optimize LCP

Apply targeted fixes:
  • Use a CDN for edge caching
  • Enable Brotli or Gzip compression
  • Optimize database queries
  • Use edge functions for dynamic content
  • Cache HTML at the edge when possible
  • Use WebP or AVIF formats
  • Compress images (80-85% quality)
  • Serve correctly sized images via srcset
  • Remove unnecessary metadata
4

Optimize INP

Improve interaction responsiveness:
  • Break up long tasks (> 50ms)
  • Debounce expensive handlers
  • Use web workers for CPU-intensive work
  • Lazy load third-party scripts
  • Minimize JavaScript bundle size
5

Optimize CLS

Prevent layout shifts:
6

Verify in Production

Monitor real user metrics:
  • Check Google Search Console → Core Web Vitals
  • Review field data in CrUX
  • Monitor your analytics for web-vitals events
  • Test on real devices and network conditions

Pre-Deployment Checklist

Essential checks before every production deploy.

Critical Checks

High Priority Checks

Medium Priority

Ongoing Monitoring Strategy

Maintain web quality over time with regular reviews.

Daily Monitoring

  • Automated alerts for:
    • Build failures
    • Security vulnerabilities
    • Production errors (via error tracking)
    • Downtime (via uptime monitoring)

Weekly Review

Monthly Deep Dive

Quarterly Planning

  • Tech debt review: Address accumulated low-priority issues
  • Framework updates: Upgrade to latest stable versions
  • Competitive analysis: Compare to similar sites
  • User testing: Identify real-world usability issues
  • Strategy adjustment: Based on data and business goals

Quick Reference Commands

Audit Commands

Build Optimization

Testing

Web Quality Audit

Comprehensive audit process

Performance

Speed optimization guide

Core Web Vitals

LCP, INP, CLS optimization