Back to skills

wp-interactivity-api

development

Handles WordPress Interactivity API development and debugging. Covers data-wp-* directives, store/state/actions via @wordpress/interactivity, block viewScriptModule integration, and server-side render

Setup & Installation

npx skills add https://github.com/WordPress/wp-interactivity-api --skill wp-interactivity-api
or paste the link and ask your coding assistant to install it
https://github.com/WordPress/wp-interactivity-api
View on GitHub

What This Skill Does

Handles WordPress Interactivity API development and debugging. Covers data-wp-* directives, store/state/actions via @wordpress/interactivity, block viewScriptModule integration, and server-side rendering with wp_interactivity_state(). Targets WordPress 6.9+ with PHP 7.2.24 or later. Instead of manually tracing the directive-to-store pipeline across PHP, block.json, and JavaScript, this skill provides a structured checklist that covers server rendering, hydration alignment, and 6.9-specific breakages in one pass.

When to use it

  • Working with wp interactivity api functionality
  • Implementing wp interactivity api features
  • Debugging wp interactivity api related issues