Expert guidance on validating, optimizing, and ensuring quality of Mapbox styles through validation, accessibility checks, and optimization. Use when preparing…
Mapbox Style Quality Skill This skill provides expert guidance on ensuring Mapbox style quality through validation, accessibility, and optimization tools. When to Use Quality Tools Pre-Production Checklist Before deploying any Mapbox style to production: Validate all expressions - Catch syntax errors before runtime Check color contrast - Ensure text is readable (WCAG compliance) Validate GeoJSON sources - Ensure data integrity Optimize style - Reduce file size and improve performance Compare versions - Understand what changed Remove empty layers - Delete layers with no visible paint properties as a final cleanup step Simplify redundant boolean expressions - Clean up filters with unnecessary boolean logic (e.g., ["all", expr] → expr, ["any", false, expr] → expr) During Development
don't have the plugin yet? install it then click "run inline in claude" again.