with one click
audit-blocks-deep
// Deep AI audit of all blocks — runs structural checks first, then uses AI to review content quality, descriptions, grammar, admin render justification, wrapper usage, and empty-state messages.
// Deep AI audit of all blocks — runs structural checks first, then uses AI to review content quality, descriptions, grammar, admin render justification, wrapper usage, and empty-state messages.
[HINT] Download the complete skill directory including SKILL.md and all related files
| name | audit-blocks-deep |
| description | Deep AI audit of all blocks — runs structural checks first, then uses AI to review content quality, descriptions, grammar, admin render justification, wrapper usage, and empty-state messages. |
Read [@/knowledge/acf-blocks/conventions.md](/knowledge/acf-blocks/conventions.md) and [@/knowledge/acf-blocks/fields.md](/knowledge/acf-blocks/fields.md), then:
node $(claude plugin path wp-blocks-dev)/scripts/audit-blocks.js
If there are ✗ issues, tell the user to fix them before proceeding. Warnings are fine to continue.
For each block read block.json, fields.json, render.php, render-admin.php (if exists) and check:
name or key.render.php must use get_block_wrapper_attributes(), never build wrapper attributes manuallyrender-admin.php only for interactive/hidden-content blocks; flag static blocks that have it unnecessarily, and interactive blocks that are missing itrender-admin.php must show a placeholder when content is empty; render.php must render nothing on the frontend when content is missing{block-name}
Structural: ✔ passed
Title: ✔ clear
Description: ✗ "Sample description" — generic, update it
Fields: ⚠ field "text_1" has a generic label
Wrapper: ✔ correct
Admin render: ✔ justified
Empty states: ⚠ missing placeholder in render-admin.php
End with a summary count, then ask: "Fix all issues automatically? (or specify which blocks/rules to fix)" — only proceed after confirmation.