Install
openclaw skills install china-ecommerce-copywriter中国电商文案生成器。Use when user needs to create product titles, descriptions, promotional copy for Taobao, JD, Pinduoduo. Supports product listing, marketing copy, c...
openclaw skills install china-ecommerce-copywriter生成淘宝、京东、拼多多商品文案。
本工具生成的文案仅供参考。 不同AI模型能力不同,文案质量可能有差异。 重要营销文案请人工审核。 文案需符合平台规则和广告法。
| 类型 | 示例 |
|---|---|
| 商品标题 | 淘宝/京东/拼多多商品标题 |
| 商品描述 | 详情页文案、卖点提炼 |
| 促销文案 | 618、双11、日常促销 |
| 卖点提炼 | FAB法则、USP提炼 |
| 评价回复 | 好评/差评回复模板 |
User: "帮我写一个蓝牙耳机的淘宝标题"
Agent: 生成SEO优化的商品标题
User: "帮我写一个洗面奶的详情页文案"
Agent: 生成完整的商品描述
User: "帮我写双11促销文案"
Agent: 生成促销活动文案
class EcommerceCopywriter:
def __init__(self):
self.platforms = {
'taobao': {'max_length': 60, 'style': 'formal'},
'jd': {'max_length': 45, 'style': 'technical'},
'pdd': {'max_length': 60, 'style': 'casual'}
}
def generate_title(self, product, features, platform='taobao'):
"""生成商品标题"""
platform_config = self.platforms.get(platform, self.platforms['taobao'])
max_length = platform_config['max_length']
# 标题模板
templates = {
'taobao': '{brand} {product} {features} {specs}',
'jd': '{brand} {model} {features}',
'pdd': '{product} {features} {deal}'
}
template = templates.get(platform, templates['taobao'])
title = template.format(
brand=product.get('brand', ''),
product=product.get('name', ''),
features=' '.join(features[:3]),
specs=product.get('specs', ''),
model=product.get('model', ''),
deal=product.get('deal', '')
)
return title[:max_length]
def generate_description(self, product, selling_points, platform='taobao'):
"""生成商品描述"""
desc = []
desc.append(f"# {product.get('name', 'Product')}")
desc.append("")
desc.append("## 产品亮点")
for i, point in enumerate(selling_points, 1):
desc.append(f"**{i}. {point['title']}**")
desc.append(f" {point['description']}")
desc.append("")
desc.append("## 产品参数")
for key, value in product.get('specs', {}).items():
desc.append(f"- {key}: {value}")
return '\n'.join(desc)
def generate_promotion(self, event, products, platform='taobao'):
"""生成促销文案"""
templates = {
'618': '618大促 | {discount} | 限时抢购',
'double11': '双11狂欢 | {discount} | 全年最低',
'daily': '限时特惠 | {discount} | 手慢无'
}
template = templates.get(event, templates['daily'])
promo = template.format(
discount=products.get('discount', '优惠进行中')
)
return promo
# 使用示例
writer = EcommerceCopywriter()
# 生成标题
title = writer.generate_title(
{'brand': '华为', 'name': '蓝牙耳机', 'specs': '降噪续航'},
['主动降噪', '40小时续航', '高清音质'],
platform='taobao'
)
# 生成描述
desc = writer.generate_description(
{'name': '华为蓝牙耳机'},
[
{'title': '主动降噪', 'description': '采用ANC主动降噪技术'},
{'title': '超长续航', 'description': '40小时续航,充电10分钟听歌3小时'}
]
)