Wp Rest Api
Use 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.
- Type
- Skill
- Author
- wordpress
- GitHub stars
- 2.3K
- Installs
- 5.9K
- Last updated
- October 26, 2026
Install
npx skills add https://github.com/wordpress/agent-skills --skill wp-rest-apiAbout this skill
Supports building, extending, and debugging WordPress REST API endpoints, including register_rest_route, WP_REST_Controller classes, schema and argument validation, and permission callbacks. It also covers response shaping, register_rest_field and register_meta, and exposing custom post types and taxonomies via show_in_rest. Aimed at WordPress plugin and theme developers working on the backend API layer.
Summary written with AI assistance from the project's public description.
Categories
More from wordpress
Wp Plugin Development
Use when developing WordPress plugins: architecture and hooks, activation/deactivation/uninstall, admin UI and Settings API, data storage, cron/tas...
by wordpress
Wp Performance
Use when investigating or improving WordPress performance (backend-only agent): profiling and measurement (WP-CLI profile/doctor, Server-Timing, Qu...
by wordpress
Wp Block Themes
Use when developing WordPress block themes: theme.json (global settings/styles), templates and template parts, patterns, style variations, and Site...
by wordpress
Wordpress Router
Use when the user asks about WordPress codebases (plugins, themes, block themes, Gutenberg blocks, WP core checkouts) and you need to quickly class...
by wordpress
Similar Skills
Find Skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", o...
by vercel-labs
Grill Me
A relentless interview to sharpen a plan or design.
by mattpocock
Ai Video Generation
Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0,...
by inference-sh
Ai Image Generation
Generate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2, FLUX Dev LoRA, FL...
by inference-sh