wp-abilities-api
Covers the WordPress Abilities API introduced in WP 6.
Setup & Installation
What This Skill Does
Covers the WordPress Abilities API introduced in WP 6.9, including registering abilities and categories in PHP, exposing them via the `wp-abilities/v1` REST namespace, and consuming them in JavaScript with `@wordpress/abilities`. Also handles debugging when abilities don't appear on the client or in REST responses.
Without this skill, you'd piece together hook timing, REST namespace details, and JS package wiring from scattered Trac tickets and changelogs — this consolidates the full registration-to-consumption path in one place.
When to use it
- Registering a plugin-specific ability with REST exposure so the block editor can gate UI
- Grouping related abilities under a shared category for a custom admin feature
- Debugging a missing ability by tracing hook timing and `show_in_rest` config
- Consuming ability data in a JS component to conditionally render controls
- Migrating ability checks from a standalone plugin to WP 6.9 core APIs
Similar Skills
ios-application-dev
A reference guide for building iOS apps with UIKit, SnapKit, and SwiftUI.
fullstack-dev
A workflow guide for building full-stack applications, covering backend architecture, frontend-backend integration, auth, real-time features, and production hardening.
android-native-dev
A reference guide for Android native development covering Kotlin/Compose patterns, Material Design 3 specs, Gradle project setup, and build troubleshooting.
frontend-dev
Builds complete frontend pages by combining UI design, scroll animations, AI-generated media assets, and copywriting into a single workflow.
