Capability
Other metadata
- compatibility
- Targets WordPress 6.9+ (PHP 7.2.24+). Filesystem-based agent with bash + node. Some workflows require WP-CLI.
Topics
- React
- wordpress
- gutenberg
- block-development
- block-json
- php
- javascript
- wp-scripts
- dynamic-rendering
- deprecations
What it does
Develops WordPress Gutenberg blocks: creates block.json metadata, handles block registration, static/dynamic rendering, attribute serialization, and deprecations. Targets WordPress 6.9+ with PHP 7.2.24+ and includes workflows for @wordpress/scripts, @wordpress/create-block, and block migrations.
Generated from the current SKILL.md.
Frequently asked
What WordPress versions does this skill support?
WordPress 6.9+ with PHP 7.2.24+. The skill assumes apiVersion 3 in block.json, which is enforced in WordPress 6.9 and required for correct behavior in the iframed editor coming in WordPress 7.0.
Does this skill handle both static and dynamic blocks?
Yes. It covers static blocks (markup saved to post content), dynamic blocks (server-rendered via render.php or render_callback), and interactive blocks using viewScriptModule or the Interactivity API.
What happens if I change a block's saved markup without adding a deprecation?
Existing blocks in posts will show as invalid. You must add a deprecated entry with the old save pattern and an optional migrate function to normalize attributes when the schema changes.
Does this skill require WP-CLI or specific build tools?
Some workflows require WP-CLI. Build tooling depends on what the repo already uses — typically @wordpress/scripts or @wordpress/create-block — but the skill works with whatever is present.
Generated from the current SKILL.md. These answers refresh after source changes.