GitHub - WordPress/abilities-api: A WordPress API for declaring and discovering plugin, theme, and core abilities in a human- and machine-readable way. (original) (raw)
Navigation Menu
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Abilities API
Part of the AI Building Blocks for WordPress initiative
Overview
- Purpose: provide a common way for WordPress core, plugins, and themes to describe what they can do ("abilities") in a machine‑readable, human‑friendly form.
- Scope: discovery, permissioning, and execution metadata only. Actual business logic stays inside the registering component.
- Audience: plugin & theme authors, agency builders, and future AI / automation tools.
Design Goals
- Discoverability - every ability can be listed, queried, and inspected.
- Interoperability - a uniform schema lets unrelated components compose workflows.
- Security‑first - explicit permissions determine who/what may invoke an ability.
- Gradual adoption - ships first as a Composer package, migrates smoothly to core.
Documentation
Inspiration
- wp‑feature‑api - shared vision of declaring capabilities at the PHP layer.
- Command Palette experiments in Gutenberg.
- Modern AI assistant protocols (MCP, A2A).
Current Status
| Milestones | State |
|---|---|
| Placeholder repository | created |
| Spec draft | created |
| Prototype plugin & Composer package | created |
| Community feedback (#core‑ai Slack) | created |
| Core proposal | in progress |
| Initial | created |
| WordPress 6.9 | in progress |
How to Get Involved
- Discuss:
#core-aichannel on WordPress Slack. - File issues: suggestions & use‑cases welcome in this repo.
- Prototype: experiment with the feature plugin or the wordpress/abilities-api Composer package.
License
WordPress is free software, and is released under the terms of the GNU General Public License version 2 or (at your option) any later version. See LICENSE.md for complete license.
