
Wp Abilities Api
wordpress/agent-skillsOfficial
Lead-in line for the WordPress Abilities API skill, covering registration, REST exposure, and client consumption.
- skills.sh installs
- 4.8K
- GitHub stars
- 2.4K
- last updated
- Aug 21, 2026
What it does
- Covers registering abilities and categories in PHP, exposing them over
wp-abilities/v1, and consuming them with@wordpress/abilities - Includes references on domain-versus-projection design, grouping heuristics, shared core services, and standardized
WP_Errorcodes - Enforces
meta.show_in_restfor client visibility and checksreadonlyfor informational abilities, with debugging steps for missing abilities and empty REST results - Designed for WordPress 7.0+ plugin and theme work, with WP-CLI used where workflows require it
Install
$ npx -y skills add wordpress/agent-skills --skill wp-abilities-api -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
WP Abilities API
When to use
Use this skill when the task involves:
- registering abilities or ability categories in PHP,
- exposing abilities to clients via REST (
wp-abilities/v1), - consuming abilities in JS (notably
@wordpress/abilities), - diagnosing “ability doesn’t show up” / “client can’t see ability” / “REST returns empty”.
Inputs required
- Repo root (run
wp-project-triagefirst if you haven’t). - Target WordPress version(s) and whether this is WP core or a plugin/theme.
- Where the change should live (plugin vs theme vs mu-plugin).
Procedure
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.
1) Confirm availability and version constraints
- If this is WP core work, check
signals.isWpCoreCheckoutandversions.wordpress.core. - If the project targets WP < 6.9, you may need the Abilities API plugin/package rather than relying on core.
Details
- Repository
- github.com/wordpress/agent-skills
- Categories
- PHP & Laravel, Backend & APIs
- First seen
- Apr 16, 2026
More from wordpress/agent-skills
All 17- Wp Interactivity Api4.6K
- Wpds4.5K
- Blueprint4.1K
- Wp Plugin Directory Guidelines4.1K
- Wp Abilities Audit3.1K
- Wp Abilities Verify3K
- Wp Plugin Development9K
- Wp Performance7K
- Wp Rest Api6.6K
- Wp Block Themes6.5K
- Wordpress Router6.3K
- Wp Wpcli And Ops6.2K
- Wp Project Triage6.2K
- Wp Block Development6.1K
- Wp Playground5.3K
- Wp Phpstan5.1K
Similar to Wp Abilities Api
More PHP & Laravel
wp-abilities-auditSkillwordpress/agent-skills3.1K installsStructured audit document planning Abilities API registrations for WordPress plugin REST endpoints, grouped by semantic intent.
wp-rest-apiSkillwordpress/agent-skills6.6K installsDeveloper guide for building, extending, and debugging WordPress REST API routes, controllers, and schema validation.
wordpress-plugin-developmentSkillsickn33/agentic-awesome-skills125 installsWordPress plugin development workflow covering architecture, hooks, admin screens, REST endpoints, and WordPress 7.0 features.
ziniao-skill-makerSkillziniao-open/skills5K installsReusable Skill authoring guide that wraps ziniao-cli API calls into atomic or multi-step SKILL.md workflows.
wordpress-plugin-corePluginsecondsky/claude-skills250 starsWordPress plugin development with hooks, security, REST API, custom post types. Use for plugin creation, $wpdb queries, Settings API, or encountering SQL inject
moodle-external-api-developmentSkillsickn33/agentic-awesome-skills526 installsDeveloper guide for building custom Moodle external web service APIs that follow Moodle's external API framework.