Claude-skill-registry commerce-customers
Manage customer records and profiles in StateSet iCommerce. Use when listing, getting, or creating customers, looking up by email, or running `stateset-direct customers`.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/commerce-customers" ~/.claude/skills/majiayu000-claude-skill-registry-commerce-customers && rm -rf "$T"
manifest:
skills/data/commerce-customers/SKILL.mdsource content
Commerce Customers
Manage customer identity and profile data used across orders, carts, and analytics.
How It Works
- Find customers by email or ID.
- Create or update customer records.
- Use customer IDs for orders and carts.
- Report counts or segments as needed.
Usage
- CLI:
orstateset "list customers"stateset-direct customers <action> - Writes require
.--apply - MCP tools:
,list_customers
,get_customer
.create_customer
Output
{"status":"ok","customer_id":"cust_123","email":"customer@example.com"}
Present Results to User
- Customer identifiers and key fields updated.
- Any validation or deduping performed.
- Next steps (orders, carts, or segmentation).
Troubleshooting
- Customer not found: verify email or ID and search again.
- Duplicate email: merge or update the existing record.
References
- references/customer-commands.md
- /home/dom/stateset-icommerce/examples/cli-reference.md
- /home/dom/stateset-icommerce/cli/src/tools/customers.js