What problem does it solve?
This Skill eliminates the manual, error-prone process of mapping WordPress REST API documentation to TypeScript interfaces, ensuring your frontend types perfectly match the backend API surface.
Core Features & Use Cases
- Automated Type Generation: Converts WordPress REST API reference pages into fully typed TypeScript interfaces including response schemas and endpoint parameters.
- Error Code Mapping: Automatically extracts and maps WordPress error codes from controller PHP files to provide robust type-safe error handling.
- Use Case: When building a new feature that interacts with the WordPress Comments API, use this Skill to instantly generate the WP_Comment type and all associated input/error types, ensuring your code is type-safe from day one.
Quick Start
Use the wp-types skill to generate TypeScript interfaces for the WordPress comments API by providing the URL to the official developer documentation page.