feat(pipelines): add 10 industry-specific pipeline templates

Education (3): research-to-quiz, student-analysis, lesson-plan
Healthcare (3): policy-compliance, meeting-minutes, data-report
Design Shantou (4): trend-to-design, competitor-research,
  client-communication, supply-chain-collect
This commit is contained in:
iven
2026-04-01 23:43:45 +08:00
parent 17a2501808
commit c6bd4aea27
10 changed files with 2318 additions and 0 deletions

View File

@@ -0,0 +1,226 @@
# ZCLAW Pipeline - 客户沟通辅助
# 输入客户需求和沟通背景,生成专业沟通方案(邮件/报价单/产品推荐)
apiVersion: zclaw/v1
kind: Pipeline
metadata:
name: client-communication
displayName: 客户沟通辅助
category: design
industry: design-shantou
description: 输入客户需求和背景,自动生成专业沟通邮件、报价单、产品推荐书
tags:
- 汕头
- 客户沟通
- 报价
- 外贸
icon: 💬
author: ZCLAW
version: 1.0.0
spec:
inputs:
- name: client_background
type: text
required: true
label: 客户背景
placeholder: |
客户公司名、国家、主营业务
例如:美国 ABC Toys Inc., 主营益智玩具零售
- name: inquiry_details
type: text
required: true
label: 询盘内容
placeholder: 粘贴客户询盘原文或描述客户需求
- name: communication_type
type: multi-select
required: false
label: 生成内容
default:
- reply_email
- quotation
- product_recommendation
options:
- reply_email
- quotation
- product_recommendation
- follow_up_plan
- name: language
type: select
required: false
label: 输出语言
default: English
options:
- English
- 中文
- 双语
- name: our_products
type: text
required: false
label: 我方产品
placeholder: 简述可供推荐的产品线和特点
steps:
# Step 1: 客户需求分析
- id: analyze_inquiry
description: 分析客户询盘和需求
action:
type: llm_generate
template: |
分析以下客户询盘:
客户背景:
```
{{client_background}}
```
询盘内容:
```
{{inquiry_details}}
```
请生成 JSON 格式分析:
{
"client_profile": {
"company": "公司名",
"country": "国家",
"industry": "行业",
"business_type": "进口商/分销商/零售商",
"estimated_size": "规模估计"
},
"requirements": [
{"requirement": "具体需求", "priority": "高/中/低", "detail": "详细说明"}
],
"pain_points": ["痛点1", "痛点2"],
"budget_indicator": "预算水平判断",
"urgency": "紧急程度",
"decision_factors": ["决策因素1", "决策因素2"]
}
input:
client_background: ${inputs.client_background}
inquiry_details: ${inputs.inquiry_details}
json_mode: true
temperature: 0.4
max_tokens: 2000
# Step 2: 产品推荐匹配
- id: match_products
description: 匹配推荐产品
action:
type: llm_generate
template: |
基于客户需求,匹配推荐产品:
客户需求分析: ${steps.analyze_inquiry.output}
我方产品: {{our_products}}
请生成 JSON 格式推荐:
{
"recommendations": [
{
"product": "产品名称",
"match_reason": "匹配理由",
"specs": "规格参数",
"suggested_price": "建议报价(FOB)",
"moq": "最小起订量",
"lead_time": "交货周期",
"certifications": "相关认证",
"competitive_edge": "竞争优势"
}
],
"cross_sell_opportunities": ["交叉销售机会1"],
"upsell_possibilities": ["向上销售可能1"]
}
input:
analysis: ${steps.analyze_inquiry.output}
our_products: ${inputs.our_products}
json_mode: true
temperature: 0.6
max_tokens: 2500
# Step 3: 生成沟通内容
- id: generate_communications
description: 生成专业沟通内容
action:
type: llm_generate
template: |
生成专业客户沟通内容:
客户分析: ${steps.analyze_inquiry.output}
产品推荐: ${steps.match_products.output}
输出语言: {{language}}
生成类型: {{communication_type}}
请生成 JSON 格式:
{
"reply_email": {
"subject": "邮件主题",
"body": "邮件正文(专业、简洁、有吸引力)",
"call_to_action": "行动号召"
},
"quotation": {
"header": "报价单抬头",
"items": [
{"item": "产品", "description": "描述", "qty": 0, "unit_price": 0, "amount": 0}
],
"terms": "贸易条款",
"validity": "报价有效期",
"payment_terms": "付款条件",
"notes": "备注"
},
"product_recommendation": {
"title": "推荐书标题",
"sections": ["章节1概述", "产品亮点", "合作优势"],
"closing": "结束语"
}
}
input:
analysis: ${steps.analyze_inquiry.output}
products: ${steps.match_products.output}
language: ${inputs.language}
communication_type: ${inputs.communication_type}
json_mode: true
temperature: 0.7
max_tokens: 4000
# Step 4: 跟进计划
- id: follow_up_plan
description: 生成客户跟进计划
action:
type: llm_generate
template: |
生成客户跟进计划:
客户: ${steps.analyze_inquiry.output.client_profile}
紧急度: ${steps.analyze_inquiry.output.urgency}
请生成 JSON 格式:
{
"follow_up_steps": [
{"day": 0, "action": "立即行动", "channel": "邮件/WhatsApp/电话"},
{"day": 3, "action": "第一次跟进", "channel": ""},
{"day": 7, "action": "第二次跟进", "channel": ""},
{"day": 14, "action": "深度跟进", "channel": ""}
],
"relationship_building": ["关系维护建议1", "关系维护建议2"],
"cultural_notes": "文化注意事项"
}
input:
client_profile: ${steps.analyze_inquiry.output.client_profile}
urgency: ${steps.analyze_inquiry.output.urgency}
json_mode: true
temperature: 0.5
max_tokens: 1500
outputs:
inquiry_analysis: ${steps.analyze_inquiry.output}
product_match: ${steps.match_products.output}
communications: ${steps.generate_communications.output}
follow_up: ${steps.follow_up_plan.output}
on_error: stop
timeout_secs: 240

View File

@@ -0,0 +1,224 @@
# ZCLAW Pipeline - 竞品分析推荐
# 输入竞品信息和产品类别,自动进行竞品分析并给出差异化建议
apiVersion: zclaw/v1
kind: Pipeline
metadata:
name: competitor-analysis-design
displayName: 竞品→分析→推荐
category: design
industry: design-shantou
description: 输入竞品品牌/产品信息,自动进行功能、定价、设计风格对比分析,给出差异化产品建议
tags:
- 汕头
- 竞品分析
- 产品定位
- 玩具
- 服装
icon: 🔍
author: ZCLAW
version: 1.0.0
spec:
inputs:
- name: competitors
type: text
required: true
label: 竞品信息
placeholder: |
列出竞品品牌/产品,例如:
1. 奥迪双钻 - 遥控车系列
2. 星辉 - 遥控车系列
3. ...
- name: our_product
type: string
required: false
label: 我方产品
placeholder: 简述我方产品的定位和特点
- name: product_category
type: select
required: false
label: 产品类别
default: 玩具
options:
- 益智玩具
- 遥控玩具
- 毛绒玩具
- 童装
- 内衣
- 工艺品
- name: analysis_depth
type: select
required: false
label: 分析深度
default: 标准
options:
- 快速概览
- 标准
- 深度分析
steps:
# Step 1: 竞品信息整理
- id: organize_competitors
description: 整理竞品基本信息
action:
type: llm_generate
template: |
整理以下竞品信息:
产品类别: {{product_category}}
竞品信息:
```
{{competitors}}
```
请生成 JSON 格式:
{
"competitors": [
{
"name": "品牌/产品名",
"origin": "产地",
"product_line": "产品线",
"price_range": "价格区间",
"target_market": "目标市场",
"distribution": "渠道"
}
],
"market_landscape": "市场竞争格局概述"
}
input:
competitors: ${inputs.competitors}
product_category: ${inputs.product_category}
json_mode: true
temperature: 0.4
max_tokens: 2000
# Step 2: 多维度对比
- id: compare_dimensions
description: 多维度竞品对比分析
action:
type: llm_generate
template: |
对以下竞品进行多维度对比分析:
竞品信息: ${steps.organize_competitors.output}
我方产品: {{our_product}}
产品类别: ${inputs.product_category}
请生成 JSON 格式:
{
"comparison_matrix": [
{
"dimension": "设计风格",
"our": "我方评价",
"competitors": {"竞品A": "评价", "竞品B": "评价"}
},
{
"dimension": "产品功能",
"our": "",
"competitors": {}
},
{
"dimension": "价格定位",
"our": "",
"competitors": {}
},
{
"dimension": "渠道覆盖",
"our": "",
"competitors": {}
},
{
"dimension": "品牌认知",
"our": "",
"competitors": {}
}
],
"our_position": "我方市场定位评估",
"gaps": ["我方不足1", "我方不足2"],
"advantages": ["我方优势1", "我方优势2"]
}
input:
competitors_info: ${steps.organize_competitors.output}
our_product: ${inputs.our_product}
product_category: ${inputs.product_category}
json_mode: true
temperature: 0.5
max_tokens: 3000
# Step 3: 差异化建议
- id: differentiation_advice
description: 生成差异化产品建议
action:
type: llm_generate
template: |
基于竞品对比,生成差异化产品建议:
对比分析: ${steps.compare_dimensions.output}
我方优势: ${steps.compare_dimensions.output.advantages}
我方不足: ${steps.compare_dimensions.output.gaps}
请生成 JSON 格式:
{
"differentiation_strategies": [
{
"strategy": "差异化策略",
"description": "策略描述",
"implementation": "实施路径",
"investment": "投入评估(低/中/高)",
"time_to_market": "上市周期",
"expected_impact": "预期影响"
}
],
"product_suggestions": [
{
"suggestion": "产品建议",
"differentiator": "差异化点",
"target_segment": "目标客群",
"price_strategy": "定价策略"
}
],
"quick_wins": ["快速见效1", "快速见效2"],
"long_term_bets": ["长期布局1", "长期布局2"]
}
input:
comparison: ${steps.compare_dimensions.output}
json_mode: true
temperature: 0.7
max_tokens: 3000
# Step 4: 综合报告
- id: generate_report
description: 生成综合竞品分析报告
action:
type: llm_generate
template: |
生成综合竞品分析报告摘要:
请生成 JSON 格式报告:
{
"title": "竞品分析报告标题",
"executive_summary": "200字摘要",
"key_insights": ["核心洞察1", "核心洞察2", "核心洞察3"],
"top_recommendations": ["首要建议1", "首要建议2"],
"preview_text": "300字报告预览"
}
input:
competitors: ${steps.organize_competitors.output}
comparison: ${steps.compare_dimensions.output}
advice: ${steps.differentiation_advice.output}
json_mode: true
temperature: 0.5
max_tokens: 1500
outputs:
competitors: ${steps.organize_competitors.output}
comparison: ${steps.compare_dimensions.output}
advice: ${steps.differentiation_advice.output}
report: ${steps.generate_report.output}
on_error: stop
timeout_secs: 300

View File

@@ -0,0 +1,248 @@
# ZCLAW Pipeline - 供应链信息采集
# 输入采购需求,自动采集供应商信息并生成比价分析
apiVersion: zclaw/v1
kind: Pipeline
metadata:
name: supply-chain-collect
displayName: 供应链信息采集
category: design
industry: design-shantou
description: 输入采购需求,自动采集和整理供应商信息,生成比价分析和采购建议
tags:
- 汕头
- 供应链
- 采购
- 比价
icon: 🏭
author: ZCLAW
version: 1.0.0
spec:
inputs:
- name: material_type
type: select
required: true
label: 采购类别
options:
- 塑料原料(ABS/PP/PE)
- 电子元件
- 五金配件
- 包装材料
- 面料
- 辅料(拉链/纽扣/魔术贴)
- 模具加工
- 印刷服务
- 其他
- name: specifications
type: text
required: true
label: 规格要求
placeholder: |
描述所需材料的详细规格,例如:
- ABS塑料注塑级白色需通过EN71认证
- 或230T涤纶面料幅宽150cm防水处理
- name: quantity
type: string
required: false
label: 采购量
placeholder: 例如500kg/月 或 10000件
- name: quality_requirements
type: multi-select
required: false
label: 质量要求
default:
- ISO认证
options:
- ISO认证
- 环保认证
- 出口认证(EN71/ASTM)
- 食品级
- 阻燃要求
- 无特殊要求
- name: preferred_region
type: select
required: false
label: 供应商地域
default: 不限
options:
- 汕头本地
- 广东省内
- 长三角
- 不限
steps:
# Step 1: 需求解析
- id: parse_requirements
description: 解析采购需求为结构化规格
action:
type: llm_generate
template: |
解析以下采购需求:
采购类别: {{material_type}}
规格要求:
```
{{specifications}}
```
采购量: {{quantity}}
质量要求: {{quality_requirements}}
请生成 JSON 格式:
{
"material_category": "材料大类",
"detailed_specs": [
{"spec_name": "规格项", "spec_value": "要求值", "tolerance": "容差"}
],
"quality_standards": ["标准1", "标准2"],
"estimated_monthly_volume": "月采购量估计",
"critical_parameters": ["关键参数1", "关键参数2"],
"substitute_acceptable": "是否接受替代品"
}
input:
material_type: ${inputs.material_type}
specifications: ${inputs.specifications}
quantity: ${inputs.quantity}
quality_requirements: ${inputs.quality_requirements}
json_mode: true
temperature: 0.3
max_tokens: 2000
# Step 2: 供应商画像
- id: supplier_profiling
description: 生成理想供应商画像和市场概况
action:
type: llm_generate
template: |
为以下采购需求生成理想供应商画像:
需求规格: ${steps.parse_requirements.output}
地域偏好: {{preferred_region}}
请生成 JSON 格式:
{
"ideal_supplier_profile": {
"company_type": "工厂/贸易公司/均可",
"min_years_in_business": 3,
"production_capacity": "产能要求",
"certifications_required": ["必需认证1"],
"preferred_location": "优先地区",
"moq": "起订量要求"
},
"market_overview": {
"supplier_density": "供应商密度(丰富/一般/稀缺)",
"price_range": "市场价格区间估计",
"lead_time_range": "交货周期范围",
"market_trends": "市场趋势"
},
"potential_sources": [
{"source": "渠道", "description": "说明", "reliability": "可靠性"}
]
}
input:
requirements: ${steps.parse_requirements.output}
preferred_region: ${inputs.preferred_region}
json_mode: true
temperature: 0.5
max_tokens: 2500
# Step 3: 评估标准制定
- id: evaluation_criteria
description: 制定供应商评估标准
action:
type: llm_generate
template: |
为以下采购需求制定供应商评估标准:
需求规格: ${steps.parse_requirements.output}
供应商画像: ${steps.supplier_profiling.output}
请生成 JSON 格式:
{
"evaluation_dimensions": [
{
"dimension": "价格竞争力",
"weight": 30,
"scoring_criteria": "评分标准",
"data_needed": "需要收集的数据"
},
{
"dimension": "质量保证",
"weight": 30,
"scoring_criteria": "",
"data_needed": ""
},
{
"dimension": "交货能力",
"weight": 20,
"scoring_criteria": "",
"data_needed": ""
},
{
"dimension": "服务响应",
"weight": 10,
"scoring_criteria": "",
"data_needed": ""
},
{
"dimension": "资质认证",
"weight": 10,
"scoring_criteria": "",
"data_needed": ""
}
],
"must_have_requirements": ["必要条件1", "必要条件2"],
"nice_to_have": ["加分项1"],
"red_flags": ["风险信号1", "风险信号2"]
}
input:
requirements: ${steps.parse_requirements.output}
supplier_profile: ${steps.supplier_profiling.output}
json_mode: true
temperature: 0.4
max_tokens: 2000
# Step 4: 生成采购报告
- id: generate_report
description: 生成供应链信息采集报告
action:
type: llm_generate
template: |
生成供应链信息采集报告:
采购需求: ${steps.parse_requirements.output}
供应商画像: ${steps.supplier_profiling.output}
评估标准: ${steps.evaluation_criteria.output}
请生成 JSON 格式报告:
{
"title": "供应链信息采集报告",
"executive_summary": "200字摘要",
"specification_summary": "规格摘要",
"market_intelligence": "市场情报摘要",
"evaluation_framework": "评估框架摘要",
"next_steps": [
{"step": "下一步行动", "timeline": "时间线", "owner": "负责人"}
],
"preview_text": "300字报告预览"
}
input:
requirements: ${steps.parse_requirements.output}
suppliers: ${steps.supplier_profiling.output}
criteria: ${steps.evaluation_criteria.output}
json_mode: true
temperature: 0.5
max_tokens: 2000
outputs:
requirements: ${steps.parse_requirements.output}
supplier_profile: ${steps.supplier_profiling.output}
evaluation_criteria: ${steps.evaluation_criteria.output}
report: ${steps.generate_report.output}
on_error: stop
timeout_secs: 240

View File

@@ -0,0 +1,248 @@
# ZCLAW Pipeline - 设计趋势到方案
# 输入产品类别,自动采集趋势、匹配素材、生成设计方案
apiVersion: zclaw/v1
kind: Pipeline
metadata:
name: trend-to-design
displayName: 趋势→素材→方案
category: design
industry: design-shantou
description: 输入产品类别(玩具/服装/工艺品),自动采集市场趋势、匹配设计素材、生成初步设计方案
tags:
- 汕头
- 设计
- 趋势分析
- 玩具
- 服装
icon: 🎨
author: ZCLAW
version: 1.0.0
spec:
inputs:
- name: product_category
type: select
required: true
label: 产品类别
options:
- 益智玩具
- 遥控玩具
- 毛绒玩具
- 女童服装
- 男童服装
- 内衣
- 工艺品
- 文创产品
- name: target_market
type: select
required: false
label: 目标市场
default: 北美
options:
- 北美
- 欧洲
- 东南亚
- 中东
- 日韩
- 国内
- name: season
type: select
required: false
label: 季节/节日
default: 全年
options:
- 春季
- 夏季
- 秋季
- 冬季
- 圣诞节
- 万圣节
- 春节
- 全年
- name: style_preference
type: multi-select
required: false
label: 风格偏好
default:
- 现代简约
options:
- 现代简约
- 可爱卡通
- 科技未来
- 复古怀旧
- 自然生态
- 国潮
- name: budget_range
type: string
required: false
label: 预算范围
placeholder: 例如:单品成本 5-15 元
steps:
# Step 1: 市场趋势采集
- id: collect_trends
description: 采集目标市场和产品类别的市场趋势
action:
type: llm_generate
template: |
分析以下产品类别在目标市场的最新趋势:
产品类别: {{product_category}}
目标市场: {{target_market}}
季节/节日: {{season}}
请生成 JSON 格式趋势报告:
{
"market_overview": {
"market_size": "市场规模估计",
"growth_rate": "增长率",
"key_drivers": ["驱动因素1", "驱动因素2"]
},
"design_trends": [
{
"trend": "趋势名称",
"description": "趋势描述",
"popularity": "高/中/低",
"examples": ["代表产品/品牌1"]
}
],
"color_trends": ["流行色1", "流行色2", "流行色3"],
"material_trends": ["材质趋势1", "材质趋势2"],
"consumer_preferences": ["消费者偏好1", "消费者偏好2"],
"regulatory_notes": ["法规/安全标准1"]
}
input:
product_category: ${inputs.product_category}
target_market: ${inputs.target_market}
season: ${inputs.season}
json_mode: true
temperature: 0.6
max_tokens: 3000
# Step 2: 设计方向筛选
- id: design_direction
description: 基于趋势和偏好筛选设计方向
action:
type: llm_generate
template: |
基于市场趋势,筛选适合的设计方向:
产品类别: ${inputs.product_category}
目标市场: ${inputs.target_market}
风格偏好: {{style_preference}}
预算: {{budget_range}}
市场趋势: ${steps.collect_trends.output}
请生成 JSON 格式:
{
"recommended_directions": [
{
"direction": "设计方向",
"rationale": "推荐理由",
"target_age": "目标年龄",
"price_point": "建议定价",
"feasibility": "可行性评估",
"differentiation": "差异化亮点"
}
],
"color_palettes": [
{"name": "配色方案名", "colors": ["#颜色1", "#颜色2", "#颜色3"], "mood": "风格描述"}
],
"material_suggestions": ["材质建议1"],
"packaging_ideas": ["包装创意1"]
}
input:
product_category: ${inputs.product_category}
target_market: ${inputs.target_market}
style_preference: ${inputs.style_preference}
budget_range: ${inputs.budget_range}
trends: ${steps.collect_trends.output}
json_mode: true
temperature: 0.7
max_tokens: 3000
# Step 3: 设计方案生成
- id: generate_design
description: 生成具体设计方案
action:
type: llm_generate
template: |
基于筛选的设计方向,生成具体设计方案:
产品类别: ${inputs.product_category}
设计方向: ${steps.design_direction.output.recommended_directions}
配色: ${steps.design_direction.output.color_palettes}
请生成 JSON 格式方案:
{
"design_proposals": [
{
"name": "方案名称",
"concept": "设计理念",
"features": ["特征1", "特征2", "特征3"],
"color_scheme": "配色描述",
"dimensions": "建议尺寸",
"materials": "建议材质",
"key_selling_points": ["卖点1", "卖点2"],
"production_notes": "生产注意事项",
"estimated_cost": "成本估计"
}
]
}
input:
product_category: ${inputs.product_category}
directions: ${steps.design_direction.output}
budget_range: ${inputs.budget_range}
json_mode: true
temperature: 0.8
max_tokens: 3000
# Step 4: 方案评估
- id: evaluate_designs
description: 评估设计方案的竞争力和可行性
action:
type: llm_generate
template: |
评估以下设计方案:
市场趋势: ${steps.collect_trends.output}
设计方案: ${steps.generate_design.output}
请生成 JSON 格式评估:
{
"evaluations": [
{
"proposal_name": "方案名",
"market_fit": "市场契合度(高/中/低)",
"feasibility": "生产可行性(高/中/低)",
"uniqueness": "独特性(高/中/低)",
"cost_efficiency": "性价比(高/中/低)",
"overall_score": 85,
"strengths": ["优势1"],
"weaknesses": ["不足1"],
"improvement_suggestions": ["改进建议1"]
}
],
"recommendation": "综合推荐",
"next_steps": ["下一步1", "下一步2"]
}
input:
trends: ${steps.collect_trends.output}
designs: ${steps.generate_design.output}
json_mode: true
temperature: 0.5
max_tokens: 2500
outputs:
trends: ${steps.collect_trends.output}
directions: ${steps.design_direction.output}
designs: ${steps.generate_design.output}
evaluation: ${steps.evaluate_designs.output}
on_error: stop
timeout_secs: 300