block-supports-audit
Audit blocks for WordPress Block Supports optimization opportunities
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Audit blocks for WordPress Block Supports optimization opportunities
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Create a new Gutenberg block with scaffolding
Use when working with the WordPress Abilities API (wp_register_ability, wp_register_ability_category, /wp-json/wp-abilities/v1/*, @wordpress/abilities) including defining abilities, categories, meta, REST exposure, and permissions checks for clients.
Prepare plugin for WordPress.org deployment
Use when generating responses containing factual claims, API details, configuration specifics, version compatibility, or recalled knowledge that could be hallucinated - especially when not working directly from source code or command output
Use when executing implementation plans with independent tasks in the current session
Create a block extension to enhance core WordPress blocks
| name | block-supports-audit |
| description | Audit blocks for WordPress Block Supports optimization opportunities |
| context | fork |
| agent | Explore |
| allowed-tools | Read, Glob, Grep, Bash(git *), Bash(npm run *) |
Analyze all blocks to identify opportunities to replace custom controls with WordPress Block Supports.
Scans all blocks in src/blocks/ for:
supports.colorsupports.typographysupports.spacingsupports.__experimentalBordersupports.dimensionsFor each block in src/blocks/:
edit.js to identify custom controlsblock.json to check current supportsBefore (Custom Control):
// edit.js - 25 lines
<PanelBody title="Typography">
<FontSizePicker
value={fontSize}
onChange={(value) => setAttributes({ fontSize: value })}
/>
</PanelBody>
After (Block Supports):
// block.json - 3 lines
{
"supports": {
"typography": {
"fontSize": true
}
}
}
Savings: 22 lines of code
Creates BLOCK-SUPPORTS-OPPORTUNITIES.md with:
See docs/BLOCK-SUPPORTS-AUDIT.md for complete methodology and results.