[skill+prompt] Add mapbox-style-quality skill and prepare-style-for-production prompt with automatic validation #55
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Adds comprehensive style quality validation capabilities through a new skill and prompt, with automatic validation integrated into all style-creation workflows.
New Skill: mapbox-style-quality
Created comprehensive skill document (390+ lines) teaching AI assistants when and how to use quality validation tools:
New Prompt: prepare-style-for-production
Created production-ready workflow prompt that orchestrates 5 validation tools:
Features:
Arguments:
style_id_or_json(required): Style ID or complete style JSONskip_optimization(optional): Set to "true" to skip optimizationwcag_level(optional): "AA" or "AAA" (default: "AA")Automatic Validation Integration
Updated all 4 style-creation prompts to automatically validate after creating styles:
Updated Prompts:
Validation Flow:
Results Shown to Users:
Why Automatic Validation?
Following development tool patterns (ESLint, TypeScript, test runners):
Testing
Documentation
Related Work
This work depends on and integrates with:
Example Usage
Using the Prompt Directly:
Automatic Validation in Workflows:
When a user runs
create-and-preview-style, the AI will now:Benefits
🤖 Generated with Claude Code