Build And Debug Custom Wordpress Rest Api Endpoints With Schema
ASecurity
Uses the WordPress wp-rest-api skill to help an agent design, register, validate, and troubleshoot custom REST routes without skipping schema, auth, or permission_callback details. This is for agent-led endpoint work in plugins, themes, or core-adjacent codebases, not for browsing the WordPress REST API as a product catalog.
Installs into .claude/skills of the current project.
Are you the author of Build And Debug Custom Wordpress Rest Api Endpoints With Schema?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/aibot88-build-and-debug-custom-wordpress-rest-api-endpoint)
---
title: "Build and debug custom WordPress REST API endpoints with schema and permission guardrails"
description: "Uses the WordPress wp-rest-api skill to help an agent design, register, validate, and troubleshoot custom REST routes without skipping schema, auth, or permission_callback details. This is for agent-led endpoint work in plugins, themes, or core-adjacent codebases, not for browsing the WordPress REST API as a product catalog."
verification: "security_reviewed"
source: "https://github.com/WordPress/agent-skills/tree/trunk/skills/wp-rest-api"
author: "WordPress"
publisher_type: "Open Source Project"
category:
- "WordPress & CMS"
framework:
- "Multi-Framework"
---
# Build and debug custom WordPress REST API endpoints with schema and permission guardrails
Uses the WordPress wp-rest-api skill to help an agent design, register, validate, and troubleshoot custom REST routes without skipping schema, auth, or permission_callback details. This is for agent-led endpoint work in plugins, themes, or core-adjacent codebases, not for browsing the WordPress REST API as a product catalog.
## Prerequisites
WordPress codebase access, PHP, and optional WP-CLI for verification
## Installation
Choose whichever fits your setup:
1. Copy this skill folder into your local skills directory.
2. Clone the repo and symlink or copy the skill into your agent workspace.
3. Add the repo as a git submodule if you manage shared skills centrally.
4. Install it through your internal provisioning or packaging workflow.
5. Download the folder directly from GitHub and place it in your skills collection.
Install command or upstream instructions:
```
Use the wp-rest-api skill from the WordPress/agent-skills repository in a WordPress development environment.
```
## Documentation
- https://github.com/WordPress/agent-skills/tree/trunk/skills/wp-rest-api
## Source
- [Agent Skill Exchange](https://agentskillexchange.com/skills/build-and-debug-custom-wordpress-rest-api-endpoints-with-schema-and-permission-guardrails/)