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.
$npx -y skills add wordpress/agent-skills --skill wp-rest-apiInstalls into the current project.
Run `npx skills use "https://github.com/wordpress/agent-skills" --skill "wordpress/agent-skills/wp-rest-api"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/wordpress/agent-skills" that are relevant to the current task. Run `npx skills add "https://github.com/wordpress/agent-skills"` and select the relevant skills, then follow their instructions.