What problem does it solve?
This skill eliminates the manual effort of mapping WooCommerce Store API endpoints to TypeScript interfaces, ensuring your frontend types are always accurate and synchronized with the official API documentation.
Core Features & Use Cases
- Automated Type Generation: Converts Store API resource groups or documentation URLs into strongly-typed TypeScript interfaces.
- PHP Fallback Logic: Automatically fetches and parses PHP source code from the WooCommerce repository when documentation is incomplete or missing.
- Use Case: When building a headless WooCommerce storefront, use this skill to instantly generate the WCS_Cart and associated input types for your cart management logic.
Quick Start
Ask the assistant to generate TypeScript types for the cart resource group by providing the name of the resource or its official documentation URL.