WordPress/wp-block-development
Gutenberg blocks: block.json, attributes, rendering, deprecations
Open source
Description
wp-block-development is an agent skill that covers the full lifecycle of building Gutenberg blocks for WordPress. It walks through creating and registering a block, editing its block.json metadata, and handling attributes and serialization, which decide how block content is saved. It also covers dynamic rendering through a render.php file for blocks that need server-side output, and managing deprecations, the saved-markup migrations that stop existing posts from showing an Invalid block error after you change a block's markup. The skill works with the @wordpress/scripts and @wordpress/create-block build tools. The page notes that a block has many moving parts, including apiVersion, serialization contracts, asset scoping and deprecation chains, and that skipping a structured procedure often produces broken saves or editor warnings. Listed uses include fixing Invalid block errors by adding deprecation entries, adding dynamic server-side rendering to an existing static block with render.php, and migrating a block from one approach to another. It is for developers who build or maintain blocks for WordPress sites and plugins. You install it with the skills command from the WordPress/agent-skills repository.…
Highlights
- Create and register Gutenberg blocks
- Edit block.json metadata and apiVersion
- Attributes and serialization guidance
- Dynamic rendering with render.php
- Deprecation entries to fix Invalid block errors
Ratings & Reviews
No ratings yet
Be the first to rate WordPress/wp-block-development.
People also visit
WordPress/wp-block-themes
Block themes: theme.json, templates, patterns, style variations
WordPress/wp-block-development FAQ
What does this skill do?
It guides building, registering, rendering and migrating Gutenberg blocks, including deprecations for changed markup.
How do I install it?
Run npx skills add https://github.com/WordPress/agent-skills --skill wp-block-development, or paste the repository link and ask your coding assistant to install it.
Who is it for?
Developers building or maintaining Gutenberg blocks for WordPress.
Which build tools does it use?
The page says it works with @wordpress/scripts and @wordpress/create-block.
Is it free?
The skill is in a public repository on GitHub and the page shows no price, so it is open source.
What are the best WordPress/wp-block-development alternatives?
Popular alternatives to WordPress/wp-block-development include wp-block-development, WordPress/wp-block-themes and WordPress agent-skills. See all WordPress/wp-block-development alternatives








