wix-cli-service-plugin

Implement Wix SPI service plugins with TypeScript handlers and validation.

25|31|Updated Jan 25, 2026
One-click install
npx skills add https://github.com/wix/skills --skill wix-cli-service-plugin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wix-cli-service-plugin
Source: https://github.com/wix/skills/tree/main/wix-cli/skills/wix-cli-service-plugin
Command: npx skills add https://github.com/wix/skills --skill wix-cli-service-plugin

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

The Wix SPI Service Plugin Builder provides a structured pattern for implementing backend extensions that inject custom logic into Wix commerce flows or introduce new SPI-driven flows across Wix sites, enabling developers to extend and tailor eCommerce behavior.

Core Features & Use Cases

  • Create plugin scaffolds with TypeScript handlers and extension builders.
  • Register and compose service plugins to activate within the Wix eCommerce backend.
  • Use cases include adding custom shipping logic, discount triggers, and validation rules across Wix sites.

Quick Start

Create a new service plugin scaffold, implement required handlers with proper validation, and register the extension to activate in Wix.

Frequently Asked Questions about wix-cli-service-plugin

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

FAQPage Schema
How do I build a Wix SPI service plugin with backend logic?

To build a Wix SPI service plugin, use a structured backend framework to scaffold TypeScript handlers, implement validation, and register the extension to activate custom logic within Wix sites.

What is a Wix SPI service plugin used for in eCommerce?

A Wix SPI service plugin is used to inject custom backend logic into Wix eCommerce flows, enabling developers to add tailored shipping logic, discount triggers, and validation rules across Wix sites.

How do I add custom shipping logic to a Wix store backend?

You add custom shipping logic by implementing a Wix SPI service plugin with TypeScript handlers that inject custom backend logic into the Wix eCommerce flow and registering the extension.

Does the Wix SPI service plugin framework support TypeScript?

Yes, the Wix SPI service plugin framework supports TypeScript, enforcing precise typed payloads from Wix that require handler implementations, validation, and robust error handling.

What are the limitations of injecting backend logic using Wix SPI?

The primary limitation of using Wix SPI is that the framework enforces precise, typed payloads from Wix, requiring strict handler implementations, validation, and robust error handling for backend logic injection.

When do I need a service plugin for my Wix site?

You need a service plugin when extending Wix store flows with custom SPI-driven logic, such as adding custom discount triggers or validation rules that require structured backend handlers and typed payloads.