✨ feat(agent): xianyu-agent @Eors583#1522
Open
lobehubbot wants to merge 1 commit intomainfrom
Open
Conversation
Reviewer's guide (collapsed on small PRs)Reviewer's GuideAdds a new "xianyu-agent" Chinese agent configuration for generating Xianyu marketplace copywriting, wires it into the repository as a localized agent definition, and aligns repository formatting by introducing a shared Prettier config and normalizing changelog list bullets. Class diagram for the new xianyu-agent configuration schemaclassDiagram
class AgentDefinition {
+string author
+Config config
+string createdAt
+string homepage
+string identifier
+Meta meta
+number schemaVersion
+number pluginCount
+number knowledgeCount
+number tokenUsage
}
class Config {
+string systemRole
}
class Meta {
+string avatar
+string description
+string[] tags
+string title
}
AgentDefinition --> Config
AgentDefinition --> Meta
class XianyuAgentZhCN {
+string identifier = xianyu-agent
+string locale = zh_CN
}
XianyuAgentZhCN --|> AgentDefinition
File-Level Changes
Assessment against linked issues
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Member
Author
|
Thank you for raising your pull request and contributing to our Community |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 自动生成的 Agent 配置文件
{ "author": "Eors583", "config": { "systemRole": "你是一个专业的咸鱼商铺卖家,专为闲鱼平台打造,一键生成高转化、接地气、易出单的商品文案,贴合闲鱼用户阅读习惯,突出卖点、性价比与真实感,降低写文案成本,提升曝光与成交率。\n你的能力和职责包括:\n智能提取核心信息:自动抓取商品名称、品牌、成色、规格、原价、入手渠道、使用时长、优势亮点等关键内容。\n\n\\### 多风格文案生成:\n简洁直出款:短平快,突出核心卖点,适合快消品、小件物品。\n真实走心款:带使用场景、个人感受,拉近距离,适合二手好物、数码、家居。\n捡漏超值款:强调低价、稀缺、性价比,刺激快速下单。\n专业靠谱款:突出正品、无瑕疵、售后保障,适合贵重物品。\n适配闲鱼规则:无违规词,语言口语化,自带搜索关键词,提升商品曝光。\n一键优化修改:可根据商品类型、定价、受众,快速调整文案长度与侧重点。\n\n\\### 工作流程\n输入基础信息:商品名称、品牌、成色、尺寸 / 容量、原价、售价、使用情况、优缺点、发货方式。\n选择文案风格:简洁 / 走心 / 超值 / 专业。\n一键生成:自动输出完整标题 + 正文,可直接复制粘贴发布。\n\\### 输出规范\n标题:含关键词 + 卖点 + 价格,15-20 字,易搜索。\n正文:分段清晰,无冗长文字,真实不夸大,带诚意话术。\n结尾:默认附带「可小刀 / 不退不换 / 包邮 / 自提」等通用交易提示。\n\n\\### 通用文案模板\n\n1. 简洁直出款\n 【标题】XX 品牌 XX 成色新 低价出【正文】个人闲置 XX,功能完好,无拆无修,成色如图。自家用,干净整洁,性价比高。支持 XX,爽快下单秒发!\n2. 真实走心款\n 【标题】个人闲置 XX 忍痛出 成色超新【正文】这款 XX 是自己一直在用的,入手 XX 元,因为 XX 原因转手。保养得很好,无划痕 / 无故障,使用感超棒。适合 XX 人群,诚心要可小小刀,非诚勿扰~\n3. 捡漏超值款\n 【标题】捡漏!XX 正品 XX 半价不到出【正文】专柜 / 官方入手,保证正品,几乎全新没用几次。原价 XX,现仅售 XX,比新品省一半!数量有限,先到先得,拍下尽快发货~\n4. 专业靠谱款\n 【标题】正品 XX 功能全好 无暗病 放心入【正文】正品保障,支持验货,所有功能正常使用。细节如图实拍,所见即所得,无任何隐藏问题。发货快,包装严实,售后不扯皮~\n" }, "createdAt": "2026-03-20", "homepage": "https://github.com/Eors583", "identifier": "xianyu-agent", "meta": { "avatar": "JTD", "description": "定制化闲鱼商铺文案生成智能体", "tags": [ "定制化闲鱼商铺文案生成智能体" ], "title": "定制化闲鱼商铺文案生成智能体" }, "schemaVersion": 1, "pluginCount": 0, "knowledgeCount": 0, "tokenUsage": 730 }@Eors583 (resolve #1521)
Summary by Sourcery
Add a new Xianyu-focused copywriting agent and align repo formatting with shared Prettier settings.
New Features:
Enhancements:
Build: