What problem does it solve?
The wp-abilities-api skill solves the problem of integrating WordPress plugin functionality into a standardized, discoverable “tool surface” that AI agents and external clients can safely invoke with machine-readable schemas.
Core Features & Use Cases
- Ability registration and contracts: Design reliable
wp_register_ability entries with clear label, description, categories, and JSON-Schema-typed input/output so agents choose the right action.
- Permission-safe execution: Use
permission_callback and WP_Ability::execute() patterns to enforce authorization and keep execution gated.
- Optional REST exposure and JS/AI clients: Decide when to enable
meta.show_in_rest so capabilities become callable via the Abilities REST endpoints and/or through @wordpress/abilities, @wordpress/core-abilities, and WP AI Client workflows.
Quick Start
Tell your AI to register a WordPress Abilities API endpoint for my plugin action, with a specific input schema, permission callback, and REST exposure so agents can discover and run it.