Topics
- mapbox
- style-validation
- accessibility
- wcag
- geojson
- expressions
- optimization
- color-contrast
What it does
Validates Mapbox styles for syntax errors, accessibility compliance, and performance issues using GeoJSON validation, expression checking, color contrast analysis, and optimization tools. Targets pre-production workflows, debugging map quality problems, and ensuring WCAG text contrast standards before deployment.
Generated from the current SKILL.md.
Frequently asked
What does this skill validate?
It validates Mapbox style expressions, GeoJSON sources, color contrast for text layers (WCAG compliance), and provides tools to compare style versions and optimize file size.
Does this work with all Mapbox GL JS versions?
The skill validates expressions against operator availability, but you should verify your specific Mapbox GL JS version when validating—the validation will catch version-specific operator issues.
What accessibility standards does it check?
It checks color contrast for WCAG AA (4.5:1 for normal text, 3:1 for large text) and AAA (7:1 for normal text, 4.5:1 for large text) standards.
Can this fix GeoJSON errors automatically?
No. The skill validates GeoJSON and reports errors (invalid coordinates, unclosed rings, wrong order), but you must fix them manually before re-validation.
Does this integrate with CI/CD?
The skill references CI/CD integration patterns in `references/ci-integration.md`, including pre-commit hooks and pipeline steps, but does not bundle CI configuration itself.
Generated from the current SKILL.md. These answers refresh after source changes.