Skip to content

Commit

Permalink
[AgentSubmit] commit-assistant @cyicz123 (#855)
Browse files Browse the repository at this point in the history
* 🤖 chore(auto-submit): Add commit-assistant (#854)

* 🤖 chore(auto-submit): Generate i18n for commit-assistant (#854)
  • Loading branch information
lobehubbot authored Aug 21, 2024
1 parent db10110 commit 90b205c
Show file tree
Hide file tree
Showing 315 changed files with 705 additions and 1,968 deletions.
10 changes: 10 additions & 0 deletions locales/commit-assistant.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"config": {
"systemRole": "Suggest a precise and informative commit message based on the following diff. Use markdown syntax in your response if needed.\n\nThe commit message should follow the Angular commit message format:\n\n <type>(<scope>): <short summary>\n <BLANK LINE>\n <body>\n <BLANK LINE>\n <footer>\n\nWhere:\n\n* `<type>` is one of: build, chore, ci, docs, feat, fix, perf, refactor, revert, style, test\n* `<scope>` is optional and represents the module affected (e.g., core, common, forms)\n* `<short summary>` starts with lowercase, doesn't end with a period, and is limited to 50 characters\n* `<body>` is optional, uses present tense, and wraps at 72 characters\n* `<footer>` is optional and contains any breaking changes or closed issues\n\nExamples:\n\n* `fix(auth): handle 403 forbidden error cases`\n* `feat(ai): implement commit message generation from diffs`\n\nFor multi-line commit messages:\n\n feat(user-profile): add ability to update user avatar\n\n Implement a new feature allowing users to upload and update their profile avatar.\n This change includes:\n - New API endpoint for avatar upload\n - Frontend UI updates in the profile section\n - Image processing to resize and optimize uploaded avatars\n\n Closes #123\n\nIf necessary, include an explanatory body and/or footer to provide more context about the changes, their rationale, and any significant impacts or considerations.\n\nDiff:\n"
},
"meta": {
"title": "Commit Message Generator",
"description": "Expert at generating precise Git commit messages",
"tags": ["programming", "git", "commit message", "code review"]
}
}
68 changes: 67 additions & 1 deletion schema/lobeAgentSchema_v1.json
Original file line number Diff line number Diff line change
@@ -1 +1,67 @@
{"type":"object","properties":{"author":{"type":"string"},"config":{"type":"object","properties":{"compressThreshold":{"type":"number"},"displayMode":{"type":"string","enum":["chat","docs"]},"enableCompressThreshold":{"type":"boolean"},"enableHistoryCount":{"type":"boolean"},"enableMaxTokens":{"type":"boolean"},"fewShots":{"type":"array","items":{"type":"object","properties":{"content":{"type":"string"},"role":{"type":"string","enum":["user","system","assistant","function"]}},"required":["content","role"],"additionalProperties":false}},"historyCount":{"type":"number"},"inputTemplate":{"type":"string"},"model":{"type":"string","default":"gpt-3.5-turbo"},"params":{"type":"object","properties":{"frequency_penalty":{"type":"number","default":0},"max_tokens":{"type":"number"},"presence_penalty":{"type":"number","default":0},"temperature":{"type":"number","default":0},"top_p":{"type":"number","default":1}},"additionalProperties":false},"plugins":{"type":"array","items":{"type":"string"}},"systemRole":{"type":"string"}},"required":["systemRole"],"additionalProperties":false},"createAt":{"type":"string"},"examples":{"$ref":"#/properties/config/properties/fewShots"},"homepage":{"type":"string"},"identifier":{"type":"string"},"meta":{"type":"object","properties":{"avatar":{"type":"string"},"backgroundColor":{"type":"string"},"category":{"type":"string"},"description":{"type":"string"},"tags":{"type":"array","items":{"type":"string"}},"title":{"type":"string"}},"required":["avatar","description","tags","title"],"additionalProperties":false},"schemaVersion":{"type":"number"}},"required":["author","config","createAt","homepage","identifier","meta","schemaVersion"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"author": { "type": "string" },
"config": {
"type": "object",
"properties": {
"compressThreshold": { "type": "number" },
"displayMode": { "type": "string", "enum": ["chat", "docs"] },
"enableCompressThreshold": { "type": "boolean" },
"enableHistoryCount": { "type": "boolean" },
"enableMaxTokens": { "type": "boolean" },
"fewShots": {
"type": "array",
"items": {
"type": "object",
"properties": {
"content": { "type": "string" },
"role": { "type": "string", "enum": ["user", "system", "assistant", "function"] }
},
"required": ["content", "role"],
"additionalProperties": false
}
},
"historyCount": { "type": "number" },
"inputTemplate": { "type": "string" },
"model": { "type": "string", "default": "gpt-3.5-turbo" },
"params": {
"type": "object",
"properties": {
"frequency_penalty": { "type": "number", "default": 0 },
"max_tokens": { "type": "number" },
"presence_penalty": { "type": "number", "default": 0 },
"temperature": { "type": "number", "default": 0 },
"top_p": { "type": "number", "default": 1 }
},
"additionalProperties": false
},
"plugins": { "type": "array", "items": { "type": "string" } },
"systemRole": { "type": "string" }
},
"required": ["systemRole"],
"additionalProperties": false
},
"createAt": { "type": "string" },
"examples": { "$ref": "#/properties/config/properties/fewShots" },
"homepage": { "type": "string" },
"identifier": { "type": "string" },
"meta": {
"type": "object",
"properties": {
"avatar": { "type": "string" },
"backgroundColor": { "type": "string" },
"category": { "type": "string" },
"description": { "type": "string" },
"tags": { "type": "array", "items": { "type": "string" } },
"title": { "type": "string" }
},
"required": ["avatar", "description", "tags", "title"],
"additionalProperties": false
},
"schemaVersion": { "type": "number" }
},
"required": ["author", "config", "createAt", "homepage", "identifier", "meta", "schemaVersion"],
"type": "object"
}
2 changes: 1 addition & 1 deletion src/9-somboon.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@
"category": "design"
},
"schemaVersion": 1
}
}
8 changes: 2 additions & 6 deletions src/academic-editor-en.zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,9 @@
"meta": {
"avatar": "😶‍🌫️",
"description": "擅长自然学术编辑,协助作者回复审稿人意见,科学、礼貌、逐点回应。",
"tags": [
"学术编辑",
"审稿意见回复",
"科学写作"
],
"tags": ["学术编辑", "审稿意见回复", "科学写作"],
"title": "审稿回复专家",
"category": "academic"
},
"schemaVersion": 1
}
}
8 changes: 2 additions & 6 deletions src/academic-paragraph-refiner.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,9 @@
"meta": {
"avatar": "📝",
"description": "Highly skilled in advanced research proofreading and language editing, specializing in multiple research fields and proficient in academic English.",
"tags": [
"proofreading",
"writing",
"research"
],
"tags": ["proofreading", "writing", "research"],
"title": "Academic Proofreading Expert",
"category": "academic"
},
"schemaVersion": 1
}
}
11 changes: 2 additions & 9 deletions src/academic-writing-eb.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,9 @@
"meta": {
"avatar": "📇",
"description": "Academic English spelling and rhetoric refinement.",
"tags": [
"proofreading",
"rhetoric",
"academic",
"research",
"english",
"editing"
],
"tags": ["proofreading", "rhetoric", "academic", "research", "english", "editing"],
"title": "Academic Writing Enhancement Bot",
"category": "academic"
},
"schemaVersion": 1
}
}
9 changes: 2 additions & 7 deletions src/accounting.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,9 @@
"meta": {
"avatar": "💼",
"description": "Accountant Agent: Comprehensive accounting support and expertise for individuals and businesses worldwide.",
"tags": [
"accounting",
"financial-management",
"tax-planning",
"budgeting"
],
"tags": ["accounting", "financial-management", "tax-planning", "budgeting"],
"title": "Accounting Expert Assistant",
"category": "career"
},
"schemaVersion": 1
}
}
2 changes: 1 addition & 1 deletion src/ae-script-development.zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@
"category": "programming"
},
"schemaVersion": 1
}
}
7 changes: 2 additions & 5 deletions src/agent-prompt-improver.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,9 @@
"meta": {
"title": "Agent Prompt Improver",
"description": "GPT Agent Prompt optimization specialist. Clear, precise, and concise",
"tags": [
"agent",
"prompt"
],
"tags": ["agent", "prompt"],
"avatar": "🧑‍⚕️",
"category": "copywriting"
},
"schemaVersion": 1
}
}
9 changes: 2 additions & 7 deletions src/ai-0x0-old-friends.zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,9 @@
"meta": {
"avatar": "🤷‍♂️",
"description": "可以跟我谈论一切,我可以给你作为老友的一些想法和建议,放轻松",
"tags": [
"友情",
"幽默",
"真实",
"模拟"
],
"tags": ["友情", "幽默", "真实", "模拟"],
"title": "真实的老友",
"category": "emotions"
},
"schemaVersion": 1
}
}
9 changes: 2 additions & 7 deletions src/amazon-listing-copywriter.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,9 @@
"meta": {
"avatar": "✍️",
"description": "Expert in writing persuasive Amazon listings with optimized keywords.",
"tags": [
"copywriting",
"amazon-product-detail-pages",
"seo",
"keywords"
],
"tags": ["copywriting", "amazon-product-detail-pages", "seo", "keywords"],
"title": "Amazon Listing Copywriter",
"category": "copywriting"
},
"schemaVersion": 1
}
}
8 changes: 2 additions & 6 deletions src/amazon-seller-support-agent.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,8 @@
"meta": {
"avatar": "💢",
"description": "AI assistant that assists Amazon sellers in responding to customer service replies, providing detailed and cogent responses towards a satisfactory resolution.",
"tags": [
"amazon",
"seller",
"writing"
],
"tags": ["amazon", "seller", "writing"],
"title": "Amazon Seller Support Agent"
},
"schemaVersion": 1
}
}
6 changes: 2 additions & 4 deletions src/amazon.zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,9 @@
"meta": {
"avatar": "https://upload.wikimedia.org/wikipedia/commons/thumb/4/4a/Amazon_icon.svg/1200px-Amazon_icon.svg.png",
"description": "Provide product keywords or product links to automatically write titles and product introductions",
"tags": [
"assistant"
],
"tags": ["assistant"],
"title": "Amazon Title Assistant",
"category": "copywriting"
},
"schemaVersion": 1
}
}
6 changes: 2 additions & 4 deletions src/aosp-development.zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,9 @@
"meta": {
"avatar": "🍬",
"description": "一位精通AOSP(Android Open Source Project)安卓的专家,对最新AOSP源代码有着深入的理解和分析能力。",
"tags": [
"aosp"
],
"tags": ["aosp"],
"title": "AOSP源码专家",
"category": "programming"
},
"schemaVersion": 1
}
}
10 changes: 2 additions & 8 deletions src/api-docs-writer.zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,9 @@
"meta": {
"title": "API 文档优化专家",
"description": "精确描述 API 的使用方法,提供示例代码,注意事项和返回值类型定义。",
"tags": [
"代码",
"软件开发",
"程序员",
"文档",
"写作"
],
"tags": ["代码", "软件开发", "程序员", "文档", "写作"],
"avatar": "📝",
"category": "copywriting"
},
"schemaVersion": 1
}
}
7 changes: 2 additions & 5 deletions src/art-toy-designer.zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,9 @@
"meta": {
"avatar": "https://thumbs2.imgbox.com/4c/db/4tG11pyy_t.png",
"description": "擅长根据用户要求设计独特迷人的手办。",
"tags": [
"设计",
"手办设计"
],
"tags": ["设计", "手办设计"],
"title": "手办设计师",
"category": "design"
},
"schemaVersion": 1
}
}
8 changes: 2 additions & 6 deletions src/augur.zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,9 @@
"meta": {
"avatar": "🔮",
"description": "擅长塔罗占卜,会对塔罗牌进行解读",
"tags": [
"塔罗占卜",
"解读",
"建议"
],
"tags": ["塔罗占卜", "解读", "建议"],
"title": "塔罗占卜师",
"category": "emotions"
},
"schemaVersion": 1
}
}
9 changes: 2 additions & 7 deletions src/awl-vocab-wizard.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,9 @@
"meta": {
"avatar": "📚",
"description": "Expert in generating vocabulary lists and MCQ tests",
"tags": [
"vocabulary",
"academic-word-list",
"language-learning",
"testing"
],
"tags": ["vocabulary", "academic-word-list", "language-learning", "testing"],
"title": "Vocabulary Wizard",
"category": "academic"
},
"schemaVersion": 1
}
}
6 changes: 2 additions & 4 deletions src/aws-guru.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,9 @@
"meta": {
"avatar": "🍌",
"description": "Agent to answer AWS questions",
"tags": [
"programming"
],
"tags": ["programming"],
"title": "AWS Guru",
"category": "programming"
},
"schemaVersion": 1
}
}
9 changes: 2 additions & 7 deletions src/bahasa-translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,9 @@
"meta": {
"avatar": "🌏",
"description": "Translates text into Bahasa or English, as needed",
"tags": [
"english",
"translation",
"writing",
"bahasa"
],
"tags": ["english", "translation", "writing", "bahasa"],
"title": "Bahasa/English Translator",
"category": "translation"
},
"schemaVersion": 1
}
}
9 changes: 2 additions & 7 deletions src/better-ux-writer.zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,9 @@
"meta": {
"title": "UX Writer",
"description": "帮你书写更好的 UX 文案",
"tags": [
"用户体验",
"设计师",
"文档",
"写作"
],
"tags": ["用户体验", "设计师", "文档", "写作"],
"avatar": "✍️",
"category": "copywriting"
},
"schemaVersion": 1
}
}
2 changes: 1 addition & 1 deletion src/bidosx-2-v-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@
"category": "marketing"
},
"schemaVersion": 1
}
}
Loading

0 comments on commit 90b205c

Please sign in to comment.