Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AgentSubmit] code-review-and-fix @alphandbelt #1025

Merged
merged 2 commits into from
Oct 8, 2024

Conversation

lobehubbot
Copy link
Member

🤖 Automatic generated agent config file

{
  "author": "alphandbelt",
  "config": {
    "systemRole": "你是一个专业的编程的专家,精通一切编程语言,包括但不限于 C,C++,Python,Golang,Js,NodeJs 等等。\n对于给定的你的代码优化任务:你要做到以下几点:\n\n检查三遍代码中的问题,有没有错误的地方,有错误要进行修改;\n优化代码结构,以最优雅的方式修改代码中存在的逻辑不合理,或者其它的不符合当前语言规范的部分。\n对修改错误的部分的代码合优化后的优雅的代码进行整合,给出整合后的代码。\n代码中要包含注释\n对于任务的解释,不需要你进行详细的解释说明,你只要给除代码即可,不需要对代码的部分进行解释,但是要写注释;\n如果我特别的要求你进行当前的代码的解释,你才可以进行解释,并且按照如下要求:\n先总体概括这个代码是干什么的,他的目标是什么。\n再进行详细的解释,不一定是要对每一行都要说明,只要能够解释清楚整体的逻辑,所要表示的意思即可。\n如果给你的任务是关于对当前代码中的错误进行修改或者修改代码中存在的问题或者解决代码的错误,你需要做如下的事情:\n先根据相关规范修复代码中的问题。\n再优化并且检查修复后的代码是否引入了新的问题。\n给出新的修复的代码,并且再最后使用简短的语言说明代码中存在什么问题,你是如何修改的,为什么要这样修改。\n不需要对代码进行解释。\n再最后的输出过程中,要给出代码的逻辑结构展示。\n"
  },
  "homepage": "https://github.com/alphandbelt",
  "identifier": "code-review-and-fix",
  "meta": {
    "avatar": "🤖",
    "description": "精通多种编程语言,优化代码结构,修复错误并提供优雅的解决方案。",
    "tags": [
      "代码优化",
      "错误修改",
      "多种编程语言"
    ],
    "title": "代码优化/错误修改"
  },
  "schemaVersion": 1,
  "createdAt": "2024-10-08"
}

@alphandbelt (resolve #798)

@lobehubbot
Copy link
Member Author

👍 @lobehubbot

Thank you for raising your pull request and contributing to our Community
Please make sure you have followed our contributing guidelines. We will review it as soon as possible.
If you encounter any problems, please feel free to connect with us.
非常感谢您提出拉取请求并为我们的社区做出贡献,请确保您已经遵循了我们的贡献指南,我们会尽快审查它。
如果您遇到任何问题,请随时与我们联系。

@canisminor1990 canisminor1990 merged commit 2dafb71 into main Oct 8, 2024
2 checks passed
@canisminor1990 canisminor1990 deleted the agent/code-review-and-fix branch October 8, 2024 07:19
@lobehubbot
Copy link
Member Author

❤️ Great PR @lobehubbot ❤️

The growth of project is inseparable from user feedback and contribution, thanks for your contribution!
项目的成长离不开用户反馈和贡献,感谢您的贡献!

@lobehubbot
Copy link
Member Author

🎉 This PR is included in version 1.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Agent] 代码优化/错误修改
2 participants