# WordPress REST API

Build and debug WordPress REST API endpoints\.

Canonical: https://claudelist.com/listings/skill-wordpress-agent-skills-wp-rest-api

Category: Skills

Source: vendor · WordPress

Source checked: 2026-10-14

Website: https://github.com/WordPress/agent-skills/tree/trunk/skills/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.

## Install or set up

1. Review this skill’s `SKILL.md` and any prerequisites at the source.
2. From the project where you use Claude Code, run the command below. It installs only this skill into project scope; add `-g` for your personal scope.
3. Restart Claude Code and invoke `/wp-rest-api` or ask Claude to use the skill. If it does not appear, check `.claude/skills/` and the source’s setup notes.

```sh
npx skills add https://github.com/WordPress/agent-skills/tree/trunk/skills/wp-rest-api --agent claude-code
```

Installation guide: https://github.com/WordPress/agent-skills/tree/trunk/skills/wp-rest-api
