
Aliyun Qwen Coder
- 55 installs
- 396 repo stars
- Updated July 18, 2026
- cinience/alicloud-skills
Use Alibaba Cloud Model Studio Qwen Coder models for code generation, repository reasoning, patch planning, and tool-using software agents.
About
Uses Model Studio Qwen Coder models for code generation, repository-level reasoning, code-review drafting, and coding agents. A developer uses it to build coding assistants on Qwen Coder.
- qwen3-coder-next, qwen3-coder-plus and related variants
- Records model, endpoint mode, and target language for reproducibility
Aliyun Qwen Coder by the numbers
- 55 all-time installs (skills.sh)
- Ranked #6,846 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
- Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/cinience/alicloud-skills --skill aliyun-qwen-coderAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 55 |
|---|---|
| repo stars | ★ 396 |
| Last updated | July 18, 2026 |
| Repository | cinience/alicloud-skills ↗ |
What it does
Use Alibaba Cloud Model Studio Qwen Coder models for code generation, repository reasoning, patch planning, and tool-using software agents.
Files
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.txtPass 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.
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_KEYin your environment, or adddashscope_api_keyto~/.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<object>, required)model(string, optional): defaultqwen3-coder-nextrepository_summary(string, optional)files(array<string>, optional)language(string, optional)tools(array<object>, optional)stream(bool, optional)
Response
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 pythonOperational guidance
- 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
interface:
display_name: "Alibaba Cloud AI Code Qwen Coder"
short_description: "Coding and repository reasoning with Qwen Coder models"
default_prompt: "Use $aliyun-qwen-coder to complete this ai/code task on Alibaba Cloud."
- 代码能力(Qwen-Coder): https://help.aliyun.com/zh/model-studio/qwen-coder
- 模型上下架与更新(qwen3-coder-next): https://help.aliyun.com/zh/model-studio/newly-released-models
- 模型列表: https://help.aliyun.com/zh/model-studio/models
- Cline 接入百炼(列出 qwen3-coder-next / qwen3-coder-plus): https://help.aliyun.com/zh/model-studio/cline
#!/usr/bin/env python3
"""Prepare a normalized request for Model Studio coding models."""
from __future__ import annotations
import argparse
import json
from pathlib import Path
def main() -> None:
parser = argparse.ArgumentParser(description="Prepare code.generate request")
parser.add_argument("--task", required=True)
parser.add_argument("--model", default="qwen3-coder-next")
parser.add_argument("--language")
parser.add_argument("--repository-summary")
parser.add_argument("--file", action="append", dest="files", default=[])
parser.add_argument("--output", default="output/aliyun-qwen-coder/requests/request.json")
args = parser.parse_args()
content = args.task
if args.repository_summary:
content = f"Repository summary:\n{args.repository_summary}\n\nTask:\n{content}"
payload = {
"model": args.model,
"messages": [
{"role": "system", "content": "You are a careful coding assistant."},
{"role": "user", "content": content},
],
}
if args.language:
payload["language"] = args.language
if args.files:
payload["files"] = args.files
output = Path(args.output)
output.parent.mkdir(parents=True, exist_ok=True)
output.write_text(json.dumps(payload, ensure_ascii=False, indent=2), encoding="utf-8")
print(json.dumps({"ok": True, "request_path": str(output)}, ensure_ascii=False))
if __name__ == "__main__":
main()