wcs-data-model-switching-gifting
OfficialUnderstand WCS switch and gifting internals
Authorvikingokft
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill prevents WooCommerce Subscriptions switching and gifting bugs by clarifying the exact data model, meta keys, and switch/gift flow internals that your code or agent must read and write correctly.
Core Features & Use Cases
- Exact Subscriptions keys and entity identifiers: subscription order type, product/variation types, status values, schedule/date meta, and switch payload meta so audits, migrations, and compatibility work stay consistent.
- Switcher flow correctness: describes how switch links, cart item data (
subscription_switch), switch totals/proration, order payload (_subscription_switch_data), and completion hooks work together. - Gifting recipient storage & flow: documents where recipient identity is stored across cart item data, subscription meta, order item meta, and user meta, including how recipient capabilities are enforced.
Quick Start
Use wcs-data-model-switching-gifting to generate an audit plan for a failing subscription switch where the order payload or recipient recipient data is inconsistent with WooCommerce Subscriptions expectations.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: wcs-data-model-switching-gifting Download link: https://github.com/vikingokft/wp-agent-skills/archive/main.zip#wcs-data-model-switching-gifting Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.