Aliyun Qwen Coder
简介
Aliyun Qwen Coder
原始描述
Use when code generation, repository understanding, or coding-agent tasks need Alibaba Cloud Model Studio Qwen Coder models (`qwen3-coder-next`, `qwen3-coder...
通过你的 Agent 添加
安装目录:aliyun-qwen-coder/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: aliyun-qwen-coder
description: Use when code generation, repository understanding, or coding-agent tasks need Alibaba Cloud Model Studio Qwen Coder models (qwen3-coder-next, qwen3-coder-plus and related coder variants).
version: 1.0.0
Category: provider
Model Studio Qwen Coder
Validation
mkdir -p output/aliyun-qwen-coder
python -m py_compile skills/ai/code/aliyun-qwen-coder/scripts/prepare_code_request.py && echo "py_compile_ok" > output/aliyun-qwen-coder/validate.txt
Pass criteria: command exits 0 and output/aliyun-qwen-coder/validate.txt is generated.
Output And Evidence
- Save prompts, repository context summaries, and normalized coding request payloads under
output/aliyun-qwen-coder/.
- Record the exact model, endpoint mode, and target language/framework for reproducibility.
output/aliyun-qwen-coder/.Use Qwen Coder for coding assistants, code review drafting, repository-level reasoning, patch planning, and tool-using software agents.
Critical model names
Use one of these exact model strings as appropriate:
qwen3-coder-nextqwen3-coder-plusqwen-coder-plusqwen2.5-coder-32b-instruct
Prerequisites
- Install SDK in a virtual environment:
python3 -m venv .venv
. .venv/bin/activate
python -m pip install dashscope
- Set
DASHSCOPE_API_KEY in your environment, or add dashscope_api_key to ~/.alibabacloud/credentials.
- Prefer the OpenAI-compatible endpoint when a client does not yet expose the latest coder models in dropdown UI.
Normalized interface (code.generate)
Request
messages (array, required)
model (string, optional): default qwen3-coder-next
repository_summary (string, optional)
files (array, optional)
language (string, optional)
tools (array, optional)
stream (bool, optional)
Response
python3 -m venv .venv
. .venv/bin/activate
python -m pip install dashscope
DASHSCOPE_API_KEY in your environment, or add dashscope_api_key to ~/.alibabacloud/credentials.Request
messages (array, required)model (string, optional): default qwen3-coder-nextrepository_summary (string, optional)files (array, optional)language (string, optional)tools (array, optional)stream (bool, optional)text(string)patch(string, optional)usage(object, optional)
Quick start
python skills/ai/code/aliyun-qwen-coder/scripts/prepare_code_request.py \
--task "Refactor request validation into a small helper and add one unit test." \
--language python
Operational guidance
- Pass only the files relevant to the requested change to reduce noise.
- Use
qwen3-coder-next for current-generation coding tasks and qwen3-coder-plus when you need a stronger but potentially costlier coder.
- For repo-scale changes, include architecture notes and expected test commands.
- Prefer deterministic prompts and pinned model IDs for benchmarking or regression comparison.
Output location
- Default output:
output/aliyun-qwen-coder/requests/
- Override base dir with
OUTPUT_DIR.
References
references/sources.md
python skills/ai/code/aliyun-qwen-coder/scripts/prepare_code_request.py \
--task "Refactor request validation into a small helper and add one unit test." \
--language python
- Pass only the files relevant to the requested change to reduce noise.
- Use
qwen3-coder-nextfor current-generation coding tasks andqwen3-coder-pluswhen you need a stronger but potentially costlier coder. - For repo-scale changes, include architecture notes and expected test commands.
- Prefer deterministic prompts and pinned model IDs for benchmarking or regression comparison.
Output location
- Default output:
output/aliyun-qwen-coder/requests/
- Override base dir with
OUTPUT_DIR.
References
references/sources.md
output/aliyun-qwen-coder/requests/OUTPUT_DIR.references/sources.md
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。