wp-block-development

Validate WordPress block code for block.json schemas and rendering lifecycles.

69|9|Updated Apr 17, 2026
One-click install
npx skills add https://github.com/jorgerosal/wordpress-skills --skill wp-block-development-jorgerosal
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wp-block-development
Source: https://github.com/jorgerosal/wordpress-skills/tree/main/codex-skills/wp-block-development
Command: npx skills add https://github.com/jorgerosal/wordpress-skills --skill wp-block-development-jorgerosal

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Reviews WordPress block code across PHP and JavaScript to verify correctness of block registration, editor behavior, and rendering lifecycles.

Core Features & Use Cases

  • Validate block.json schemas and fields during block registration.
  • Assess edit and save implementations, dynamic rendering, and render callbacks.
  • Inspect InnerBlocks usage, deprecations, and Interactivity API integration for robust block behavior.

Quick Start

Identify a WordPress block project and run Codex review to validate block.json, editor components, and rendering patterns.

Frequently Asked Questions about wp-block-development

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate block.json schemas and fields during WordPress block registration?

To validate block.json schemas during WordPress block registration, the block code is reviewed to verify correct field structures, proper registration flows, and alignment with expected editor behavior and rendering lifecycles across PHP and JavaScript/JSX blocks.

What is the correct way to implement edit and save functions in a WordPress block?

Correct WordPress block edit and save implementations are verified by assessing editor components, dynamic rendering, and render callbacks to ensure flawless execution and proper rendering lifecycles within single blocks and block libraries.

How does InnerBlocks handling work with WordPress block deprecations?

InnerBlocks handling and WordPress block deprecations are inspected together to verify robust block behavior, ensuring that deprecated block versions maintain structural integrity and rendering consistency during lifecycle transitions in the editor.

Can I use the Interactivity API with dynamic rendering in custom WordPress blocks?

Yes, the Interactivity API can be used with dynamic rendering in custom WordPress blocks. Code reviews inspect Interactivity API integration alongside render callbacks to verify robust editor behavior and seamless rendering lifecycles for PHP and JSX blocks.

Does this WordPress block validation cover mixed plugins and theme blocks?

Yes, WordPress block validation covers mixed plugins and theme blocks. It validates block.json schemas, editor behavior, and rendering lifecycles across single blocks, block libraries, theme blocks, and mixed plugins for both PHP and JavaScript/JSX implementations.

Why is my WordPress block not rendering correctly after a deprecation update?

WordPress block rendering failures after deprecation updates often stem from incorrect deprecation handling or flawed InnerBlocks usage. Code review inspects deprecations, InnerBlocks configurations, and render callbacks to identify and correct rendering lifecycle mismatches.