wc-types

Generate TypeScript interfaces and error code unions from WooCommerce REST API documentation.

1|Updated Jun 18, 2026
One-click install
npx skills add https://github.com/kizlo-io/kizlo --skill wc-types
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wc-types
Source: https://github.com/kizlo-io/kizlo/tree/main/.claude/skills/wc-types
Command: npx skills add https://github.com/kizlo-io/kizlo --skill wc-types

SYSTEM DOCUMENTATION & REQUIREMENTS

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.

Frequently Asked Questions about wc-types

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate TypeScript interfaces for WooCommerce REST API resources?

Generating TypeScript interfaces for the WooCommerce REST API involves parsing official admin core documentation and cross-referencing controller PHP source code to produce robust, type-safe schemas for your project.

What is the best way to sync TypeScript types with the WooCommerce admin core API?

Syncing TypeScript types with the WooCommerce admin core API requires extracting schema details and error code unions directly from official documentation and PHP controller source code to eliminate manual interface definitions.

Does WooCommerce REST API type generation include input validation and error codes?

WooCommerce REST API type generation includes endpoint-specific input validation parameters and error code unions by cross-referencing controller PHP source code to capture details missing from public documentation.

Can I generate TypeScript types for WooCommerce products or orders without manual definitions?

You can generate complete typed API surfaces for WooCommerce products or orders without manual definitions by using automated codegen to parse official REST API documentation and extract required schemas.

Why are my WooCommerce REST API TypeScript interfaces missing error code unions?

WooCommerce REST API TypeScript interfaces miss error code unions when relying solely on public documentation, which lacks complete schema details and requires cross-referencing WooCommerce controller PHP source code.