Registers and consumes WordPress Abilities API (wp_register_ability, REST endpoints, @wordpress/abilities) for defining abilities, categories, meta, and permissions checks.
How this skill is triggered — by the user, by Claude, or both
Slash command
/wordpress-agent-skills-9:wp-abilities-apiThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill when the task involves:
Use this skill when the task involves:
wp-abilities/v1),@wordpress/abilities),wp-project-triage first if you haven’t).Before deciding what to register, read references/domain-vs-projection.md — abilities live at the domain capability layer; MCP / Command Palette / REST exposure is a projection. Registration shape and exposure shape are different decisions, and conflating them forces re-registration every time a consumer's constraints change.
signals.isWpCoreCheckout and versions.wordpress.core.Search for these in the repo:
wp_register_ability(wp_register_ability_category(wp_abilities_api_initwp_abilities_api_categories_initwp-abilities/v1@wordpress/abilitiesIf none exist, decide whether you’re introducing Abilities API fresh (new registrations + client consumption) or only consuming.
If you need a logical grouping, register an ability category early (see references/php-registration.md).
For grouping decisions (how many abilities to register, and where to put filters vs. new ability names), read references/grouping-heuristic.md first — it keeps you from shipping one atomic ability per REST operation.
To avoid drift between the ability and the existing UI / REST code path, see references/shared-core-service.md — abilities, REST handlers, CLI commands, and UI controllers should be thin adapters over a shared service. The reference also covers the metric trap (REST handlers that emit usage telemetry) and the AGENTS.md rule for keeping registrations in sync when underlying code paths change.
For shared helper patterns when multiple execute callbacks delegate to existing REST controllers, see references/plugin-family-patterns.md (identify the shared-API-client vs zero-arg-controllers shape) and references/delegate-helper-pattern.md (one helper shape that works, and when not to use it).
For standardized WP_Error codes that let agents reason about retry vs. escalation, see references/error-code-vocabulary.md.
Implement the ability in PHP registration with:
id (namespaced),label/description,category,meta:
readonly: true when the ability is informational,show_in_rest: true for abilities you want visible to clients.Use the documented init hooks for Abilities API registration so they load at the right time (see references/php-registration.md).
references/rest-api.md).meta.show_in_rest is enabled and you’re querying the right endpoint.@wordpress/abilities APIs for client-side access and checks.wp-project-triage indicates signals.usesAbilitiesApi: true after your change (if applicable).wp-abilities/v1 return your ability and category when expected.meta.show_in_rest,input_schema defaults aren't being applied, pagination key drift between the ability and the backing, or empty()-based ID validation — see references/input-schema-gotchas.md.references/rest-api.mdreferences/php-registration.mdnpx claudepluginhub joshuarweaver/cascade-code-general-misc-4 --plugin wordpress-agent-skills-93plugins reuse this skill
First indexed Jun 6, 2026
Creates custom MCP Abilities for WordPress, defining PHP classes with JSON schemas and execute() methods that are auto-discovered and callable via Claude's execute-ability tool.
Audits a WordPress plugin's REST surface and produces a standardized audit document proposing Abilities API registrations. Useful for planning Abilities API rollout or scoping work.
Develops WordPress plugins with proper architecture, hooks, admin interfaces, REST API endpoints, security practices, and WordPress 7.0 features like RTC, AI connectors, and DataViews.