WP Rest API
94TrustedInstructions onlyWordPress REST API endpoint creation, custom field registration, and route debugging.
What it does
Installing Wp Rest API equips your assistant to architect and troubleshoot custom endpoints within the WordPress ecosystem. It provides the necessary logic to handle request validation, response shaping, and permission management using native WordPress patterns.
By integrating this skill, the assistant gains access to standardized approaches for exposing post types or taxonomies to the web interface. It shifts the focus toward maintainable, server-side code structures that follow established WordPress architecture for data exchange.
When it earns its place
Reach for it when…
Use this when developing custom routes for data processing, debugging authentication errors in existing endpoints, or linking internal meta and fields to the REST response output.
Look elsewhere when…
This is not for managing frontend JavaScript frameworks or standalone decoupled application architecture that exists outside of a standard WordPress plugin or theme directory structure.
What to say to use it
You never invoke a skill directly — the assistant picks it up when your request matches what it covers. These are the kinds of things that do that.
- create a new custom endpoint for my plugin data
- debug why my rest api route is returning a 403 error
- expose these custom fields to the rest api response
- register a custom post type for rest access
Install it
Install for all your projects
Copy the skill directory into your personal skills folder. Claude picks it up on its own the next time your request matches what it does — there is nothing to enable.
git clone --depth 1 --branch trunk https://github.com/WordPress/agent-skills.git /tmp/agent-skills
mkdir -p ~/.claude/skills
cp -r /tmp/agent-skills/skills/wp-rest-api ~/.claude/skills/wp-rest-apiInstall for one project only
Put it in the project's own skills folder instead, so it can be committed and shared with everyone working on that repository.
cp -r /tmp/agent-skills/skills/wp-rest-api .claude/skills/wp-rest-apiIf a skill of the same name exists in both places, the personal one wins.
Installing on Claude.ai or through the API instead? The full guide covers every surface.
Pair it with an MCP server
WP Rest API changes how the work is done. These servers change what Claude can reach while doing it.
- GitHub MCP Server53The skill sets the conventions the code should follow; GitHub MCP Server is what lets Claude read the repository it is writing into.
- Context Forge MCP Server86Context Forge MCP Server gives the code somewhere to actually run, so the skill's guidance can be checked instead of assumed.
- Supabase MCP Server100Pair with Supabase MCP Server when the code being written has to match a real schema rather than a described one.