SkillOfficial
wp-rest-api
GPL-2.0-or-laterUpdated on Nov 9, 20262,352GitHub stars
A WordPress project skill for building or debugging REST API endpoints.
What the skill teaches
A WordPress project skill for building or debugging REST API endpoints. It covers locating existing REST code, choosing between custom routes and core endpoints, registering routes with namespaces, methods and permission callbacks, validating and sanitising arguments, shaping responses with fields and links, register_rest_field and register_meta, exposing custom post types and taxonomies, authentication, and client behaviour like discovery, pagination and embedding. Reference notes are included.
Capabilities
- Register REST routes with permission callbacks
- Validate and sanitise request arguments
- Add fields and meta to REST responses
- Expose custom post types over REST
About
- Publisher
- WordPress (WordPress.org project)
- Tool
- WordPress
Install
- Run this to add it to Any client:
npx skills add WordPress/agent-skills --skill wp-rest-api
What's inside
- references/authentication.md
- references/custom-content-types.md
- references/discovery-and-params.md
- references/responses-and-fields.md
- references/routes-and-endpoints.md
- references/schema.md
MCP servers and skills can run code on your computer and act on your data. Review the source before installing.
Details
| Fact | Value | Source |
|---|---|---|
| Type | Skill | |
| Tool | WordPress | |
| Publisher | WordPress (WordPress.org project) | source |
| Official status | Officialpublished in the WordPress project's own GitHub organisation; licence credits WordPress Contributors | source |
| Needs an API key or sign-in | Not stated in its documentation | |
| Includes scripts | No | source |
| Platforms | Not stated in its documentation | |
| AI clients | Not stated in its documentation | |
| Licence | GPL-2.0-or-later | source |
| Pricing | Not stated in its documentation | |
| Activity | Last commit Nov 9, 20262,352 GitHub starsDownload data not available (not on npm or PyPI) | source |
| Links | Repository |
More from WordPress (WordPress.org project)
2 servers · 20 skills
- MCP Adapter (MCP server)
- blueprint (Skill)
- wordpress-router (Skill)
- wp-abilities-api (Skill)
- wp-abilities-audit (Skill)
- wp-abilities-verify (Skill)
Sources
- Skill file (SKILL.md)github.com/WordPress/agent-skills · Backs: LicenceNov 10, 2026
- README (README.md)github.com/WordPress/agent-skills · Backs: Official status, PublisherNov 12, 2026
- Licence file (LICENSE)github.com/WordPress/agent-skills · Backs: LicenceNov 12, 2026
- Folder in the repository (wp-rest-api)github.com/WordPress/agent-skills · Backs: Includes scriptsNov 10, 2026
- GitHub repositorygithub.com/wordpress/agent-skills · Backs: ActivityNov 11, 2026