wcm-data-model-subscriptions-link

Official

Map Memberships to Subscriptions safely

Authorvikingokft
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill prevents broken Memberships-to-Subscriptions integrations by documenting the exact WooCommerce Memberships data model, storage keys, statuses, and the one-way linking mechanism to WooCommerce Subscriptions.

Core Features & Use Cases

  • Exact Memberships storage mapping: Identifies where membership plans, user memberships, rule sets, profile-field definitions/values, and order grant markers are stored (CPTs, options, and user/order meta).
  • Correct status handling: Provides the WP post status (wcm-*) to object status mapping so an agent uses the right slugs/values when updating or auditing access.
  • Subscriptions link implementation details: Specifies the primary relation via wc_user_membership meta _subscription_id, including helper APIs, safe query patterns, and lifecycle events (link/unlink, trial mirroring, date/status sync).
  • Gifting-aware recipient behavior: Explains how Subscriptions Gifting changes the recipient of granted access and which meta fields drive that selection.

Quick Start

Tell the agent: map the installed WooCommerce Memberships and Subscriptions storage for my membership plan and subscriptions link, and list the exact meta keys and status transitions I must use for a migration or debugging task.

Dependency Matrix

Required Modules

None required

Components

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: wcm-data-model-subscriptions-link
Download link: https://github.com/vikingokft/wp-agent-skills/archive/main.zip#wcm-data-model-subscriptions-link

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.