Wp Rest Api
Skill ActiveUse when building, extending, or debugging WordPress REST API endpoints/routes: register_rest_route, WP_REST_Controller/controller classes, schema/argument validation, permission_callback/authentication, response shaping, register_rest_field/register_meta, or exposing CPTs/taxonomies via show_in_rest.
To empower developers using AI assistants to correctly and efficiently build, extend, and debug WordPress REST API endpoints by providing expert-level guidance and procedures.
Features
- Registering REST routes and endpoints
- Implementing custom controller classes
- Schema and argument validation
- Handling permission callbacks and authentication
- Shaping REST API responses
- Exposing CPTs and taxonomies via REST
- Adding custom fields and meta to responses
Use Cases
- When creating new custom REST API endpoints for a WordPress plugin.
- When debugging 401/403/404 errors related to WordPress REST API routes.
- When needing to add or modify fields in REST API responses for custom post types or taxonomies.
- When implementing schema validation for incoming REST API requests.
Non-Goals
- General WordPress plugin or theme development outside of REST API concerns.
- Directly managing WordPress core updates or server-side configurations.
- Providing a full-stack framework for building entire WordPress applications.
- Handling frontend JavaScript interactions unrelated to API data consumption.
Trust
- warning:Issues AttentionOpen issues (6) are higher than closed issues (2) in the last 90 days, indicating maintainers may be responding slowly or struggling to keep up.
Execution
- info:Pinned dependenciesWhile Node.js scripts are used, explicit pinning of interpreter versions or dependency lockfiles within the skill's bundled scripts is not directly evident from the provided SKILL.md.
Practical Utility
- info:Usage examplesWhile the skill outlines procedures and refers to documentation, concrete, end-to-end, ready-to-use examples demonstrating invocation and observable output are not explicitly provided within the SKILL.md or its references.
Installation
npx skills add WordPress/agent-skillsRuns the Vercel skills CLI (skills.sh) via npx — needs Node.js locally and at least one installed skills-compatible agent (Claude Code, Cursor, Codex, …). Assumes the repo follows the agentskills.io format.
Quality Score
Trust Signals
Similar Extensions
Wordpress Advanced Architecture
98Advanced WordPress development with REST API endpoints, WP-CLI commands, performance optimization, and caching strategies for scalable applications.
Django Expert
99Use when building Django web applications or REST APIs with Django REST Framework. Invoke when working with settings.py, models.py, manage.py, or any Django project file. Creates Django models with proper indexes, optimizes ORM queries using select_related/prefetch_related, builds DRF serializers and viewsets, and configures JWT authentication. Trigger terms: Django, DRF, Django REST Framework, Django ORM, Django model, serializer, viewset, Python web.
Wordpress Pro
99Develops custom WordPress themes and plugins, creates and registers Gutenberg blocks and block patterns, configures WooCommerce stores, implements WordPress REST API endpoints, applies security hardening (nonces, sanitization, escaping, capability checks), and optimizes performance through caching and query tuning. Use when building WordPress themes, writing plugins, customizing Gutenberg blocks, extending WooCommerce, working with ACF, using the WordPress REST API, applying hooks and filters, or improving WordPress performance and security.
Spring Boot Engineer
98Generates Spring Boot 3.x configurations, creates REST controllers, implements Spring Security 6 authentication flows, sets up Spring Data JPA repositories, and configures reactive WebFlux endpoints. Use when building Spring Boot 3.x applications, microservices, or reactive Java applications; invoke for Spring Data JPA, Spring Security 6, WebFlux, Spring Cloud integration, Java REST API design, or Microservices Java architecture.
Wp Interactivity Api
95Use when building or debugging WordPress Interactivity API features (data-wp-* directives, @wordpress/interactivity store/state/actions, block viewScriptModule integration, wp_interactivity_*()) including performance, hydration, and directive behavior.
Wordpress Block Editor Fse
95Modern WordPress block development and Full Site Editing with theme.json, block themes, and custom blocks for WordPress 6.7+