Lightlines
Catalogue
Sign in
By wordpress

wp-rest-api

wordpress

Build safer WordPress REST API endpoints.

API development

What it does

Builds and debugs WordPress REST API routes, validation, authentication, responses, fields, and custom-content exposure.

When to use it

Use when creating, extending, or debugging WordPress REST endpoints, permissions, fields, schemas, or custom-content exposure.

How to use it

Give it a WordPress project, target component, route details, authentication mode, and version constraints; it creates, updates, or debugs the REST implementation.

What you provide

  • target plugin, theme, or mu-plugin
  • namespace, version, and routes
  • authentication mode
  • WordPress version constraints
  • An existing project

Uses


Access · 1

This skill

WordPress REST API Handbook and core docs

Read

Reads WordPress REST API docs

What you need · 5

Targets a WordPress 7.0 or later environment.

Targets PHP 7.4.0 or later.

Requires node to run the project-triage script.

The procedure begins by running the wp-project-triage skill's project-detection script.


About this skill

Visibility
Public
Repository
wordpress/agent-skills
Created
Oct 8, 2026
Updated
Oct 8, 2026
Files
7