@crabcloud/skills 0.1.11 → 0.1.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: crabcloud-shop
3
- description: Manage the user's Crab Cloud shop stores through the `crab` CLI — store status, opening applications, products, stock and inventory, coupons, announcements and campaigns, storefront homepage decoration blocks, membership tiers, members and role presets. Use this skill when the user asks about their shops, wants to open or apply for a store, create or update products, adjust stock, manage membership tiers, check orders or inventory movements, manage store members/roles ("我的店铺", "开店", "上架商品", "改库存", "出入库", "优惠券", "发券", "公告", "活动", "首页装修", "装修", "会员等级", "商店订单", "店铺成员", "店铺设置", "SKU 前缀", "客服电话", "微信号", "crab shop"), or asks what their stores look like — even if they never say "crab" or "Crab Cloud" explicitly.
3
+ description: Manage the user's Crab Cloud shop stores through the `crab` CLI — store status, opening applications, store settings (SKU prefix, currency, contact info), products, stock and inventory, coupons, announcements and campaigns, storefront homepage decoration blocks, membership tiers, customers and customer wallets (balance, points, recharge packs), members and role presets. Use this skill when the user asks about their shops, wants to open or apply for a store, create or update products, adjust stock, manage membership tiers, check orders or inventory movements, manage store members/roles, check customers or wallet balances ("我的店铺", "开店", "上架商品", "改库存", "出入库", "优惠券", "发券", "公告", "活动", "首页装修", "装修", "会员等级", "商店订单", "店铺成员", "店铺设置", "SKU 前缀", "客服电话", "微信号", "货币", "客户", "余额", "积分", "充值", "钱包", "crab shop"), or asks what their stores look like — even if they never say "crab" or "Crab Cloud" explicitly.
4
4
  ---
5
5
 
6
6
  # Crab Cloud 商店(crab shop)
@@ -30,8 +30,8 @@ description: Manage the user's Crab Cloud shop stores through the `crab` CLI —
30
30
  | 店铺成员(权限组合/业务身份) | `crab shop members --store <slug>` |
31
31
  | 改成员权限 / 业务身份 | `crab shop member edit <用户名> --perms products,orders --biz sales --store <slug>` |
32
32
  | 查看 / 重置常驻邀请链接 | `crab shop invite [--reset --perms orders,customers --biz sales] --store <slug>` |
33
- | 看店铺资料(SKU 前缀/联系方式/链接) | `crab shop settings [--store <slug>] [--json]` |
34
- | 改店铺资料 / SKU 前缀 / 联系方式 | `crab shop settings edit [--name … --tagline … --description … --sku-prefix … --contact-email … --contact-phone … --contact-wechat …] --store <slug>`(给 flag 才改;前缀自动大写去非法字符截 8 位、空串 = 纯流水;联系方式传空串 = 清除;写需 `settings` 权限) |
33
+ | 看店铺资料(SKU 前缀/货币/联系方式/链接) | `crab shop settings [--store <slug>] [--json]` |
34
+ | 改店铺资料 / SKU 前缀 / 货币 / 联系方式 | `crab shop settings edit [--name … --tagline … --description … --sku-prefix … --currency CNY\|USD\|EUR\|GBP\|HKD --contact-email … --contact-phone … --contact-wechat …] --store <slug>`(给 flag 才改;前缀自动大写去非法字符截 8 位、空串 = 纯流水;货币切换全店商品行同步、价格数值不变;联系方式传空串 = 清除;写需 `settings` 权限) |
35
35
  | 看分类(多级树) | `crab shop categories --store <slug>`(缩进树 + 商品数 + id) |
36
36
  | 加分类 / 加子分类 | `crab shop category add <名称> [--parent <id或名称>] --store <slug>`(新建落同级末尾) |
37
37
  | 分类改名 / 排序 / 删除 | `crab shop category rename <id或名称> <新名称>` · `crab shop category move <id或名称> <up\|down>`(同级换位,边界不动)· `crab shop category delete <id或名称>`(有子级拒绝;叶子删除后商品迁入「未分类」) |
@@ -62,6 +62,11 @@ description: Manage the user's Crab Cloud shop stores through the `crab` CLI —
62
62
  | 改装修块 | `crab shop decor edit <id\|前缀> [--title … --slide … --products … --text … --image none --height lg --style scroll --enabled on\|off …]`(读改写只改显式字段;列表字段给了 = 整体替换;类型不可改,改类型 = 删了重建) |
63
63
  | 装修块启停 / 排序 / 删除 | `crab shop decor on\|off <id\|前缀>`(停用即刻从买家端隐藏)· `crab shop decor move <id\|前缀> <up\|down>`(页面顺序)· `crab shop decor rm <id\|前缀>` |
64
64
  | 改 / 删会员等级 | `crab shop tier edit <id\|名称> [--name 新名称 --threshold-cents 分 --benefits 文本 --enabled on\|off]`(只改显式给出的字段)· `crab shop tier delete <id\|名称>` |
65
+ | 看客户(含余额/积分) | `crab shop customers [--assigned <id\|unassigned>] [--limit N --offset N] --store <slug>`(等级/订单数/消费/余额/积分随列) |
66
+ | 看客户档案 / 钱包流水 | `crab shop customer <id\|邮箱> --store <slug>`(资料 + 最近钱包流水:充值/抵扣/释放/返积分明细) |
67
+ | 看充值档位 | `crab shop packs --store <slug>`(实付 + 赠送 = 到账余额;买家充值进余额不可提现) |
68
+ | 建 / 改 / 删充值档位 | `crab shop pack add --price-cents 10000 [--bonus-cents 1000 --sort N --enabled off]` · `crab shop pack edit <id> [--price-cents … --bonus-cents … --sort … --enabled on\|off]` · `crab shop pack rm <id>`(marketing 权限;每店上限 20;已创建的充值订单不受删档影响) |
69
+ | 设消费返积分 | `crab shop settings edit --points-rate N --store <slug>`(每消费 1 元返 N 积分;0 = 不返;写需 settings 权限) |
65
70
 
66
71
  商品引用统一 `<id|SKU码>`:id 优先,SKU 码店内反查(组合码优先于商品级码)。
67
72
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crabcloud/skills",
3
- "version": "0.1.11",
3
+ "version": "0.1.13",
4
4
  "type": "module",
5
5
  "description": "Crab Cloud agent skills (SKILL.md) with a standalone installer — teach coding agents to operate the user's personal cloud via the crab CLI.",
6
6
  "bin": {