mapbox-style-quality
Skill by mapbox
Validates, checks and optimizes Mapbox styles before production. It covers expressions, GeoJSON sources, color contrast and style diffs. Aimed at developers preparing Mapbox styles for release or debugging map quality issues.
Install mapbox-style-quality
Built from the published package, never by AI.
git clone --depth 1 https://github.com/mapbox/mapbox-agent-skills /tmp/mapbox-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/mapbox-agent-skills/skills/mapbox-style-quality ~/.claude/skills/mapbox-style-qualityRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/mapbox/mapbox-agent-skills /tmp/mapbox-agent-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/mapbox-agent-skills/skills/mapbox-style-quality ~/.gemini/antigravity-cli/skills/mapbox-style-qualityAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install mapbox-style-quality in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
Mapbox Style Quality is an agent skill that guides quality checks on Mapbox styles. It names five tools: validate_geojson_tool for GeoJSON sources, validate_expression_tool for style expressions, check_color_contrast_tool for text labels, compare_styles_tool for diffs between style versions, and optimize_style_tool for reducing style size. The skill tells the assistant when to run each tool during development, before committing, and before deployment.
The skill includes a pre-production checklist and contrast guidance based on WCAG AA and AAA ratios. It also points to reference files on optimization, style comparison, and CI integration, including pre-commit hooks and pipeline steps. It suits developers who prepare Mapbox styles for production, debug map issues, or set map quality standards.
Written from the project's SKILL.md and checked against it.
What it can do
- validate_geojson_toolChecks GeoJSON data before it is added as a style source.
- validate_expression_toolChecks style expressions for syntax and type errors while writing them.
- check_color_contrast_toolChecks text and background contrast against WCAG AA and AAA levels.
- compare_styles_toolGenerates a diff report of layer, source and expression changes.
- optimize_style_toolReduces style size by removing redundant layers, sources and filter logic.
- Pre-production checklistLists the quality steps to run before deploying a Mapbox style.
Try asking
- Validate the expressions in my Mapbox style before I deploy it
- Check whether my map label colors meet WCAG AA contrast
- Compare my current style with the last production version
Good to know
- Reference files are loaded only when the user needs in-depth guidance on a topic.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/mapbox-style-quality/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to mapbox-style-quality
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
mapbox-style-quality: common questions
What does mapbox-style-quality check?
The skill covers style expressions, GeoJSON sources, text color contrast and differences between style versions. It also includes an optimization step for deployment.
Which WCAG contrast levels does it use?
For AA it uses 4.5:1 for normal text and 3:1 for large text. For AAA it uses 7:1 for normal text and 4.5:1 for large text.
Can it reduce the size of a Mapbox style?
The optimize_style_tool step removes unused sources, duplicate layers and empty layers. It also simplifies redundant boolean expressions in filters.
How do I install mapbox-style-quality?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is mapbox-style-quality free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is mapbox-style-quality safe to use?
It scores 77 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to mapbox-style-quality?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
