wp-service

Generate TypeScript service classes for WordPress REST API resources from type definitions.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill automates the creation of boilerplate service classes for WordPress REST API resources, ensuring type safety and consistency across the codebase.

Core Features & Use Cases

  • Automated Service Generation: Produces thin, typed transport wrappers for list, create, get, update, and delete operations.
  • Kizlo Integration: Automatically detects and wires custom Kizlo extension points for specialized endpoints.
  • Use Case: When adding a new custom post type or standard resource like a media item, use this skill to instantly generate the service layer that connects your frontend to the WordPress REST API.

Quick Start

Ask the AI to generate the service file for the post resource based on the existing types.ts file.

Frequently Asked Questions about wp-service

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

FAQPage Schema
How do I generate TypeScript service classes for a WordPress REST API resource?

To generate TypeScript service classes for a WordPress REST API resource, you can parse existing type definitions to automatically produce thin, typed transport wrappers for standard CRUD operations.

What is the best way to automate WordPress REST API boilerplate in TypeScript?

Automating WordPress REST API boilerplate in TypeScript is best achieved by generating standardized service layers from existing types, ensuring type safety and consistency without manual coding.

Can I automatically wire custom Kizlo extension points when generating a WordPress service layer?

Yes, you can wire custom Kizlo extension points when generating a WordPress service layer, as the generation process automatically detects and integrates these specialized endpoints.

Do I need existing type definitions to create a typed WordPress REST resource service?

Yes, you need existing type definitions like a types.ts file to create a typed WordPress REST resource service, because the tool parses these definitions to generate the standardized CRUD methods.

What WordPress REST API transport patterns are supported by automated TypeScript codegen?

Automated TypeScript codegen supports standard WordPress REST API transport patterns by ensuring strict adherence to project-specific naming conventions while generating list, create, get, update, and delete operations.