# WordPress Interactivity API

Build interactive WordPress blocks with the Interactivity API\.

Canonical: https://claudelist.com/listings/skill-wordpress-agent-skills-wp-interactivity-api

Category: Skills

Source: vendor · WordPress

Source checked: 2026-10-14

Website: https://github.com/WordPress/agent-skills/tree/trunk/skills/wp-interactivity-api

Use when building or debugging WordPress Interactivity API features (data-wp-* directives, @wordpress/interactivity store/state/actions, block viewScriptModule integration, wp_interactivity_*()) including performance, hydration, and directive behavior.

## Install or set up

1. Review this skill’s `SKILL.md` and any prerequisites at the source.
2. From the project where you use Claude Code, run the command below. It installs only this skill into project scope; add `-g` for your personal scope.
3. Restart Claude Code and invoke `/wp-interactivity-api` or ask Claude to use the skill. If it does not appear, check `.claude/skills/` and the source’s setup notes.

```sh
npx skills add https://github.com/WordPress/agent-skills/tree/trunk/skills/wp-interactivity-api --agent claude-code
```

Installation guide: https://github.com/WordPress/agent-skills/tree/trunk/skills/wp-interactivity-api
