SkillsReviewed · jorgerosal

WordPress REST API Development

WordPress REST API Development is an AI assistant skill for developers reviewing WordPress API endpoints, but its search matches and severity labels still need technical judgment. It guides checks of route registration, permissions, input validation and response consistency through Markdown instructions and two reference notes.

Researched 17 Nov 2026

In short.

WordPress REST API Development is an AI assistant skill for WordPress developers who want structured endpoint reviews, but its brief examples and broad severity rules require human interpretation. It covers route registration, access checks, request validation and response design, and specifies findings with severity, file locations and recommended fixes. The supplied files support its use as a review aid; detection accuracy, installation compatibility and runtime behavior are unknown. Nothing was executed.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage includes the complete supplied claude-skills/wp-rest-api-development folder: SKILL.md, references/route-patterns.md and references/schema-and-auth-guide.md, at revision 8c964424d05ba34b3ea5641f7181d4c13829e06f. The repository-level LICENSE is included as the related rights notice. Other repository skills and named companion resources are excluded. All supplied source text was considered; assistant loading, search behavior, endpoint execution, compatibility and review accuracy remain untested.

The overview

Identity

The resource is wp-rest-api-development in Jorge Rosal's wordpress-skills repository, under claude-skills/wp-rest-api-development. It contains SKILL.md and two reference notes. It supplies instructions for an AI assistant reviewing or developing custom WordPress REST endpoints: the addresses through which other software reads or changes site data.

Original resource location: [https://github.com/jorgerosal/wordpress-skills/tree/main/claude-skills/wp-rest-api-development].

Assessment

The skill offers a useful structure for a focused review of custom endpoints. It connects each route's intended operation with its access rules, accepted inputs and returned data, then asks for findings that explain both the problem and the fix.

Its practical value depends on the assistant understanding the surrounding application code. No measured detection results, real review transcripts or validation tests are supplied, so review accuracy is unknown.

Users

The intended users include WordPress plugin and theme developers, maintainers of headless frontends, and reviewers of internal administrative APIs. Beginners get a checklist of concepts to investigate; experienced developers get named WordPress APIs, search patterns and a consistent finding format.

Using the findings effectively requires enough PHP and WordPress knowledge to understand callbacks, user capabilities and ownership checks. The skill is not a complete introduction to those topics.

Capabilities

The instructions cover register_rest_route(), registration during rest_api_init, versioned namespaces, HTTP methods, permission_callback, WP_REST_Request handling, argument validation and sanitization, and reusable schemas. Response checks include consistent structures, status codes, structured errors, pagination information and avoiding internal-data leaks.

The assistant is asked to report CRITICAL, WARNING or INFO findings with file and line references, an explanation of the effect on WordPress REST behavior, and a recommended fix. Before-and-after code examples are encouraged where useful. These are requested review behaviors, not demonstrated detection results.

Using it

Requirements

Use requires an assistant that can consume the Markdown instructions and inspect the relevant PHP source. The included command examples use ripgrep, invoked as rg, to locate code for review.

The supplied files specify no assistant version, model requirement, minimum WordPress or PHP version, or supported operating system. Although the folder sits under claude-skills, compatibility with a particular assistant release or another skill host is unknown.

Mechanism

The workflow first identifies the REST context, then reviews registration, request handling and response design before assigning finding severity. The two references reinforce route organization and the relationship between request schemas, permissions and responses.

The searches locate text such as route registrations, public permission callbacks, request parameters and response helpers. A match identifies code to inspect; it does not establish whether authorization or validation is correct across the application.

Setup

Obtain SKILL.md together with references/route-patterns.md and references/schema-and-auth-guide.md, preserving their relative paths. Follow the chosen assistant host's documented skill-loading procedure and make the relevant project files available for review.

The supplied folder does not document an installation command, destination directory or activation procedure. Its exact loading behavior remains unknown. Preserve the MIT copyright and permission notice when copying or sharing the files.

Example

The route reference shows a read endpoint for numeric item IDs under the namespace my-plugin/v1. It registers during rest_api_init, uses WP_REST_Server::READABLE, names my_plugin_get_item as the handler and my_plugin_can_view_item as the permission callback, and assigns is_numeric as the ID validator.

The handler and permission functions are not defined in the example, so developers still need to implement the actual data access and authorization. The example was not executed, and its compatibility with a target WordPress/PHP environment was not assessed.

Assessment & evidence

Limitations

The folder supplies instructions and short references, with no test suite, complete endpoint implementation or demonstrated review results. Authentication, nonce usage, caching and compatibility appear in the stated scope, but the references do not develop complete implementation or verification procedures for them.

Severity rules are broad. For example, the skill marks raw request globals and write endpoints using __return_true as critical patterns. Those labels still require inspection of actual data handling and intended access rules; a string match alone does not establish an exploitable defect.

General plugin architecture, whole-plugin security, WooCommerce-specific endpoint review and GraphQL are outside its stated focus.

Reasoning

The route-first sequence gives a reviewer a coherent set of questions: what operation is exposed, who may perform it, which inputs are accepted, and what comes back. Requiring file locations, impact explanations and fixes can make the resulting findings easier to assess.

These are benefits inferred from the instruction design. The evidence does not establish that an assistant follows the workflow reliably or finds more defects when using it.

Alternatives

The source points to wp-plugin-development for broader plugin architecture, wp-security-review for security across a whole plugin, and wp-woocommerce-dev for WooCommerce-specific work. These are scope-based pointers from the author.

The companion resources were not supplied, so their contents, availability, compatibility and comparative quality are unknown. No evaluated alternative for GraphQL is provided.

Evidence

The available source consists of SKILL.md, its linked route-patterns.md and schema-and-auth-guide.md references, and the repository LICENSE. All supplied files are tied to revision 8c964424d05ba34b3ea5641f7181d4c13829e06f.

Revision-specific instruction file: [https://raw.githubusercontent.com/jorgerosal/wordpress-skills/8c964424d05ba34b3ea5641f7181d4c13829e06f/claude-skills/wp-rest-api-development/SKILL.md]. The findings concern the supplied text and examples. No assistant invocation, shell command, PHP code or WordPress request was executed.

Access & freshness

Costs

The supplied files state no price, subscription requirement or usage estimate. Assistant access costs, model usage costs and total operating cost are unknown. The MIT licence establishes usage rights, not the price of an assistant used with the skill.

Rights

The repository licence is MIT, with copyright attributed to Jorge Rosal in 2026. It permits use, modification, distribution, sublicensing and sale, provided the copyright and permission notices accompany copies or substantial portions. It supplies the material without warranty.

Licence text: [https://raw.githubusercontent.com/jorgerosal/wordpress-skills/8c964424d05ba34b3ea5641f7181d4c13829e06f/LICENSE].

Freshness

The supplied source snapshot was captured on 17 November 2026 at 03:49:32 UTC. That capture time does not establish the resource's release date or last substantive update.

The files give no release version or compatibility matrix. Changes after the recorded commit, current maintenance activity, and compatibility with current WordPress, PHP and assistant releases are unknown.

Actions

Start with a small group of endpoints whose intended access rules are known. Supply the route registration, handlers, permission functions and relevant validation code, then request findings with file locations, impact and proposed fixes.

Check each finding against the real capability checks, ownership rules and input handling before accepting its severity. Complete the missing callback implementations before reusing the route example, and verify resulting behavior in the intended WordPress/PHP environment. These are suggested next steps; none was performed.

Evidence for this report

LICENSEnotice · checked 2026-11-17