@crabcloud/skills 0.1.17 → 0.1.18
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,13 +1,13 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: crabcloud-atelier
|
|
3
|
-
description: Fashion R&D workshop management via the `crab atelier` CLI — apply to create an atelier, manage members & permission sets, invite links, roles, collections, styles (with stage markers), design-stage documents (design/pattern/sample drafts with round-based reviews), the supplier directory (fabric vendors & factories), production orders (size breakdown, delivery, factory, frozen costing snapshot), the org-wide record stream and the desk digest. Use when the user asks anything about their fashion atelier
|
|
3
|
+
description: Fashion R&D workshop management via the `crab atelier` CLI — apply to create an atelier, manage members & permission sets, invite links, roles, collections, styles (with stage markers), design-stage documents (design/pattern/sample drafts with round-based reviews), the supplier directory (fabric vendors & factories), production orders (size breakdown, delivery, factory, frozen costing snapshot), the org-wide record stream and the desk digest. Use when the user asks anything about their fashion atelier: 工坊、款式、样衣、打样、审版、样衣轮次、系列、款号、配色、设计师、服装研发、核价准备、建坊、成员、权限、邀请链接、岗位、记录、工作台、供应商、面辅料、加工厂、制单、生产单、排产、交期、投产、工艺单 — even if they never say "crab".
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
#
|
|
6
|
+
# Atelier 服装研发工坊(crab atelier)
|
|
7
7
|
|
|
8
8
|
管理服装研发工坊:成员与权限集、邀请链接、岗位(纯职务标识)、系列(批次容器)、
|
|
9
9
|
款式库(款号 + 阶段定位标记 + 配色 + 打样稿件)、设计阶段时间线(稿件上传 /
|
|
10
|
-
审版定版留痕)、供应商目录(面辅料商家 /
|
|
10
|
+
审版定版留痕)、供应商目录(面辅料商家 / 加工厂)、全量记录流与工作台聚合。独立产品 Atelier,同一套 REST API 服务 Web 与 CLI。
|
|
11
11
|
款(style)是唯一锚点——建档、轮次、结论都挂在款上并自动落时间线。
|
|
12
12
|
|
|
13
13
|
跨域时参考:邮件 `crabcloud-mail`、云盘 `crabcloud-storage`、协作
|
|
@@ -93,11 +93,11 @@ flags 的数组)判定:`styles`(款式库)、`records`(记录)、`ma
|
|
|
93
93
|
| 归档 / 恢复 | `crab atelier collection archive <id>` / `crab atelier collection restore <id>`(幂等无删除) |
|
|
94
94
|
| 看款式库 | `crab atelier styles [--q 关键字] [--stage 核算] [--collection <id>] [--page N]`(带阶段分布计数) |
|
|
95
95
|
| 看一款 | `crab atelier style <id>`(信息按组展示:01 基础信息 / 02 商品规格 / 03 生产信息 / 04 尺寸表〔部位 × 尺码矩阵 + 档差,尺码列随商品规格联动〕,+ 轮次时间线 + 最近事件,一次取全) |
|
|
96
|
-
| 款式建档 | `crab atelier style create --code KH001 --name "羊毛大衣" [--category 大衣] [--collection <id>] [--designer ... --pattern-maker 纸样师 --sample-maker
|
|
97
|
-
| 编辑款式 | `crab atelier style edit <id> --stage 生产 [--pattern-maker 纸样师 --sample-maker
|
|
96
|
+
| 款式建档 | `crab atelier style create --code KH001 --name "羊毛大衣" [--category 大衣] [--collection <id>] [--designer ... --pattern-maker 纸样师 --sample-maker 车版师] [--retail-cents 199000] [--notes ...]`(款号唯一;归档系列不可挂)。**开款 ≠ 补录**:建档只收基本字段,色板/尺码/工艺开款后补录(Web 详情页分组编辑或下方 CLI flag 均可;建档时也可一并带上,见 `--colorways/--sizes/--craft-notes`) |
|
|
97
|
+
| 编辑款式 | `crab atelier style edit <id> --stage 生产 [--pattern-maker 纸样师 --sample-maker 车版师]`(给的 flag 才改;`--collection clear` 解绑系列;人员字段均选填自由文本) |
|
|
98
98
|
| 设款式封面 | `crab atelier style cover <styleId> <本地图片路径>`(png/jpg/webp/gif ≤20MB;走工坊素材中转上传,素材自动进 owner 云盘「服装研发」分类,Web 产品库/详情画册位即显;`--clear` 移除引用素材不删)。封面引用只认工坊素材——云盘直传的通用文件挂不上 |
|
|
99
99
|
| 登记规格 | `crab atelier style edit <id> --colorways 驼色,黑,雾蓝 --sizes S,M,L --craft-notes "领口包边,成衣水洗"`(各项各自整体替换——空数组/空串 = 清空;色板与尺码是商品需要的规格,特殊工艺是生产需要的,Web 详情页即按此分组) |
|
|
100
|
-
| 登记尺寸表 | `crab atelier style edit <id> --size-chart "
|
|
100
|
+
| 登记尺寸表 | `crab atelier style edit <id> --size-chart "衣长:沿肩缝直量:2:S=66,M=68,L=70|胸围::S=100"`(**整体替换**,`clear` = 清空;行间 `\|`,行内 `部位:测量方式:档差:码=值,码=值`——测量方式段可整体省略,档差可省略或显式留空〔`部位::` = 无档差〕,值 0–1000 留空 = 该格不记;尺码列与商品规格联动,先配 `--sizes` 再录尺寸表;Web 信息 tab 04 组同源。部位枚举(KHARITES 纸单):后中长/肩宽/胸围/腰围/臀围/脚围/袖长/袖肥/袖口围/夹圈/裤长·裙长/脾围/膝围/前浪/后浪/肩带长——Web 下拉选择 + 其他自填,CLI 自由文本均可) |
|
|
101
101
|
|
|
102
102
|
## 供应商目录
|
|
103
103
|
|
|
@@ -128,7 +128,7 @@ flags 的数组)判定:`styles`(款式库)、`records`(记录)、`ma
|
|
|
128
128
|
|
|
129
129
|
| 意图 | 命令 |
|
|
130
130
|
|---|---|
|
|
131
|
-
| 看核算单 | `crab atelier costing <styleId>`(面辅料/工艺/其他成本行 + 单件合计 +
|
|
131
|
+
| 看核算单 | `crab atelier costing <styleId>`(面辅料/工艺/其他成本行 + 单件合计 + 工艺说明;面辅料行带成份/门幅/克重/颜色/部位/缩率/烫朴/制版单耗/损耗/提供方式/备注等属性行;rowId 都在这里取。A4 打印单在 Web 款式详情「核算」tab) |
|
|
132
132
|
| 加面辅料行 | `crab atelier material add <styleId> --name "澳毛纱" --category fabric --supplier <id\|前缀\|名称> --ref-price-cents 4800 --qty 0.4 --unit 公斤 [--article-no 货号 --spec 规格 --purpose 主面料 --composition "65%锦35%棉" --width 135 --gsm 70 --loss-pct 15 --pattern-usage 0.27 --colors 黑,橘 --supply-mode 现货\|订纺 --parts 所用部位 --shrinkage "经3%纬3%" --interlining-thickness 30g --note 备注]`(--qty/--pattern-usage 小数;**--width 单位 cm、--loss-pct 单位 %**;金额一律 --*-cents 整数分;供应商引用 id/前缀/名称,clear = 解绑) |
|
|
133
133
|
| 加工艺行 | `crab atelier process add <styleId> --name "打鸡眼" --qty 100 --price-cents 100 [--requirement 要求 --supplier ... --unit 次]`(金额自动计入成本核算) |
|
|
134
134
|
| 加其他成本 | `crab atelier extra add <styleId> --name "包装" --price-cents 3000 [--qty 1 --unit ...]`(包装/运费/损耗) |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crabcloud/skills",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.18",
|
|
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": {
|