What problem does it solve?
This Skill eliminates the manual, error-prone process of defining TypeScript interfaces for WooCommerce REST API resources, ensuring your codebase stays perfectly synced with the official API surface.
Core Features & Use Cases
- Automated Type Generation: Converts WooCommerce admin core REST API documentation into robust TypeScript interfaces, including input parameters and error code unions.
- PHP Source Fallback: Automatically cross-references WooCommerce controller PHP code to capture error codes and schema details missing from public documentation.
- Use Case: When building a new integration for WooCommerce products or orders, use this Skill to instantly generate the complete, typed API surface required for your project's schema.
Quick Start
Use the wc-types skill to generate TypeScript interfaces for the products resource based on the official WooCommerce REST API documentation.