What problem does it solve?
This Skill consolidates best practices for WordPress Gutenberg block development, providing triage workflows, scaffolding guidance, and a standardized process to manage block lifecycles from creation to deprecation.
Core Features & Use Cases
- Triage & discovery: Detect WordPress block projects within a repo and identify root block directories.
- Block scaffolding: Use scaffolding tools like @wordpress/create-block to rapidly generate modern blocks and ensure apiVersion 3 compatibility.
- Registration & rendering guidance: Align block metadata, dynamic rendering strategies, and deprecation/migration plans across plugins/themes.
- Use Case: When starting a new block, run triage to locate the block root, scaffold a new block, and register it with metadata-driven registration.
Quick Start
Run the triage script to locate WordPress block projects:
- node skills/wp-block-development/scripts/detect_wp_project.mjs
Then list blocks in the discovered project:
- node skills/wp-block-development/scripts/list_blocks.mjs