跳到正文
Skillpedia
通用编程53k · #3386

code-mate-qwen-code

它能做什么

这个 AI 智能体可以帮你分析代码,并完成各种编程任务。它使用名为 Qwen Code 的工具来理解你的项目并处理其中的内容。

适用场景

  • ✓当你希望 AI 分析你的代码时。
  • ✓当你需要 AI 完成某项编程任务时。
  • ✓当你想获得基于 Qwen 的智能体的运行结果时。

技能链接

https://github.com/CherryHQ/cherry-studio/blob/main/resources/code-cli-skills/code-mate-qwen-code/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/CherryHQ/cherry-studio/blob/main/resources/code-cli-skills/code-mate-qwen-code/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“分析这个项目,告诉我主要存在哪些问题。”

每周 5 个新技能,1 分钟读完。

工作原理

它会先设置你的项目所在位置,检查 Qwen Code 工具是否已安装,然后运行 Qwen Code 的命令来分析你的代码并返回结果。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Qwen Code

Run

  1. Set the Bash working directory to the exact project the user named and set a finite timeout, normally 10 minutes.
  2. Check availability with command -v qwen. If it is missing, stop and ask the user to install Qwen Code in Code Mate.
  3. Run one task and exit:
qwen -p "<prompt>" --output-format json

Pass the prompt as one quoted argument. Parse the JSON result and treat a structured error or nonzero exit as failure. Never start the interactive UI or OAuth flow from the agent task.

Authentication And Permissions

If Qwen reports missing login, API key, model, or provider configuration, stop and ask the user to configure Qwen Code in Code Mate. Never request, read, print, or copy credentials.

Use the default restricted approval behavior for analysis. Add bounded turn or tool-call limits for large tasks. Only allow modification tools when the user explicitly requests workspace changes, and never use --yolo: it grants approval without providing a sandbox.

Example: ask Qwen to identify the cause of a failing test without editing, run the command above, then summarize the parsed result within the chosen timeout.

常见问题

如果没有安装 Qwen Code 会怎样?

智能体会请你在 Code Mate 中安装 Qwen Code。

如果 Qwen Code 需要登录或配置会怎样?

智能体会请你在 Code Mate 中完成 Qwen Code 的配置。

智能体能修改我的代码吗?

只有在你明确提出要求时才会修改,而且会非常谨慎,因为这一步需要一个安全的运行环境。

详情

作者的原始描述

Runs Qwen Code headlessly for repository analysis and coding tasks. Use when the user asks to delegate work to Qwen Code or obtain a Qwen-based coding-agent result.

repo: CherryHQ/cherry-studio

热度

GitHub 星标
53k
排名
#3386
许可证
AGPL-3.0
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能