SkillsGrove
SkillsGrove/Produktivität/SuperDaLin/lark-fashion-cockpit/lark-fashion-cockpit-production-supplier

lark-fashion-cockpit-production-supplier

Installation

$npx skills add https://github.com/SuperDaLin/lark-fashion-cockpit --skill lark-fashion-cockpit-production-supplier
$git clone --depth 1 https://github.com/SuperDaLin/lark-fashion-cockpit.git /tmp/lark-fashion-cockpit && mkdir -p ~/.claude/skills && cp -r /tmp/lark-fashion-cockpit/skills/production-supplier ~/.claude/skills/lark-fashion-cockpit-production-supplier
Bitte installiere diesen Agent Skill für mich: https://github.com/SuperDaLin/lark-fashion-cockpit/tree/8b037e3026e56cf81c4e1b4e2533699350190e63/skills/production-supplier – lies zuerst seine SKILL.md und seine Skripte und installiere ihn erst dann in meinen Skills-Ordner, wenn du bestätigt hast, dass er sicher ist.

Zusammenfassung

Originalbeschreibung · MIT生产 + 供应商管理 — 生产进度跟踪、供应商档案、成品率/准时率监控。当用户说「看生产进度」「工厂状态」「打样到哪了」「供应商表现」时使用。属于 lark-fashion-cockpit 供应链履约板块。
Die folgende SKILL.md ist aus SuperDaLin/lark-fashion-cockpit (Commit 8b037e3) unter der Lizenz MIT wiedergegeben. Der Text ist unverändert; lediglich die Metadaten im Dateikopf sind weggelassen, Bilder werden als Links angezeigt und sehr lange Dateien werden gekürzt. Copyright 2026 冯兴龙. Lizenz: LICENSE. Es wird nur die Anleitungsdatei angezeigt; etwaige Skripte finden Sie im Original-Repository.

生产 + 供应商管理

板块: 🅳 供应链履约
调用: base + task + im
多维表依赖: 09_生产档案(核心)/ 01_产品库

一、前置条件

lark-cli auth login --scope "base:record:read base:record:create base:record:update task:task:write im:message:write"

二、工作流

场景 A: 生产进度看板

触发语: "看生产进度" / "工厂状态" / "打样到哪了"

# 按进度阶段分组
lark-cli base +data-query \
  --base-token <APP> --table-id tblePNIIcpUvTPLp \
  --json '{
    "table_name":"09_生产档案",
    "count_all":true,
    "group_by":[{"field_name":"进度","mode":"integrated"}]
  }'

或打开 09_生产档案 表的看板视图(按进度分列)。

场景 B: 单工厂表现分析

触发语: "X 工厂怎么样" / "供应商表现"

# 读单工厂的所有生产单
lark-cli base +record-list \
  --base-token <APP> --table-id tblePNIIcpUvTPLp \
  --filter '{"conjunction":"and","conditions":[
    {"field_name":"工厂","operator":"is","value":"杭州XX服饰"}
  ]}'

# AI 算:平均成品率 / 平均交期延误 / 完成率

场景 C: 延期预警

触发语: "看延期" / "哪个工厂延误了"

NOW=$(date +%s)000

# 筛选:交期 < 今天 AND 状态 != 已交付
lark-cli base +record-list \
  --base-token <APP> --table-id tblePNIIcpUvTPLp \
  --filter '{"conjunction":"and","conditions":[
    {"field_name":"交期","operator":"isLess","value":"'$NOW'"},
    {"field_name":"进度","operator":"isNot","value":"已交付"}
  ]}'

# 私聊提醒生产主管
lark-cli im chats messages create --user-id <生产主管> --msg-type text \
  --content '{"text":"⚠️ 3 个生产单已超期,请联系工厂跟进"}'

三、涉及多维表

表 操作
09_生产档案 读 / 写
01_产品库 读(在做款)
05_任务清单 写(跟进任务)

四、典型对话示例

用户:看生产进度

agent:
✓ 当前 12 个生产单:
  打样 3 / 在做 5 / 质检 2 / 入仓 1 / 已交付 1

⚠️ 风险:
- 杭州XX服饰:DRS-0429-FL × 600 件,交期 5/8(剩 5 天,进度 60%)
- 广州YY制衣:PNT-0418-SU × 600 件,已超期 2 天 🔴

✓ 已私聊生产主管 @张三 提醒
✓ 建议:超期单建议 IM 工厂询问,必要时换厂

五、与其他 skill 协作

  • stock-replenishment:补货任务对应生产单
  • task-collaboration:跟进任务给生产主管
  • new-launch-planning:上新波段的打样跟进

六、参考

Vollständigen Lizenztext ansehen (MIT)
MIT License

Copyright (c) 2026 冯兴龙

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.