What problem does it solve?
The Skill addresses the complexity and redundancy caused by multiple similar custom blocks when a single block with variations could suffice. It solves the issue of block variations not being utilized effectively, leading to over-blocking and unnecessary plugin size.
Core Features & Use Cases
- Audit Block Variations: Checks the registration and functionality of block variations in a WordPress plugin.
- Detect Over-blocking: Identifies places where multiple blocks should be variations of one.
- Block Transform Checks: Validates the registration of transforms between blocks.
- Default Variation Setup: Ensures that the
isDefault variation is set for proper inserter display.
- Use Case: For a plugin developer looking to optimize their block library by converting similar blocks into variations, or for a QA team ensuring that variations work as intended.
Quick Start
Use the /orbit-block-variations skill to audit the block variations and transforms in your WordPress plugin for over-blocking.